A syntax highlighting, code folding text editor for Java Swing applications.
Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.4.0
).
Line numbering can now be customized beyond just font and color (#517, #518):
Added Rust syntax highlighting and code folding (#481):
See also tickets marked for this release.
Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.3.4
). This is a bugfix release.
See also tickets marked for this release.
Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.3.3
). This is a bugfix release.
ErrorStrip
bugs with mouse clicks and y-location in the documentSee also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.3.2
). This release is a bugfix release. All clients should upgrade to 3.3.2 as 3.3.1 was horribly broken (a bug was introduced that caused inserting newlines to corrupt the editor content in many situations).
See also tickets marked for this release.
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.
Syntax highlighting has been added for Handlebars files (#419).
Previously, includes were rendered differently for "string.h"
style vs <system>
style includes. They are now rendered in the same fashion (#461):
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).
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).
See also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.3.0
). This release brings the following changes:
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:
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):
Added protobuf syntax highlighting and code folding support (#446):
Ruby saw some small syntax highlighting improvements (#448, #449):
of
is not syntax highlightedParser
s that can't parse line by lineSee also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.2.0
). This release brings the following changes:
The color used for the line number of the currently active line is now configurable programamatically and via the Theme API (#414, #426):
Double-click and triple-click-and-drag should increase the selection by word and by line, respectively (#59):
Theme
APITokenMaker
does not take effect with some Document/RSTA constructor ordersTokenImpl.isComment()
is not correctly identifying comment tokens in markup languagesSee also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.6
). This release brings the following changes:
FocusableTip
in FlatLafFileTypeUtil
(thanks @ThexXTURBOXx)\s
as a new escape sequence in Java, per JLS 17See also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.5
). This release brings the following changes:
FileTypeUtil
class to support sniffing out the syntax highlighting to use for a fileSee also tickets marked for this release.
Precompiled jars are available on SourceForge and Maven (com.fifesoft:rsyntaxtextarea:3.1.4
). This release brings the following changes:
ParserManager
state when first constructed (thanks @derSascha)markedOccurrencesDelay
and Color
should persist when marked occurrences is disabled and re-enabledHyperlinkEvent
s. LinkGenerator
s should only be triggered on 'activated' events, not 'entered' eventsRSyntaxTextArea.setFont()
should update the matched-bracket rendering if necessarySearchEngine.replaceAll()
should ignore 'wrap' flagsyntaxEditingStyle
in alternate constructor (thanks @Jakobeha)FocusableTip
's size grip rendering on OS X when in dark modeSee also tickets marked for this release.