pimvdb
pimvdb

Reputation: 154898

Remove cyan highlighting in Scintilla JavaScript lexer

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.

Upvotes: 0

Views: 901

Answers (1)

Pete Kirkham
Pete Kirkham

Reputation: 49321

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

Upvotes: 1

Related Questions