RSyntaxTextArea / News: Recent posts

RSyntaxTextArea 1.3.1 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Version 1.3.1 is a bugfix release. It includes a fix to RTextScrollPane to make it usable again in Matisse, as well as some painting fixes to the new Gutter component.

Posted by Robert Futrell 2009-03-09

RSyntaxTextArea 1.3 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Here's what's new in 1.2.3:
1. Smarter auto-indent for languages with C-style syntax
(those that use curly braces to denote code blocks).
2. Added PHP syntax highlighting support.
3. Added ToolTipSupplier interface so hosting apps can
supply tooltips without subclassing RSTA.
4. SQL highlighting fixes - Adding "create" keyword and
fixing "Mark Occurrences" to recognized '_' as an
identifier char.
5. Added an API to highlight individual lines.
6. Removed basic line numbering support and replaced it
with a more general "Gutter" component. This component
not only renders line numbers, but can display per-line
icons (for breakpoints, bookmarks, compiler errors,
etc.).
7. The Gutter has built-in bookmark support (which can be
toggled on or off). F2/Shift+F2 moves to the next and
previous bookmark, respectively. Ctrl+F2 toggles the
bookmark for the current line.
8. Renaming of syntax style classes to be simpler.
9. Several bug fixes.

Posted by Robert Futrell 2009-02-23

Swing AutoComplete Library 0.2 Released

AutoComplete is a Java Swing library for adding auto-completion (i.e. "code completion" or "Intellisense") to any JTextComponent. Special hooks are added for RSyntaxTextArea, since this feature is most often used in source code editors. This is mainly a bugfix release, but it also adds tooltip support for completions.

Posted by Robert Futrell 2009-02-23

Swing AutoComplete Library 0.1 Released

AutoComplete is a Java Swing library for adding auto-completion (i.e. "code completion" or "Intellisense") to any JTextComponent. Special hooks are added for RSyntaxTextArea, since this feature is most often used in source code editors.

This initial release allows code completion choices to be loaded from an XML file, or added dynamically by an API. Support for common programming constructs, such as variables, functions and markup tags, is integrated with the library. A completion description window, and parameter assistance, are also available, as seen in Eclipse and NetBeans.

Posted by Robert Futrell 2009-01-23

RSyntaxTextArea 1.2.3 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Here's what's new in 1.2.3:
1. Added "Mark Occurrences." When the caret comes to rest on a new identifier or variable, all occurrences of that identifier or variable will be highlighted. There is an API to toggle this feature on or off.
2. Added hyperlink support to C#.
3. Updated regex searching so '^' and '$' match the beginning and end of lines, respectively.
4. Fixed an issue preventing RTextArea from being serializable.

Posted by Robert Futrell 2009-01-23

RSyntaxTextArea 1.2.2 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Version 1.2.2 is a bugfix release. Changes include:

1. Fixed a harmless (no effect on user) NPE if setCaretPosition() is called to be on a bracket before the editor is visible (bracket matching code).
2. Fixed an NPE in TextEditorPane if you load() a local file that doesn't yet exist (okay so far, empty file is created), then try to save() it (this is where the NPE occurred - cached encoding was null).
3. RTextScrollPane now has a default constructor to facilitate using it in Matisse in NetBeans.

Posted by Robert Futrell 2009-01-16

RSyntaxTextArea 1.2.1 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Here's what's new in 1.2.1:
1. Fixed a bug preventing characters such as '[', ']', '{' and '}' from being entered on Macs using certain non-English keyboard layouts (Polish, German).
2. HTML and JSP highlighting now recognize multiline attributes.
3. Fixed a small bug when doing a non-regex backwards search for a single character.
4. A workaround for a Java 1.4 caret bug has been removed, as it no longer works due to code restructuring. The default caret is also now thicker (similar to Eclipse and NetBeans).

Posted by Robert Futrell 2009-01-03

RSyntaxTextArea 1.2 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Here's what'w new in 1.2:
1. Knowledge of what programming languages it can highlight has been separated from the editor code and is now loaded dynamically. This allows users to remove support for languages they don't need, thus cutting down on the library size.
2. The context menu is now completely customizable.
3. Some serialization improvements, but not complete yet.
4. HTML and JSP syntax highlighting now render multiline attributes correctly.
5. Fixed an input bug that prevented inputting characters such as '[', ']', '{' and '}' on Macs with non-English keyboard layouts.... read more

Posted by Robert Futrell 2008-12-19

RSyntaxTextArea: 1.1 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Here's what's new in 1.1:
1. Hyperlinks are recognized and clickable in the editor (in languages that
support this feature - currently plain text, C, C++ and Java). Hosting
applications can register HyperlinkListeners and respond to users clicking
on links (such as by opening a page in a browser).
2. Added TextEditorPane class, which wraps RSyntaxTextArea and adds common
features needed by virtually all editors - loading and saving, managing
the dirty state of the editor, the file encoding and line terminator.
3. Added ability to load and save remote files via FTP.
4. Added Ruby syntax highlighting.
5. Added highlighting of makefiles.

Posted by Robert Futrell 2008-12-08

RSyntaxTextArea 1.0 Released

RSyntaxTextArea is a syntax highlighting text component written in Swing.

Version 1.0 has been released. Here's what's new:

1. Syntax highlighting for over 20 programming languages
2. Unlimited undo/redo
3. Find/Replace, including regex support
4. Word wrap
5. Much more

This project is very mature and has been used in RText, a programmer's text editor, for years. It is licensed under the LGPL.

Posted by Robert Futrell 2008-08-16

RSyntaxTextArea - Project Created

RSyntaxTextArea is a syntax highlighting text component written in Swing.

I'm pleased to announce that RSyntaxTextArea has been made into its own separate project. Previously the text component used in RText (another SourceForge project), RSyntaxTextArea has now been made into a standalone library, usable by any project that is LGPL-compatible.

The downloads and SVN repository will be up in the next day or so. In the meantime, check out the web site, which includes an applet demo of the component.

Posted by Robert Futrell 2008-08-15

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks