Skip to content

Releases: FIameCaster/prism-code-editor

Release 0.2.0

22 Aug 19:55
6dedce8
Compare
Choose a tag to compare

New features

Added a tag's ending position, its tag name and whether it's a self-closing tag to the tag matcher.

Fixes

Removed default button border from the copy button. This default border would only be present if there was no other CSS removing the border.

Release 0.1.1

20 Aug 23:02
38fa98b
Compare
Choose a tag to compare

Capitalized tags and fragments can now be matched together in JSX.

Release 0.1.0

18 Aug 13:06
2a4d284
Compare
Choose a tag to compare

New features:

  • Added tokens as a read-only property to the PrismEditor interface
  • Added a tag matching extension
import { createTagMatcher, matchTags } from "prism-code-editor/match-tags"

Fixes:

  • Indentation guides now work properly without a monospace font

Minor changes:

--bg-indent-guide-active custom property has been removed. To color the active indentation guide, do something like this:

.guide-indents .active {
  --bg-guide-indent: #999;
}

Release 0.0.6

14 Aug 15:57
290d5e9
Compare
Choose a tag to compare

Improved searching:

  • The textarea could still steal focus from the search widget in Safari. This has been fixed
  • Fixed a typo in the search widget
  • The error message when typing an invalid regular expression can no longer overflow
  • Selection matches are now no longer highlighted while interacting with the search widget

Returning true inside key/input commands now also calls Event.stopImmediatePropagation

Release 0.0.5

11 Aug 15:17
b5d4f21
Compare
Choose a tag to compare

Improved search widget:

  • Improved logic for next/previous match buttons.
  • Fixed issue where the editor's textarea could steal the keyboard focus while interating with the search widget. This was most prevalent in Safari.
  • Fixed keyboard shortcuts for Mac.

Release 0.0.4

09 Aug 12:06
2b0eb85
Compare
Choose a tag to compare

Fixed missing declaration for setups (2b0eb85)

Release 0.0.3

08 Aug 23:00
6577c76
Compare
Choose a tag to compare
  • Brackets and quotes now self-close when the cursor is in front of a semicolon or a colon.
  • Fixed issue where multiple bracket pairs could be highlighted at the same time.

Release 0.0.2

07 Aug 23:08
2b1cb1b
Compare
Choose a tag to compare

Removed leftover console.log

Release 0.0.1

07 Aug 15:34
8e8b027
Compare
Choose a tag to compare
  • Moved getModifierCode to utils
  • Fixed issue with bottom scroll-padding sometimes being too large in Chrome
  • Replace button now always selects the next match
  • Improved whole word search

Release 0.0.0

06 Aug 00:02
b030a10
Compare
Choose a tag to compare

First public release