RSyntaxTextArea flickering when mark the instances

Questions on using RSyntaxTextArea should go here.

Moderator: robert

RSyntaxTextArea flickering when mark the instances

Postby kosmos891 » Tue Jul 30, 2013 8:37 pm

Sorry for my bad english.
My RSyntaxTextArea is over 1000 lines long.
I use markAll(String, boolean, boolean, boolean) to mark all instances of a specified word.
The number of occurences of the specific word is high.
When markAll method is called, the RSyntaxTextArea flickering
(I am not sure if the expression 'flickering' describes my problem)
I think that this happens because, the caretLine move to all instances.

What I'm doing wrong?
How can I avoid this problem?
kosmos891
 
Posts: 5
Joined: Tue Jul 30, 2013 8:10 pm

Re: RSyntaxTextArea flickering when mark the instances

Postby robert » Wed Jul 31, 2013 1:12 pm

You're right, RTextArea.markAll() is much slower than the standard MarkOccurrencesSupport (e.g. place the caret on an identifier, and it marks all identical identifiers in the document) for pedantic worst-cases. If you want to see the performance of this method improved, please enter a Feature Request on the project's SourceForge page so it can be tracked.
User avatar
robert
 
Posts: 794
Joined: Sat May 10, 2008 5:16 pm

Re: RSyntaxTextArea flickering when mark the instances

Postby kosmos891 » Wed Jul 31, 2013 3:07 pm

@Robert thanks for your reply

Sorry for my silly question.
I registered to Source Forge.
In this page Feature Request I don't see "Create Ticket" button.
How do I post a feature request?
kosmos891
 
Posts: 5
Joined: Tue Jul 30, 2013 8:10 pm

Re: RSyntaxTextArea flickering when mark the instances

Postby robert » Tue Aug 06, 2013 1:08 pm

There was a "Create Ticket" button on the left-hand side. No worries; I created it for you. :D
User avatar
robert
 
Posts: 794
Joined: Sat May 10, 2008 5:16 pm

Re: RSyntaxTextArea flickering when mark the instances

Postby kosmos891 » Wed Aug 07, 2013 10:31 am

@robert thanks for your reply
Sorry for my bad english.

RSyntaxTextArea is wonderfull and I want to become even better.
Two more features request that I have seen in Netbeans IDE editor and notepad ++ :

1)Html pair tags matching
2)When the last occurrence (of the find next Action) to be found then begins from the first line
(The cursor moves from instance to instance cyclically, from bottom to top)
kosmos891
 
Posts: 5
Joined: Tue Jul 30, 2013 8:10 pm

Re: RSyntaxTextArea flickering when mark the instances

Postby robert » Thu Aug 08, 2013 12:51 pm

HTML tag matching is a part of RSTALanguageSupport, an add-on library for RSTA that provides code completion and other cool features to RSyntaxTextArea for a handful of languages (which includes HTML, PHP and JSP). There are currently no direct downloads for that library; instead you'll have to grab it directly from the SVN repository.

Good luck!
User avatar
robert
 
Posts: 794
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron