[Lazarus] Editor not syntax highlighting certain unit

Martin Frb lazarus at mfriebe.de
Thu Aug 13 18:12:18 CEST 2015


On 13/08/2015 16:50, Graeme Geldenhuys wrote:
> I then have to manually select the popup menu and select Object Pascal
> as the highlighter and it works fine again. Closing the unit and opening
> it again doesn't solve the problem. It always happens with specific
> units too - I can reproduce the issue at will. Restarting Lazarus also
> makes no difference.
>
IIRC HL is chosen according to file extension .pp or .pas
Do your files have those extension?

Or maybe check in the lrs (or lri ) file of the project, if there is a 
special HL setting for the file.





More information about the Lazarus mailing list