sql language style issue with \"
-
The built in sql language style seems to have issues parsing quoted literal string ending with a backslash, such as “C:\SQL Data\2019”.
It looks as though the trailing backslash is being interpreted as an escape character which is causes a mismatched number of slashes and the wrong text rendered as a literal (grey colour).
See lines 35,36,37 on these examples:
With trailing slashes
Without trailing slashes
-
Perhaps this is relevant to you:
-
@alan-kilborn Thank you that’s just what I was after. I did look around for a setting, just completely missed it.
-
@jimp100 said in sql language style issue with \":
I did look around for a setting, just completely missed it.
It does feel like an orphan where it is! :-)
-
@alan-kilborn said in sql language style issue with \":
It does feel like an orphan where it is!
But being adopted by the Language tab, when it’s a Language-specific option, isn’t that extraordinary.
The real issue is that more Languages should have Language-specific options (like whether JSON should accept comments or not; I think there are other Language-specific options that Scintilla offers that Notepad++ doesn’t give access to, as well), and those other options should go on the same page (with possibly shrinking the height of the Language Menu and Tab Settings columns)