Bookstore

Recent

Author Topic: Token highlighter matching (eg begin-end) - src for SynEdit  (Read 3800 times)

flatdev

  • Newbie
  • Posts: 1
SynTokenMatch is an advanced token matching for SynEdit. Token matching based on higlighter tokens.

You can use SynTokenMatch to inteligment match braces (), [], {}, or even tokens like begin->end, repeat->until, try->end, record->end.
Back token matching also works. For back token matching code is scanned line by line (not all lines, only nececery)

See demo (exe and source code) for details :)

Latest version here:
http://flatdev.dotgeek.org/downloads.php?project=2

I think that it could be easly implemented in Lazarus :)

PS. In demo there isn't added all keywors for highlighting, it's only demo.