Question

I have an instance of Scintilla working in .NET, but there is something in the JavaScript lexer that I'd like to remove. It is the cyan/green background when replacing something between apostrophies. I think this image shows it clearly enough:

click here, I'm new so I cannot post the image here

I cannot find this color anywhere in my editor's properties. Does somebody know how to remove it?

Thanks.

Was it helpful?

Solution

The JavaScript highlighting is based on the C++ highlighting, so these two effect JavaScript strings for me:

# Double quoted string
style.cpp.6=$(colour.string)
# Single quoted string
style.cpp.7=$(colour.char)

There's also a style which highlights unterminated strings, which may be what you're after

# End of line where string is not closed
style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top