- November 18, 2010 at 2:51 pm #9104
can a line comment be a regex expression.
the language i am working in uses a period as a comment but only if there is nothing before it on the line except for spaces.
StevenNovember 18, 2010 at 4:47 pm #9105
No, but you can use Highlight (1) tab of configuration properties, and check “Highlight Right Side” or “Highlight Right All” to show the similar effect.
Thank you,November 18, 2010 at 6:16 pm #9107
I have a couple regex hilighters:
Hilight an AHK label,
Hilight variables, like FOO+=, FOO:=, FOO.=
[A-Za-z0-9_#@-]+(| |t)+(+|-|.|:)=[ ]?
Now hilight the .=, :=, etc so it’s not the same colour as the variable
Hilight variables inside percent signs.
While you can’t specifically call your regex a line-comment as such, you can just choose a text color for your regex that matches what you want for the line-comment.
Hilight right side, as Yutaka indicated.November 18, 2010 at 7:28 pm #9108
Thanks Yutaka and CrashNBurn.
This has been most helpful
You must be logged in to reply to this topic.