How to change gutter width (e.g., for larger numbers)

Questions on using RSyntaxTextArea should go here.

Moderator: robert

How to change gutter width (e.g., for larger numbers)

Postby laseray » Wed Jun 13, 2012 11:44 pm

Hi,

Is it possible to change the gutter width in a RTextScrollPane?

When I change the line numbers, with setLineNumberingStartIndex, to larger numbers the higher digits get cutoff, instead of it resizing the width to hold them.

I checked the API, but I do not see any method that seems related.

Thanks,

Raymond
laseray
 

Re: How to change gutter width (e.g., for larger numbers)

Postby robert » Fri Jun 15, 2012 12:16 pm

Thanks for finding this, fixed in SVN revision 554, so you can grab it from there if you need it quickly. This will be in the upcoming 2.0.4 release.
User avatar
robert
 
Posts: 802
Joined: Sat May 10, 2008 5:16 pm

Re: How to change gutter width (e.g., for larger numbers)

Postby laseray » Thu Jun 21, 2012 2:33 pm

Thanks, will check it out.
laseray
 


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests

cron