Problem setting 'setFoldIndicatorEnabled(true)'

Questions on using RSyntaxTextArea should go here.

Moderator: robert

Problem setting 'setFoldIndicatorEnabled(true)'

Postby wurfi » Fri Apr 18, 2014 10:23 am

first of all: thanks for the great software!
I encountered a problem when setting RSyntaxTextArea.setCodeFoldingEnabled(true) and RTextScrollPane.setFoldIndicatorEnabled(boolean), especially when using a graphical ui designer. When this is not done in the correct order it will not work. My designer first configures the textArea, then the scrollPane and then sets the textArea as the view of the scrollPane with the result that the left margin for the fold icon is NOT visible (also line numbers are NOT visible then). So I have to build this part of the ui by hand. Just wanted to let you know and would be fine, when this small problem could be solved.

Thanks a lot, Wurfi

Re: Problem setting 'setFoldIndicatorEnabled(true)'

Postby robert » Tue May 13, 2014 3:10 am

Please open a bug report on GitHub if you'd like to see this fixed.
User avatar
Posts: 852
Joined: Sat May 10, 2008 5:16 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest