lazarus/examples/Components/NewHighlighterTutorial
..
contexthl.pas
foldhl.pas
HighlighterTutorial.lpi
HighlighterTutorial.lpr
NewHighlighterTutorial.ex-meta
README.txt
simplehl.pas
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.