Commit Graph

8 Commits

Author SHA1 Message Date
Antonio Scandurra
e89552ea75 Ignore mismatched tags between lines in TokenizedBufferIterator
Previously the DisplayLayer would have issues when closing tags that had
not been previously opened, requiring us to guard against mismatched
scopes at the frontier of asynchronous tokenization (see 5cfe9716 for
more information).

Now the DisplayLayer gracefully handles closing tags that had not been
opened, meaning we can eliminate this costly logic.

Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-10 17:54:14 +02:00
Antonio Scandurra
f17baf4790 Use scope ids instead of tags 2017-05-05 09:29:30 +02:00
Antonio Scandurra
a99237b33b Fix lint errors and delete dead code 2017-05-05 09:29:29 +02:00
Nathan Sobo
171e4e88ca Cache prefixed scope names 2017-05-05 09:29:28 +02:00
Antonio Scandurra
901b0b17a3 Fix failing tests 2016-10-07 13:41:00 +02:00
Antonio Scandurra
ad39693719 🎨 2016-10-07 10:40:41 +02:00
Antonio Scandurra
2d553fae12 Return scopes prepended with --syntax from TokenizedBufferIterator 2016-10-07 10:40:41 +02:00
Antonio Scandurra
853130f581 Rewrite TokenizedBufferIterator in js 2016-10-07 10:40:41 +02:00