PasTokenize

Simple Powerful Syntax Highlighter

edit

PasTokenize is a unit part of Powtils or to be used without Powtils for syntax highlighting and tokenizing pascal files.

Source Code

edit

The source is at https://github.com/z505/powtils/blob/master/dev/examples/code-pastie/hiliter/pastokenize.pas

Purpose of PasTokenize

edit

Syntax highlighting in html is shown in the source code directory.

It can be used other purposes like your own synedit/scintella editor like control with some work with GUI. It may be simpler to understand than the a bit complex synedit and scintella syntax highlighting systems. Speed would also need to be checked as pastokenize is fast and can be made faster if needed