Syntax highlighting question

Frank Dietrich ABLEsoft at gmx.de
Wed Aug 17 16:38:20 UTC 2005


Hello Sasche,

sascha.boehme at t-online.de wrote:
> thanks fast reply. Correct me if I am wrong.
> The `\s' character is a escape for a
> white space ` ' in the syntax file.

Correctly.

> My labels begin all at the start of a line. Other
> coders might define labels in another way, it's
> matter of taste. For example:
> 
> |     :
> |     :
> |    ret
> |
> |foo_bar:
> |    mov     ecx,3
> |foo_bar_loop:
> |    lodsd
> |     :
> |     :

OK. That's my fault.

Here is an corrected entry:

context default
  keyword whole +\: brown

This highlight foo_bar in following examples:

foo foo_bar: MAIN
 foo_bar: MAIN
foo_bar: MAIN

regards
Frank
-- 
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?



More information about the mc mailing list