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 151207 - Code Folding: Shows for var after import
Summary: Code Folding: Shows for var after import
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-23 19:58 UTC by Lark Fitzgerald
Modified: 2008-10-27 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (244.70 KB, image/tiff)
2008-10-23 19:59 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-10-23 19:58:31 UTC
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb)
Promoted Installer build 10 - contains SDK 43

1. paste the following:
var a = Color.GREEN;
var b = Color.YELLOW;
var c = Color.BLUE;
2. Fix imports

Now notice that code folding is activated for the last var. (image attached)
Comment 1 Lark Fitzgerald 2008-10-23 19:59:31 UTC
Created attachment 72558 [details]
screenshot
Comment 2 David Strupl 2008-10-25 21:01:32 UTC
This seems to work ok in my config. Maybe it is some race condition, temporary problem. Will e.g. typing a space
somewhere in the source get rid of the spurious fold?

I am closing as worksforme - please reopen if it happens say with Monday's build. Thanks.
Comment 3 Alexandr Scherbatiy 2008-10-27 14:49:09 UTC
verified in 2008-10-27_03-01-09.zip