lazarus/examples/SynEdit/NewHighlighterTutorial
..
contexthl.pas
foldhl.pas
HighlighterTutorial.lpi
HighlighterTutorial.lpr
README.txt
simplehl.pas
SynEdit - New Highlighter Tutorial.ex-meta
unit1.lfm
unit1.pas

Example for the "Create your own SynEdit Highlighter" tutorial
(SynEdit is the editor used by the IDE)

The tutorial can be found at http://wiki.lazarus.freepascal.org/SynEdit_Highlighter

It explains the steps required to write your own highlighter from scratch.