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.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus