Releases: FIameCaster/prism-code-editor
Releases · FIameCaster/prism-code-editor
Release 0.2.0
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
Capitalized tags and fragments can now be matched together in JSX.
Release 0.1.0
New features:
- Added
tokens
as a read-only property to thePrismEditor
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
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
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
Fixed missing declaration for setups (2b0eb85)
Release 0.0.3
- 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
Removed leftover console.log
Release 0.0.1
- 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
First public release