No, it is not possible to highlight an entire line if it does not start with a special string.
But highlighting an entire line with a color if it has a space in column 1 or 2 is possible when interpreting this line as line comment. Unfortunately the line comment, the alternate line comment and the block comment use the same color setting - the comments color. Only for alternate block comments a different color can be specified. But good is that the alternate block comment can be used as an additional line comment when not specifying an alternate block comment off string. So instead of
Line Comment = //* Line Comment Valid Columns = [1]you would need
- Code: Select all
Line Comment Num = 1 Line Comment Valid Columns = [1,2] Block Comment On Alt = //*
Note the 2 spaces between
= 1 and
Line Comment Valid.
With that definition if a space is found in column 1 or 2 of a line, the entire line will be highlighted with the comment color. And real comments are highlighted with the alternate block comments color. Of course the limitation of
//* being only valid as line comment when starting in column 1 does not exist anymore with that definition. So if
//* would exist anywhere else in the line it would be also interpreted as start of a line comment, but I guess that does not occur and therefore this is no problem.