Offer Kaye
2010-06-22 14:21:23 UTC
Hi,
Does anyone know how to modify the Tcl syntax highlighting patterns so
that code like:
regexp {^\s*#} $line
Will be highlighted correctly? Currently It is highlighted as a
comment starting from the "#" character, which is wrong.
I've tried to understand the current patterns and how they work but
either I don't understand how NEdit is setup or the default Tcl
language mode is just wrong - it uses a single quote as the start/end
delimiter for single-quoted strings which as far as I know is wrong,
"{" and "}" are the correct characters for single quoted strings.
Best regards,
Does anyone know how to modify the Tcl syntax highlighting patterns so
that code like:
regexp {^\s*#} $line
Will be highlighted correctly? Currently It is highlighted as a
comment starting from the "#" character, which is wrong.
I've tried to understand the current patterns and how they work but
either I don't understand how NEdit is setup or the default Tcl
language mode is just wrong - it uses a single quote as the start/end
delimiter for single-quoted strings which as far as I know is wrong,
"{" and "}" are the correct characters for single quoted strings.
Best regards,
--
Offer Kaye
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Offer Kaye
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss