Syntax highlighting question

Frank Dietrich ABLEsoft at gmx.de
Tue Aug 16 14:37:21 UTC 2005


Hi Sascha,

sascha.boehme at t-online.de wrote:
> In assembly language, labels are defined by a string and a closing
> colone. For example:
> 
> label1:
> 
> The syntax file requires a start and a stop pattern. But the start
> pattern can't be an asteric `*' nor a selection of allowed
> characters `\[abc...\]'.
> [...]
> However, is there a way to get it working?

I think this should work for you:

context default
  keyword \s*: brown

Frank
-- 




More information about the mc mailing list