jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Regexp question


On Fri, 5 Jul 2002, Martin Klaiber wrote:

> Replace the rule by "{[^}]*}", otherwise multiple braces on one line
> will be highlightes as once. Like here:
> 
>   see \ref{reference1} and \ref{reference2}.
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

that's right - but also 

  dfa_define_highlight_rule("{.*}", "Qkeyword1", name);

does the trick.

Thank you for the tips. My curiosity started because of Nedit's highlighting
scheme, what a coincidence. I'm going to investigate a bit with C mode,
whose DFA scheme makes for multiline comments.

If I get lost, I'll ask again... ;-)

Ciao,
     Guido =8-)

-- 
Guido Gonzato, Ph.D. <guido . gonzato at univr . it> - Linux System Manager
Universita' di Verona (Italy), Facolta' di Scienze MM. FF. NN.
Ca' Vignal II, Strada Le Grazie 15, 37134 Verona (Italy)
Tel. +39 045 8027990; Fax +39 045 8027928 --- Timeas hominem unius libri


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]