Robert Roessler wrote:
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?
[...]
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? ;)

Uh? I am not sure to understand. If you refer to the eolfilled property, it is about as old as Scintilla itself, not whiz-bang new (or was it irony?).

This style is to point out unfinished strings (and chars), in languages were the strings must end before the end of line: if the EOL is met before the closing quote, then it acts like a marker, a big red flag showing off the problem... And that's I see when I type a single quote: all chars after it are on reddish background, with a different font (in my setting).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to