Philippe Lhoste wrote:
Robert Roessler wrote:
I can confirm that the single-quoted "string" (really technically a multi-character character literal AFAIK) is not styled as such until the closing single quote is seen... however, neither is a normal [double-quoted] string.

Note that I am using the whiz-bang new feature that does the fill-to-eol while entering the literal, so this may obscure or otherwise block the "normal" styling processing?

Like Kein-Hong, I see normal behaviour, ie. unterminated literal until the quote is closed. I can't test your "fill-to-eol" setting, searching SciTEDoc with either fill or eol doesn't show this setting, perhaps it isn't official yet?
I can't even remember what it is supposed to do...

I assume this comes from the cpp.properties lines

# End of line where string is not closed
style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled

The comment means ? It seems like this style is being used for single or double quoted strings in C/C++, and it does not make any difference if you are adding an embedded string or one at the end of a line.

Maybe this is [relatively] recent and you haven't been updating your cpp.properties file? ;)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to