syntax highlight when using switch seems to have some issues when paired with structures or group of cases.
If switch condition is based on member property of a class or structure, then the paired end syntax coloring gets broken. See example below. The end in line 11 should be colored purple, and seems to have an issue with text token pair identification when using structures or class properties. Because of this the syntax highlighting for the rest of the code gets corrupted.
If the case condition of a switch uses grouping with braces { }, then similar matching pair right brace is not correctly identified and highlighting gets corrupted. See example below. The right brace in line 6 should be colored red.
The following is an example of a normal expected case.
syntax highlight when using switch seems to have some issues when paired with structures or group of cases.
If switch condition is based on member property of a class or structure, then the paired end syntax coloring gets broken. See example below. The end in line 11 should be colored purple, and seems to have an issue with text token pair identification when using structures or class properties. Because of this the syntax highlighting for the rest of the code gets corrupted.
If the case condition of a switch uses grouping with braces { }, then similar matching pair right brace is not correctly identified and highlighting gets corrupted. See example below. The right brace in line 6 should be colored red.
The following is an example of a normal expected case.