- add
defaultSelector
option - allow passing
false
todefaultTheme
- avoid index out of bounds during temporary updates
- should not use the end index of longer lines
- add
defaultTheme
option
- keep the grammar state of the last editing line
- optimize continuous input
- merge lines to diff overlapping content
- delete ranges instead of highlights
- avoid deleting external stylesheet
- avoid running
dispose
multiple times
- calc edit diff for better rerendering
- delete highlights when disposing
- support parsing and caching line by line based on shiki grammar state
- reduce the time complexity of finding node and offset
- don't wrap
update
withdebounce
when delay is zero
- clear ranges in advance
- support
contenteditable
withoutplaintext-only
- export return type of
createPlainShiki
- should remove stylesheet when disposing
- adjust types of options
- externalize shiki instance
- implement basic highlighting function