0
Under review

C++ string recognition bug

Jung Chul Shin 10 years ago in General updated by Alexander Blach (Developer) 10 years ago 3
C++ code like this seems to be incorrectly recognized:
cout << "hello;"
This line is recognized as cout << "hello; and ", which should be recognized as one sentence.
Under review
Do you have a screenshot? I cannot reproduce the problem.
Sorry - previous bug test case was wrong, trying this instead reproduces the bug.
out << ind << dotID() << "->" << _arg[i]->dotID() << ";" << endl;
Thanks. This seems to be a bug in the TextMate syntax definition that is used by Textastic. The same happens in TextMate 1 and 2 on the Mac.

It seems to be related to the "_arg[i]->dotID()" call. As soon as I remove the "->" part, the syntax highlighting is correct.