Bug #14334 2008-08-06 14:42
tinydeveloper
C-style comments are not rendered correctly
In revision 5162, when commenting out in C-style /*...*/, the commented portion is not rendered correctly; the first brace encountered (possibly also other 'special' character) breaks the comment (i.e. what follows is rendered in normal font.
Comments are shown correctly if the file is reopened.
This bug did not exist in previous revisions.
Example: try to comment out the following snippet. Comment stops at "{"
if ( (bpit = crtSet.find(obj) == crtSet.end() ) {
std::cerr << "Obj not found!" << std::endl;
exit(-1);
}
- Category
- Application::Editor
- Group
- Status
- Open
- Close date
- Assigned to
History
Follow-up:
Inserting a newline somewhere within /*...*/ corrects somehow the behaviour, although not totally: e.g. when having only the opening marker /*, the comment is not visually shown as extending to the first */ or EOF, but until the first ) or {.
Unable to replicate in SVN 6190 using block comment, stream comment or manual commenting. Appears to have been fixed.