help-source-highlight
[Top][All Lists]
Advanced

[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 1.5.0.2 (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?

Thanks,
-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.

cheers
        Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+





reply via email to

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