Releases: bobbylight/RSyntaxTextArea
3.5.4
Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.5.4
).
Highlights
🎁 Improved Toggle Comment
behavior (#570, #589, #591)
The toggle comment
action (mapped to Ctrl + /
and Cmd + /
) now behaves better for single-line comments.
Toggling line comments |
---|
![]() |
🎁 Collapsed code fold's preview should honor default font color (#593, #598)
Hovering over a collapsed fold's icon shows a preview of the collapsed content. This preview could use the wrong "default" font color when the installed Theme
or SyntaxScheme
didn't define an explicit foreground color for a token type. This is now fixed to fall back to the text area's default foreground color, which matches the editor behavior.
Before | After |
---|---|
![]() |
![]() |
Other Notable Changes
- Fix #592:
RTextArea.setUI()
should not override non-UIResource fonts
See also tickets marked for this release.
3.5.3
Precompiled jars are available in Maven Central (com.fifesoft:rsyntaxtextarea:3.5.3
). This is primarily a bugfix release, but we also bump the minimum JDK version required to build to JDK 17. RSTA will continue to build targeting Java 8 until our upcoming 4.0 release.
Notable Changes
- RSTA now builds with Java 17. It still runs on Java 8 and later. The upcoming 4.0 release will target Java 11+
- #577 Avoid showing
MatchedBracketPopup
if RSTA instance isn't in focus (@ivanschehl) - Fix #541: Line numbers resize when getting a new document
- Fix #581: Overzealous Mark Occurrences for single characters
- Fix #581: Periods and commas marked in "Marked Occurrences"
- Fix #585 FileTypeUtil should identify Rust files
See also tickets marked for this release.
3.5.2
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
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
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.
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
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](https://private-user-images.githubusercontent.com/1631766/341991168-b4dd9862-147a-43df-bb00-cd38c4d9f5d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzU0MDEsIm5iZiI6MTczOTE3NTEwMSwicGF0aCI6Ii8xNjMxNzY2LzM0MTk5MTE2OC1iNGRkOTg2Mi0xNDdhLTQzZGYtYmIwMC1jZDM4YzRkOWY1ZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDgxMTQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Y2ZjI4NmRmN2Y4OTRkYzE3YjVlZmRlMGJlM2JiYzg3M2NiMDRkYzY0Njk0MTk2NjhiNGNiODc2NGM4ZjE0YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.aotj-8GF06WzgZBtiOorNTCyQsBdn6i8HN3FjH1YD9s)
🎁 Customizable Error Strip Painting (#535)
Error strip painting is now also programmatically customizable. Another unattractive example:
![image](https://private-user-images.githubusercontent.com/1631766/341991859-7e0aa247-3b27-4890-b8dc-5e9c00c0fb22.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzU0MDEsIm5iZiI6MTczOTE3NTEwMSwicGF0aCI6Ii8xNjMxNzY2LzM0MTk5MTg1OS03ZTBhYTI0Ny0zYjI3LTQ4OTAtYjhkYy01ZTljMDBjMGZiMjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDgxMTQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzQ5NTdiYzE5MzE4NjE1NjNmNDQ5NDFlOGFiZGQ3M2UxYjlkMTZlNjIwMDJhMzhhM2Q2N2I5MzdmMWNlY2M2OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.NEfPmKM5mOlB92Rf4OLo9vcuR4ikPkCTPLKuz_TR3VE)
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
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):
🎁 Rust support
Added Rust syntax highlighting and code folding (#481):
See also tickets marked for this release.
3.3.4
Precompiled jars are available in Maven Central(com.fifesoft:rsyntaxtextarea:3.3.4
). This is a bugfix release.
Notable Changes
- Fix #507: Add auto-indent support for Python and fix an NPE in its code folding. Also fixes #345, #512, and #514 (@awindillman).
- Made some Gutter methods public (@DrDaleks)
- Fix #493 Make 2 RTextArea methods public (@nbauma109)
See also tickets marked for this release.
3.3.3
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
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.