highlight.dart
highlight.dart copied to clipboard
Cache parsing results across widget rebuilds
At the moment, the HighlightView widget parses text in the build method. This is very inefficient.
This PR implements a StatefulWidget instead, caching the parsing results across rebuilts.