Releases: bobbylight/RSyntaxTextArea
3.3.0
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.3.0
). This release brings the following changes:
Highlights
🎁 Modern fold icon appearance
Added a new, modern appearance for the code folding region of the gutter, mimicking editors such as VS Code. The appearance of the code folding region can be toggled back to the previous, "classic" appearance, or further customized to your own liking, via the API:
🎁 "Armed" fold icon color
Theme and API support allow for specifying a different color for "armed" code folds. This results in a more visually pleasing, interactive UI. All built-in themes have been modified to take advantage of this feature (#460):
🎁 Protobuf syntax highlighting and code folding
Added protobuf syntax highlighting and code folding support (#446):
🎁 Ruby syntax highlighting improvements
Ruby saw some small syntax highlighting improvements (#448, #449):
Notable Changes
- Fix #449: (Ruby) Add missing Ruby keywords
- Fix #448: (Ruby) Square brackets aren't supported in bracket matching
- Fix #450: Add several missing MacOS keyboard shortcuts
- Fix #446: Add Protobuf syntax highlighting and code folding
- Fix #456: Setting the fold icon background color doesn't take effect immediately
- Fix #453: (JavaScript) Keyword
of
is not syntax highlighted - Fix #454: Support
Parser
s that can't parse line by line - Fix #458: Modernize the fold icon appearance. Add toggle between the "classic" and "modern" appearances
- Fix #459: Add API to hide expanded folds except on hover
- Fix #443: Hyperlinks stoped working on 3.1.0+ (thanks @ThexXTURBOXx)
- Fix #441: Control+Click opens popup on MacOS rather than going to definition
- Fix #460: Support different foreground color for armed fold icons
See also tickets marked for this release.
3.2.0
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.2.0
). This release brings the following changes:
Highlights
🎁 Configurable "active" line number color
The color used for the line number of the currently active line is now configurable programamatically and via the Theme API (#414, #426):
🎁 Mouse selection improvements
Double-click and triple-click-and-drag should increase the selection by word and by line, respectively (#59):
Notable Changes
- Fix #414: Make Gutter's "active" line number color configurable programmatically (thanks @omegaui)
- Fix #426: Make Gutter's "active" line number color configurable via the
Theme
API - Fix #424: Unit tests should run cleanly when running headlessly
- Fix #59: Double-click and triple-click-and-drag should increase the selection by word and by line, respectively
- Fix #434: CI builds should build on multiple Java versions (currently 8, 11, 14, 17) to sniff out possible future issues
- Fix #206: Custom
TokenMaker
does not take effect with some Document/RSTA constructor orders - Fix #149: Mark occurrences problem with line wrap is enabled
- Fix #428: Fix BLE in SearchEngine (thanks @paul-griffith)
- Fix #438:
TokenImpl.isComment()
is not correctly identifying comment tokens in markup languages - Fix #425: Add Automatic-Module-Name (thanks @boessu)
See also tickets marked for this release.
3.1.6
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.6
). This release brings the following changes:
- Fixing the appearance of
FocusableTip
in FlatLaf - Fix #420: Add text block support to Java syntax highlighting
- Fix #421: Add syntax highlighting for new Java keywords (thanks @ThexXTURBOXx)
- Add missing file extensions for Dockerfile, Groovy and others to
FileTypeUtil
(thanks @ThexXTURBOXx) - Add
\s
as a new escape sequence in Java, per JLS 17
See also tickets marked for this release.
3.1.5
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.5
). This release brings the following changes:
- Fix #415: Add
FileTypeUtil
class to support sniffing out the syntax highlighting to use for a file
See also tickets marked for this release.
3.1.4
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.4
). This release brings the following changes:
- Fix invalid
ParserManager
state when first constructed (thanks @derSascha) - Fix #391:
markedOccurrencesDelay
andColor
should persist when marked occurrences is disabled and re-enabled - Fix FocusHotkey French translation (thanks @ebourg)
- Fix #390: Fix bugginess in
HyperlinkEvent
s.LinkGenerator
s should only be triggered on 'activated' events, not 'entered' events - Fix #395:
RSyntaxTextArea.setFont()
should update the matched-bracket rendering if necessary - Fix Error Strip's Marker Position, when LineCount less than maximum possible lines according to VisualRec (thanks @manticore-projects)
- Fix #399: Makefile syntax highlighting should allow '-' in labels
- Fix #401:
SearchEngine.replaceAll()
should ignore 'wrap' flag - Fix html format for text area with background image (thanks @dzmipt)
- Adding an action to cut as styled text (thanks @dzmipt)
- Update
syntaxEditingStyle
in alternate constructor (thanks @Jakobeha) - Fix #409: Markdown: correctly highlight snake_case identifiers
- Defaulting styled copy/cut action for RSyntaxTextArea. Updating style for html converter (thanks @dzmipt)
- Fix #410: Add a gradle task to run the main RSTA demo
- Fix
FocusableTip
's size grip rendering on OS X when in dark mode - Fix #404: Down arrow key leaves garbage when rendering on OS X in some situations
- Adding URL highlighting and clickability to Ruby
See also tickets marked for this release.
3.1.3
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.3
). This release brings the following changes:
- Fix #355: Support unicode characters in identifiers in Java
- Fix #371: Add a system property that toggles whether matched-bracket popups use the text editor's background color
- Fix #375: Adding Kotlin syntax highlighting and code folding
- Translated into Dutch (thanks @DiGro!)
- Translated into Finnish, French and Ukranian translations updated (thanks @kosivantsov!)
- Add support for SQL MERGE statements and CASE expressions (thanks @manticore-projects!)
- pt localization added, zh_CN updated (thanks @kosivantsov!)
3.1.2
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.2
). This release brings the following changes:
- Removing custom 'distributions' config for redistributable zip files
in favor of standard artifacts generated by Gradle (which we've been using for a while anyway) - Fix: NPE in HTML fold parser when file ends with '</'
- Fix #354: Make Tab keypress indent a line if there's a single-line
lection (before it would only do so if there was a multi-line selection) - Micro-optimization when tab is inserted into documents
- Fix #291: Adding Markdown syntax highlighting
- Fix #359, Fix #360: Add code folding for assembly x86, assembly 6502 and ActionScript
- Fix #366: removeLineHighlight() removes the wrong highlight!
LineHighlightInfo's equality check was busted - #365: Add documentation to TokenTypes describing the semantics of
SEPARATOR and matched-bracket painting - Feature: Adding UnicodeWriter constructors that take Charsets
3.1.1
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.1
). This release brings the following changes:
3.1.0
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.0
). This release brings the following changes:
- Add wrap flag to SearchContext (thanks @paul-griffith)
- Fix #327: Ability to increase margin between line number and fold indicators in gutter
- Fix #301: Fire hyperlink events when link-scanning-mask key is depressed and mouse enters and exits links. Previously we only fired 'activated' events when the mouse was clicked on a link
- Fix #238: When a tool tip is displayed above the mouse position, if the top of the tool tip would be cut off (i.e. it is so large it is larger than the screen height), ensure the top of the tooltip is on-screen, and let the bottom of it be off-screen
- Fix #245: Add code folding for Python
3.0.8
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.0.8
). This release brings the following changes:
- Get builds working better with Java 11 (thanks @brunchboy)