Because I haven’t had much time to work on RSTA lately, I’ve been thinking about making a list of work items in an attempt to get motivated. So here’s what’s on the list so far for the next RSTA release:
- Performance improvements, particularly for word wrap with very long lines. This has been asked for a couple of times in the forums. I’ve done some work, that will be available in the next SVN commit, that will improve performance to some degree. One of RSTA’s primary issues here is that modelToView()/viewToModel() calculations are relatively expensive, and for very long word-wrapped lines, they are called literally dozens of times whenever text is inserted or the window is resized. As a first pass, I’m refactoring things a bit so that the data used by these method calls is cached much more aggressively; this seems to improve things quite nicely. Moving forward, I might also try to minimize the number of calls to these methods in general, though that will be a more difficult task. There were also some performance improvements made to WrappedLineView.java in the JDK, around the Java 5 timeframe, that RSTA may be able to learn from/graciously borrow.
- Syntax highlighting for R.
- Syntax highlighting for .htaccess files.
- API in AutoComplete libarary to specify the expected type of arguments in a parameterized completion.
Any other suggestions?