RSyntaxTextArea 2.0.0-beta1 Released

As I know that some folks aren’t too keen on always grabbing bleeding edge code from Subversion, I decided to make a “beta” release of RSyntaxTextArea 2.0 available on SourceForge as well as tagged in SVN.   I hope that releasing in jar form will help facilitate more folks using it and providing feedback.

Just as a recap, the major changes in this release currently include:

  1. Code folding for C, Java, Perl, XML, MXML, and other languages (currently only available when word wrap is not enabled).
  2. Theming support via XML.  This allows for easily customizing RSTA to fit the color scheme of your application, easier saving/loading user-defined token styles, etc.
  3. A few new token types to allow for better lexing/token highlighting.
  4. Updated syntax highlighting for some languages, especially PHP and JSP (which both previously had a couple of issues with JavaScript highlighting).

I’d like to make another call to action here, and ask everyone interested to try out the code folding support in their applications today!  Assuming you’re editing a language that supports it, it should be as simple as this:


The demo application in SVN provides a concrete example of this option in use.

Please report any and all problems you find in the RSTA forums!

Finally, I’d like to mention that I’ve gotten several emails that included patches with new features lately.  If you’re one of those folks, I’d just like to let you know that I am interested in what you’ve sent, I just haven’t yet gotten around to looking at it and working it in if/where possible.  Feel free to email me again if you want, but even if you don’t , I’ll (hopefully) be responding soon!


4 Responses to “RSyntaxTextArea 2.0.0-beta1 Released”

  1. kemyR says:

    First of all, great work – i’m using your lib to display XML files in my project. One suggestion tho, for code folding. Could you please enable code folding for edit-disabled Areas in final version? 🙂

  2. admin says:

    Sorry, I didn’t see this post until I also saw your post in the forums. The short answer is – it should already work. We can discuss things further in the forum post!

    And thanks for trying out the code folding feature!

  3. yang.yang.zz says:

    Great work. I used the code folding right away in my project. It looks awesome! My teammates really like it. Btw, is there a way to enable/disable the folded code popup, when you’re pointing at the unfold (+) button? And, can it support XQuery syntax in this or future release?

  4. admin says:

    Thanks Yang! I’ve put it on the to-do list to provide a way to disable the popups from the fold indicator. As for XQuery, I’ve actually been asked about it before, but since I don’t use it I’d be afraid of implementing a scanner incorrectly. If you or someone else were willing to provide testing/guidance where necessary, I’d be happy to work on it, but it’s not a high priority at the moment.