Hi. I have a suggestion for a bugfix.
In some languages (eg. C++), if you make a backslash immediately followed by a newline, you tell the compiler to ignore them both. This can lead to very subtle and annoying bugs. Eg:
//A comment here - note the backslash \
if (readyForDeletion)
delete(file);
The above will run delete(file) no matter what, because line two is technically a part of the comment on line one.
But in Notepad++ this is easy to miss because the syntax highlighting does not follow the same rules as C++
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I have a suggestion for a bugfix.
In some languages (eg. C++), if you make a backslash immediately followed by a newline, you tell the compiler to ignore them both. This can lead to very subtle and annoying bugs. Eg:
//A comment here - note the backslash \
if (readyForDeletion)
delete(file);
The above will run delete(file) no matter what, because line two is technically a part of the comment on line one.
But in Notepad++ this is easy to miss because the syntax highlighting does not follow the same rules as C++