[Lazarus] Set the Highlighter from the source file

Mattias Gärtner nc-gaertnma at netcologne.de
Mon May 19 17:07:03 CEST 2008


Zitat von Damien Gerard <milipili at shikami.org>:

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

Or just close and open the file.


Mattias




More information about the Lazarus mailing list