Based on Firemonkey TMemo, which means that existing styles and livebinding works “out of the box”.

Currently supports SQL (10-15 different dialects and several visual styles), XML (multiple styles), JSON (including JSON5 dialect and several styles), YAML.

Supports pair highlighting, line numbers, status bar.

Custom stylesets, highlighters and dialects can be added by developer.

Expected to be in coming kbmFMX Pro release! No exact timeframe, but it is working well now.

Delphi 12+ FMX only!

Loading

2 thoughts on “Teaser – Syntax highlighting in Firemonkey”
    1. There will be some more blog posts. Its being worked on at the moment.
      Improvements since teaser:
      – Performance improvements on large documents (12000 lines XML tested)
      – Nested multilevel macro support with own highlighters… eg <somexmltag>[–SQL: select * from …–]</somexmltag>
      Supports any highlighter for each macro level.
      – Delphi highlighting
      – C# highlighting
      – JavaScript highlighting
      – HTML highlighting
      – CSS highlighting
      – Math expression highlighting

      Will be something of a powerhouse 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.