Skip to content

Releases: KazariEX/plain-shiki

v0.0.12

11 Oct 08:01
f4325fa
Compare
Choose a tag to compare

Features

  • add defaultSelector option
  • allow passing false to defaultTheme

Bug Fixes

  • avoid index out of bounds during temporary updates
  • should not use the end index of longer lines

Please refer to CHANGELOG.md for details.

v0.0.11

10 Oct 09:02
88d1046
Compare
Choose a tag to compare

Features

  • add defaultTheme option

Performance

  • keep the grammar state of the last editing line
  • optimize continuous input

Bug Fixes

  • merge lines to diff overlapping content

Please refer to CHANGELOG.md for details.

v0.0.9

07 Oct 17:17
Compare
Choose a tag to compare

Bug Fixes

  • delete ranges instead of highlights
  • avoid deleting external stylesheet
  • avoid running dispose multiple times

Please refer to CHANGELOG.md for details.

v0.0.8

07 Oct 11:47
Compare
Choose a tag to compare

Features

  • calc edit diff for better rerendering

Bug Fixes

  • delete highlights when disposing

Please refer to CHANGELOG.md for details.

v0.0.7

05 Oct 19:03
Compare
Choose a tag to compare

Performance

  • support parsing and caching line by line based on shiki grammar state

Please refer to CHANGELOG.md for details.

v0.0.6

05 Oct 16:45
Compare
Choose a tag to compare

Performance

  • reduce the time complexity of finding node and offset
  • don't wrap update with debounce when delay is zero

Bug Fixes

  • clear ranges in advance

Please refer to CHANGELOG.md for details.

v0.0.5

03 Oct 17:46
Compare
Choose a tag to compare

Features

  • support contenteditable without plaintext-only

Please refer to CHANGELOG.md for details.