Skip to content

Releases: bobbylight/RSyntaxTextArea

3.5.2

26 Oct 16:20
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.5.2). This is a bugfix release.

Notable Changes

  • #566 Remove System.out.println() call (again)
  • #571 Updated Russian translation (@MeToDucT)
  • #565 Add optional index parameter to appendFoldingMenu() (@Mino260806)

See also tickets marked for this release.

3.5.1

27 Jul 23:18
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.5.1). This is a bugfix release.

Notable Changes

  • Fix #561 Remove System.out.println() call

See also tickets marked for this release.

3.5.0

13 Jul 17:31
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.5.0).

Highlights

🎁 Ligature support (#503, #554, #559)

Ligatures are now properly supported in the editor. Note this requires you to use a font that supports ligatures, which isn't always the case with OS default fonts. See this wiki article for an overview of this feature.

image

Other Notable Changes

  • Fix #545 NPE in SyntaxView.viewToModel
  • Fix #555 Marked Count is always zero if at end of file (@SamKry)

See also tickets marked for this release.

3.4.1

22 Jun 17:21
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.4.1). This is primarily a bugfix release, but includes some API improvements to facilitate custom rendering.

Highlights

🎁 Customizable Token Painting (#534, #106)

Token painting can now be programmatically customized. A primary use case here is overriding how whitespace tokens are rendered, from the default in VisibleWhitespaceTokenPainter. A rather unattractive example:

Screenshot 2024-06-22 at 2 40 25 PM

🎁 Customizable Error Strip Painting (#535)

Error strip painting is now also programmatically customizable. Another unattractive example:

image

Other Notable Changes

  • Fix #539: InsertQuoteAction overwrites trailing character after token instead of closing double quote in Python
  • Fix #542: XMLTokenMaker does not follow XML spec (it wants ASCII element names)
  • Fix #543: Clojure syntax highlighting: char literal double quote is treated as opening string
  • Fix #540: Dot character (.) recognized as ERROR_IDENTIFIER in C#
  • Fix #536: No marking if cursor is at end of file

See also tickets marked for this release.

3.4.0

15 Feb 23:20
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.4.0).

Highlights

🎁 Customizable line numbering

Line numbering can now be customized beyond just font and color (#517, #518):

image

🎁 Rust support

Added Rust syntax highlighting and code folding (#481):

image

See also tickets marked for this release.

3.3.4

01 Aug 23:09
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.3.4). This is a bugfix release.

Notable Changes

See also tickets marked for this release.

3.3.3

23 Mar 21:55
Compare
Choose a tag to compare

Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.3.3). This is a bugfix release.

Notable Changes

  • Fix #497, Fix #499: ErrorStrip bugs with mouse clicks and y-location in the document
  • Fix #490: ClassCastException when cutting or copying text from an RTextArea
  • Fix #492: NPE with certain (broken) JDK 17 builds

See also tickets marked for this release.

3.3.2

14 Jan 01:03
Compare
Choose a tag to compare

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).

Notable Changes

  • Fix #484: InsertBreakAction completely broken when in the middle of a line in 3.3.1
  • Fix #483: Umlauts and other diacritics cause wrong line wrap
  • Fix #482 SearchEngine.replace() should set the wrap flag when appropriate

See also tickets marked for this release.

3.3.1

19 Dec 00:47
Compare
Choose a tag to compare

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.

3.3.0

26 Sep 02:31
Compare
Choose a tag to compare

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:

"Modern" style
"Classic" style

🎁 "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 Parsers 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.