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 192442 - [70cat][editor] Colorizing of methods above the current line only occurs when cursor enters method
Summary: [70cat][editor] Colorizing of methods above the current line only occurs whe...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 20:53 UTC by esmithbss
Modified: 2011-10-17 11:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-11-24 20:53:24 UTC
Product Version = NetBeans IDE Dev (Build 201011240001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

When doing significant refactoring adding multiple constructors with additional parameters to a Java Class, the colorization system is automatically recoloring code below the cursor, but code above the cursor remains black until the cursor is moved into the method's code block.

To Reproduce:

1) Assemble a class with 10 or so constructors.

2) Make sure that multiple constructors are shown at the same time on screen.

3) Modify the constructors so that constructor 1 calls constructor 2, constructor 2 calls constructor, which calls constructor 3, etc... Starting with the top constructor in the source code.

As you move down through the constructors, they remain a default black above the cursor.  When you cursor up to the ending curly brace of a method block, the entire method is colorized.
Comment 1 Miloslav Metelka 2011-10-17 11:50:25 UTC
Should already be fixed in recent builds.