RSyntaxTextArea Changelog

What's new in RSyntaxTextArea 2.5.3

Jun 30, 2014
  • Improvements to PHP syntax highlighting.
  • In HTML and XML, "mark occurrences" should match tag names even when the caret is in an attribute, not just when it is in the tag name itself.
  • Java syntax highlighting updated for Java 8 classes, interfaces, and enums.
  • SQL: Matching opening/closing parens are now highlighted.
  • Fixed several bugs.

New in RSyntaxTextArea 2.5.2 (Mar 10, 2014)

  • Whether or not curly braces denote code blocks is now handled on a
  • language-index level, not per TokenMaker. This means TokenMakers such as
  • HTML, JSP, and PHP can provide auto-indentation and curly brace closing for
  • sub-languages' such as JSP and CSS.
  • Java syntax highlighting updated for Java 8 classes, interfaces, and enums.
  • Added "mark occurrences" support for HTML.
  • Curly braces can now be automatically closed when editing CSS.
  • The SearchEngine class now automatically selects the next match after a Replace operation.
  • Fixed errors when loading/saving Theme XML.
  • Fixed several bugs.

New in RSyntaxTextArea 2.5.1 (Dec 5, 2013)

  • Improvements in Clojure syntax highlighting
  • Fixed exception in certain scenarios when word wrap and code folding were both enabled
  • Fixed rendering bug when visible whitespace was enabled
  • RTextScrollPane now allows JLayer/JXLayer as its view
  • Other minor bugs fixed

New in RSyntaxTextArea 2.5.0 (Dec 5, 2013)

  • Painting performance improvements.
  • Pretty major API changes; "Token" changed from a class to an interface, etc.
  • This allowed for more aggressive caching of syntax highlighting information and thus better performance.
  • Improvements to Clojure syntax highlighting.
  • Minimum JRE requirement updated to Java 5 from 1.4.
  • Miscellaneous small bug fixes and changes.

New in RSyntaxTextArea 2.0.7 (Apr 29, 2013)

  • setBracketMatchingEnabled(boolean) now checks for brackets "to the right"
  • of the caret if one is not found "to the left."
  • Added API for applications to create custom hyperlinks in RSyntaxTextArea,
  • though this API should not be considered stable.
  • Added "mark occurrences" support for XML. Currently just highlights the tag
  • name at the current caret position and its match.
  • Fixed issue when auto-inserting spaces for tabs.
  • Major refactoring of rendering code.
  • "Traditional" selection rendering is now supported; that is, selected text
  • can now be rendered as syntax highlighted tokens with a "selection"
  • background (as it was previously), or as text as a single color with the
  • "selection" background (as standard text components do). See
  • RSyntaxTextArea.setUseSelectedTextColor(boolean).
  • Fixed performance issue in FoldingAwareIconRowHeader when it paints "active
  • regions."
  • Added some new token types to better differentiate markup tokens from
  • "regular" language tokens. This allows for better syntax highlighting for
  • stuff like HTML, JSP, and PHP.
  • JavaScript highlighting now highlights JSDoc.

New in RSyntaxTextArea 2.0.6 (Jan 23, 2013)

  • Added JSON syntax highlighting and code folding.
  • Updated Turkish (Burak) and French (Pat) translations.

New in RSyntaxTextArea 2.0.5.1 (Dec 18, 2012)

  • Fixed an issue with CloseMarkupTagAction on non-QWERTY keyboardsUpdated Arabic translation

