Hi, thanks for PsPad, I discovered it 3-4 months and I love it.

I need to add a syntax highlighter, can someone help with apparently unsupported
comment syntax; could the author add it to a future version?

Specifically, in my case comments are introduced by any of the following regular
expressions:
^\s*;
;;

The first expression ^\s*; is not equivalent to BasComment=1 because when
BasComment is set to 1 a line such as

for(x=1; ;x++)

is considered a comment starting from the first semicolon - which is not what I
need - there is no comment in that line according to my syntax. My use of ^\s*;
is more restrictive than BasComment.

The second expression ;; is used just like // in C++, anything following the ;;
to the end of the line is a comment.

Thanks

-- 
<http://forum.pspad.com/read.php?2,45160,45160>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem