by robert » Mon Jun 29, 2009 2:58 am
FYI, the changes for this have been committed to SVN,
revision 109.
The following code will make the first line displayed be numbered "5":
- Code: Select all
RTextScrollPane sp = new RTextScrollPane(...);
Gutter gutter = sp.getGutter();
gutter.setLineNumberingStartIndex(5);
Let me know if there are problems. Otherwise, it'll be in the next release.
FYI, the changes for this have been committed to SVN, [url=http://svn.fifesoft.com/svn/RSyntaxTextArea/]revision 109[/url].
The following code will make the first line displayed be numbered "5":
[code]
RTextScrollPane sp = new RTextScrollPane(...);
Gutter gutter = sp.getGutter();
gutter.setLineNumberingStartIndex(5);
[/code]
Let me know if there are problems. Otherwise, it'll be in the next release.