[Lazarus] Regex and Syntax Highlighting

Mattias Gärtner nc-gaertnma at netcologne.de
Wed May 26 14:27:13 CEST 2010


Zitat von Martin Schreiber <fpmse at bluewin.ch>:

> On Wednesday 26 May 2010 12:59:39 Graeme Geldenhuys wrote:
>>
>> I tested: jEdit, gEdit, MSEide, Lazarus IDE and mcedit. Only Lazarus
>> IDE syntax highlighted the above code as one single block of commented
>> code.
>
> MSEide has another definition file (pascal2.sdef) which handles nested
> comments. The default is pascal.sdef for Delphi compatibility.

Why not choose the right highlighter automatically by parsing the mode  
directive and the compiler options?


Mattias







More information about the Lazarus mailing list