mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 17:49:38 +01:00
e8ac314f56
This adds a --no-unicode option to disable Unicode span rendering, decouples repl highlighting from SourceSpan.highlight, and updates tests to work with the new error highlighting. It also tightly scopes source spans for statements with children. Previously, source spans for these nodes extended all the way through any whitespace that followed the node. This led to messy-looking multiline span highlights with dart-lang/source_span#25. Now, StylesheetParser.children doesn't consume trailing whitespace. Instead, we add a helper method StylesheetParser._withChildren that parses children, creates the appropriate span, and then consumes the trailing whitespace. |
||
---|---|---|
.. | ||
colon_args.dart | ||
errors.dart | ||
repl.dart | ||
source_maps.dart | ||
update.dart | ||
watch.dart |