New in RSyntaxTextArea 2.0.5 (Nov 22, 2012)

  • Code folding added for HTML, JSP, and PHP.
  • Added NSIS syntax highlighting and code folding.
  • Added code folding and highlighting of multi-line strings for Scala.
  • Added Java 7 features to Groovy highlighting (underscores in numeric literals, binary literals, and new core classes/interfaces/enums).
  • Allow tool tips to be specified for icons in IconRowHeader.
  • Fixed an issue with CompleteMarkupTagAction and ToggleLineCommentAction conflicting with each other only on *nix (Windows and OS X didn't have this issue).
  • Allow for non-ConfigurableCarets to be set via setCaret(), to allow for Swing's "composed text" changes (hidden in private API).
  • Fixed possible NPE in XmlTreeCellUI for environments where desktop AA hints cannot be determined.
  • Updated translations - Italian, German, Korean, Japanese and Hungarian.

New in RSyntaxTextArea 2.0.4.1 (Sep 8, 2012)

  • This is a minor release that fixes font rendering for Asian languages.
  • It also adds a couple of keywords to Groovy syntax highlighting that were missing

New in RSyntaxTextArea 2.0.3 (May 2, 2012)

  • Added LaTeX syntax highlighting and code folding.
  • Added DTD syntax highlighting.
  • Fixed issue with RTextScrollPane, allowing it to be used in NetBeans' visual editor.
  • Fixed bug in CurlyFoldParser.
  • RSTA now has anti-aliasing enabled by default, no need to call setAntiAliasEnabled(boolean) manually.
  • TextEditorPane now fires FULL_PATH_PROPERTY from its load() method like it does from saveAs().

New in RSyntaxTextArea 2.0.2 (Mar 13, 2012)

  • License changed from LGPL to modified BSD.
  • New keyboard shortcut: select some text, then Ctrl+K/Ctrl+Shift+K (Cmd on OS X) is "go to occurrence" like in Eclipse.
  • Ctrl+/ inserts line comments when editing JavaScript.
  • Fixed performance issue: Pressing "End" to go to the end of a very long line (thousands of characters) is no longer slow.
  • Fixed bug: Icon row header should automatically move icons around when folds are expanded and collapsed.
  • Fixed bug: When going to a bookmark via Ctrl+F2/Ctrl+ShiftF2, ensure that any collapsed folds enclosing the bookmark are opened.
  • Other small tweaks.

New in RSyntaxTextArea 2.0.1 (Mar 13, 2012)

  • If SearchEngine selects text as part of a search/replace operation, and that text in a collapsed fold, the fold should be expanded to make the selection visible.
  • The DTD for themes, theme.dtd, was not included in the 2.0.0 RSyntaxTextArea binary jar. This made themes unusable since they could not be validated. 3. The SearchEngine API has been modified slightly to be cleaner and more easily expanded in the future.

New in RSyntaxTextArea 2.0.0 (Feb 14, 2012)

  • Code folding added for C, C++, C#, CSS, Groovy, Java, JavaScript, MXML, Perl, and XML.
  • Support for theming the editor (fonts, colors, etc.) via XML files.
  • Enhanced syntax highlighting, especially for web languages including HTML, CSS, JavaScript, JSP, and PHP.

New in RSyntaxTextArea 2.0.0 Beta 2 (Jan 18, 2012)

  • Code folding now works when word wrap is enabled.
  • Fixed some keyboard shortcuts that didn't work well with collapsed fold regions. Added C+plus and C+minus shortcuts to toggle whether the current fold is collapsed.

New in RSyntaxTextArea 1.5.1 (Mar 25, 2011)

  • Fixed bug in properties file highlighting's handling of single quotes.
  • Improvements to Windows batch file highlighting.
  • Adding a few more shell commands to Unix Shell syntax highlighting.
  • Fixed bug when pressing Enter at the start of an MLC or documentation comment in some C-style languages.
  • Changed "dumb complete word action" from shift+space to ctrl+enter, to eliminate annoying accidental activations.
  • Added a license header for those files that didn't have one yet.

New in RSyntaxTextArea 1.5.0 (Mar 4, 2011)

  • Added Clojure syntax highlighting.
  • Added MXML syntax highlighting.
  • Added smarter newline support when pressing Enter in a multi-line comment in languages such as C, C++ and Java.
  • Fixing Properties file syntax highlighting: fix for properties with multi-line values.
  • Updated TCL support: should auto-indent on '{' char, just like C, Java, etc.
  • Other minor bug fixes and updates.

New in RSyntaxTextArea 1.4.2 (Aug 26, 2010)

  • Groovy syntax highlighting updates (GDK Object methods, Java 5/6 java.lang
  • classes, URL's in comments)
  • Fix to prevent security exception setting AA hint in an applet (thanks to
  • Frederic in the forums).
  • Fixing positioning of FocusableTip on multi-monitor setups (thanks to
  • grzlbrmft in the forums for the bug report and testing).
  • AutoComplete's description window now updates itself in response to a
  • selection change after a small delay (120ms) instead of immediately, to
  • help performance for language supports with slower descriptions (e.g. fil
  • IO).
  • Added ActionScript syntax highlighting.
  • Improved performance of auto-completion list cell renderer for huge
  • completion lists.
  • Center the found/replaced text after search operations.
  • Fix for SourceForge bug 2998448: regex "replace all" is always
  • case-sensitive.
  • SearchEngine's concept of "whole word" is more accurate now (allows for
  • punctuation, such as ',', at the end of words, for example).
  • Added start of JUnit test for SearchEngine.java.
  • SearchEngine bug fixes for replaceAll() with regex and match case/whole
  • word enabled.
  • Fixed auto-complete bug with overloaded functions.
  • Fixed auto-complete bug - capitalization should be corrected when
  • completing a parameterized completion.
  • Improved properties file syntax highlighting: ':' can divide name/value
  • pairs.
  • Added "our" keyword to Perl syntax highlighting.

New in RSyntaxTextArea 1.4.1 (Mar 11, 2010)

  • Make default font be Monaco on OS X 10.4/10.5, and Menlo on Snow Leopard.
  • Syntax schemes are now smarter and automatically pick up on when you change the base font of the editor, adjusting themselves accordingly.
  • Better cursor navigation with Ctrl+left/right arrows (now behaves like Eclipse). Also improved word selection via double-clicking behavior.
  • Added method to toggle whether an EOL marker is painted for each line.
  • New keymapping: shift+space does a "dumb complete word" action where the last word in the document that matches the "word" up to the caret position is auto-completed. Keep pressing shift+space to go back further in the document. Again, this is mimicking Eclipse's action (that has no default key mapping).
  • You can now configure what constitutes a "task" identifier for TaskTagParser.
  • Improved XML auto-closing tags (accepts ':' and '-' chars in tag names, as it always should have).

New in RSyntaxTextArea 1.4.0 (Dec 2, 2009)

  • Adding "FocusableTips," which are tool tips that become focusable when the user clicks on them or presses F2, like the tool tips in Eclipse. These are the default tool tips for RSyntaxTextArea, and can be used by parsers (such as the spell checker) for user-friendly assistance.
  • Added an "Error Strip" component that can display markers for locations in a text editor of parser errors, marked occurrences, etc.
  • Added Delphi, Scala and BBCode syntax highlighting support.
  • RSTA will now automatically insert a closing curly brace when appropriate for C, C++, C#, Java and Perl. This behavior is toggle-able.
  • RSTA will now automatically complete closing XML tags when "