You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported here: sublimehq/sublime_text#591. Then reported directly to GitHub who referred me to Linguist. They referred to this repository.
The quote (") syntax highlighting can carry on highlighting until the end of file, skipping / ignoring an opening quote, honoring only the closing quote, given a specific Objective-C code block.
I expect for the quote character to start highlighting at an opening quote.
Seen on GitHub, currently, in their Issue Tracker.
1 Create a new Objective-C file, e.g. "foo.m"
2 Input the following code block:
- (void)foo {
NSCAssert((1), @";"); int four = 4; }
3 NOTICE the latter lines, beginning with int, are highlighted as if quoted.
Expecting the int line to not be quoted. Xcode renders this code correctly.
WORKAROUND: remove the semicolon (;) from the quoted string.
The text was updated successfully, but these errors were encountered:
The issue is in the C grammar in the #parens repository item, it does not support nesting parens. Unsure if there is a reason for this omission or if it has been left out by mistake.
Originally reported here: sublimehq/sublime_text#591. Then reported directly to GitHub who referred me to Linguist. They referred to this repository.
The quote (") syntax highlighting can carry on highlighting until the end of file, skipping / ignoring an opening quote, honoring only the closing quote, given a specific Objective-C code block.
I expect for the quote character to start highlighting at an opening quote.
Seen on GitHub, currently, in their Issue Tracker.
1 Create a new Objective-C file, e.g. "foo.m"
2 Input the following code block:
3 NOTICE the latter lines, beginning with
int
, are highlighted as if quoted.Expecting the
int
line to not be quoted. Xcode renders this code correctly.WORKAROUND: remove the semicolon (;) from the quoted string.
The text was updated successfully, but these errors were encountered: