Tab Lines in RSyntaxTextArea

The next release of RSyntaxTextArea will sport a new feature:  tab lines.  A user in the forums prodded me enough to look into this feature, and it’s really cool.  It’s little dotted lines helping you visually know where code blocks start and end.  An example screenshot:

Tab Lines

Tab Lines

The implementation will probably change before the next RSTA release, but the API will likely stay the same:

   public void setPaintTabLines(boolean paint);
   public void setTabLineColor(Color color);
   public boolean getPaintTabLines();
   public Color getTabLineColor();

Feel free to check it out from SVN and play around!

One Response to “Tab Lines in RSyntaxTextArea”

  1. [...] an API to render tab lines (aka indent [...]