This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186526 - Unable to disable occurrence highlighting in Ruby / Poor Performance
Summary: Unable to disable occurrence highlighting in Ruby / Poor Performance
Status: STARTED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 18:17 UTC by dlikhten
Modified: 2010-06-01 12:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlikhten 2010-05-21 18:17:47 UTC
I am unable to disable occurrence highlighting in Ruby.

The need arises from the fact that running on a low-powered PC, occurrence highlighting is destroying my editor's performance, even my ability to scroll through the text (left, right, a screen up, a screen down, etc). The performance is attrocious.

I am requesting that a toggle option is added to allow the disabling of this behavior for the ruby editor.

Also could help if the performance problems are looked into removing the need to disable this.

Email Conversation from forms:

Hi Dmitriy,

Sorry for the late reply, I've been offline. It unfortunately isn't possible to turn off mark occurrences for Ruby. It would be straightforward to add such an option, at least a command line switch. Can you please file a bug for this (sounds like it should be a P2 at least)? We approaching code freeze for 6.9, but since adding an option for this is really low risk I think I'll still be allowed to do that for 6.9.

Thanks,
Erno
- Hide quoted text -


Dmitriy Likhten wrote:

    Due to usage on my netbook, I would like to disable the Ruby occurrence highlighting feature of netbeans 6.8... (it is extremely costly performance wise, makes editing hard). How can I do this? I have the netbeans ruby bundle and there is no options under mark occurrences to disable ruby, in fact there are no options there at all.

    --Dmitriy Likhten
Comment 1 Erno Mononen 2010-05-31 11:25:28 UTC
I've added a system property for turning off mark occurrences in 

Adding 

-J-Druby.mark.occurrences=false  

to netbeans_default_options in <nb_install_dir>/etc/netbeans.conf will disable the occurrence highlightning for Ruby. I'll need to add UI for this later, at this point I can't do any UI changes. Leaving the issue open until then.
Comment 2 Erno Mononen 2010-05-31 11:25:51 UTC
The changeset # is da0a00e56959.
Comment 3 Quality Engineering 2010-06-01 12:28:54 UTC
Integrated into 'main-golden', will be available in build *201006011333* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/da0a00e56959
User: Erno Mononen <emononen@netbeans.org>
Log: #186526 - Unable to disable occurrence highlighting in Ruby / Poor Performance