Hi,
I'm trying to add support for line comments for the SQL scheme. So I added the following line to the sql.scheme file:
<comments line="--" streamStart="/*" streamEnd="*/" blockStart="/* " blockLine=" * " blockEnd=" */" />
(I added that in the
I can comment a single line using Ctrl-Shift-C, and un-comment (Ctrl-Shift-U) does work for a single line (without selection, so just having the cursor in that line) as well.
But when I select several lines, un-comment does not work. Comment (Ctrl-Shift-C) adds the comment characters for each line, but when I then select the commented lines and hit Ctrl-Shift-U (or Edit -> Comments -> Uncomment) nothing happens. Removing block and/or stream comments definition does not change this behaviour.
What am I missing here?
I guess something is wrong with my definition, but I cannot figure out what.
Thanks for a great tool!
Thomas
What am I missing here?
Additionally I would like to add a space after the two dashes (basically line="-- ") but I have read in another post that only two characters are supported for line comments. Although commenting a line does work using "-- " un-commenting a line does not work. Is that due to the fact that I defined