[Top][All Lists]

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

Re: [Help-source-highlight] How does source highlight work?

From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] How does source highlight work?
Date: Tue, 23 May 2006 16:03:42 +0200
User-agent: Thunderbird (X11/20060501)

Sam Edwards wrote:
I read some documentation and it looks like you define .lang files that show what a constitues a language, being a comment, system words and so forth. Is all the source highlighting done through regular expressions and text searches or is the code parsed at all?

-Sam Edwards

Hi Sam!

it's just like you said: it only uses regular expressions (no parsing) and cross references are achieved by using ctgas.

hope this answers your question.


|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        :    |
|         XKlaim language  |
| Deep Purple Cover Band |
|           |
|              |
|       |
|    |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]