RSyntaxTextArea 2.0.2 was released yesterday on SourceForge! This release includes some good bug fixes, and is recommended for anyone ready and willing to upgrade. Here are the highlights:
- The license was changed from LGPL to modified BSD. There are folks afraid of anything with “GPL” in the title, perhaps rightfully so, so now RSTA is using a non-viral license. This also clears up any confusion about a user’s ability to use a modified version of the library.
- Added a cool new keyboard shortcut: select some text, and pressing Ctrl+K/Ctrl+Shift+K (Cmd on OS X) is “go to occurrence” like in Eclipse. A quick and easy way to traverse through all instances of specific text in the editor.
- 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. This is very important for folks looking to implement custom Parsers that show error markers in the Gutter, for example.
- Fixed bug: When going to a bookmark via Ctrl+F2/Ctrl+ShiftF2, we should ensure that any collapsed folds enclosing the bookmark are opened. Previously, the caret would be moved to the line containing the next bookmark, even if it was in a collapsed fold.
- Other small tweaks.
As mentioned, the RSyntaxTextArea, AutoComplete, and RSTALanguageSupport libraries are all under a modified BSD license now. The SpellChecker add-on library had to stay LGPL due to its dependency on a modified version of Jazzy. I don’t see this as a huge problem since folks using SpellChecker aren’t as likely to want to modify it as they would with say the main RSyntaxTextArea project.