Re: Syntax highlighting question



Hello Sasche,

sascha boehme 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?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]