3.3.1
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.3.1
). This release adds a few cool new features, and also improves keyboard shortcuts on macOS.
Highlights
🎁 Handlebars syntax highlighting
Syntax highlighting has been added for Handlebars files (#419).
🎁 Improved highlighting of imported files for C and C++
Previously, includes were rendered differently for "string.h"
style vs <system>
style includes. They are now rendered in the same fashion (#461):
🎁 Smarter string support
When the opening quote of a string is typed, the closing quote is now also inserted. The editor smartly overtypes the closing quote when appropriate, and ignores escaped quotes appropriately. This feature can be disabled by calling setInsertPairedCharacters(false)
(#473).
🎁 Smarter paren and bracket support
When typing a quote, paren, or bracket, if there is a selection, the selected text is enclosed in the expected opening and closing character. This is meant to quickly quote text, or put it in parenthesis. This feature can be disabled by calling setInsertPairedCharacters(false)
(#466).
Notable Changes
- Fix #461: [Bug]: C/C++: Highlight the import files
- Fix #419: Handlebars syntax highlighting
- Fix #466: Auto wrap selected text in quotes and parens
- Fix #469: setClearWhitespaceLinesEnabled doesn't work if auto-indent is disabled
- Fix #473: Automatically insert closing quote for string literals in languages that support it
- Fix #475: Improved caret behavior on first and last lines
- Fix #476: macOS: Wrong shortcut for "delete previous word"
See also tickets marked for this release.