shiki_flutter 1.1.0
shiki_flutter: ^1.1.0 copied to clipboard
A TextMate-grammar based syntax highlighter for Flutter, ported from Shiki. Tokenizes source code with real TextMate grammars and Shiki themes and renders it as styled TextSpans.
1.1.0 #
- Add
ShikiTextEditingController: a drop-inTextEditingControllerthat syntax-highlights as you type in anyTextField/TextFormField. - Add incremental re-tokenization inside
ShikiHighlighter: edits re-tokenize only from the first changed line, resuming from cached per-line grammar states and stopping as soon as states converge (internal, powers the controller).
1.0.1 #
- Improve and fix docs.
1.0.0 #
- Initial release