[Lazarus] Set the Highlighter from the source file

Damien Gerard milipili at shikami.org
Mon May 19 16:22:34 CEST 2008


Le May 19, 2008 à 3:21 PM, Mattias Gärtner a écrit :

> Zitat von Damien Gerard <milipili at shikami.org>:
>
>>
>> Le May 19, 2008 à 2:16 PM, Vincent Snijders a écrit :
>>
>>> Damien Gerard schreef:
>>>> Hi !
>>>>
>>>> Is there a way to specify a hightlighter for the source editor,  
>>>> like
>>>> vim :
>>>> # vim: ts=4 filetype=apache
>>>>
>>>> Actually I have include files (.incl, I know it is not standard)  
>>>> that
>>>> are not directly recognized as pascal source.
>>>
>>> Right click in the editor -> File settings ... -> Highlighter -> ...
>>
>>
>> I know it but I have a lot of files in the project. Consequently I
>> often open/close tabs.
>
> Right click in editor -> Editor Options -> Color -> File Extensions.


This solution is fine for my needs thanks :)
However, you have to restart Lazarus.



--
Damien Gerard
milipili at shikami.org

"Intelligence is 10 million rules."
    -- Douglas Lenat









More information about the Lazarus mailing list