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 238607 - [Preview] should highlith current update when there are more updates on one line
Summary: [Preview] should highlith current update when there are more updates on one line
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 13:00 UTC by ssazonov
Modified: 2013-11-20 13:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
img (116.07 KB, image/png)
2013-11-20 13:05 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-11-20 13:00:25 UTC
1. Creata simple java class:

package test;

public class ClassA {

	public boolean m2(boolean a, boolean b, boolean c){
		return (!a || !b) && (!b || !c) && ((2 <= 3) || (4 >= 1));
	}
}

2. Right click method name "m2" and from pop-up menu select Refactor > Invert Boolean

3. Press preview

4. You' ll get preview with 11 updates, on one line

>> I think it may be useful to highlight current update (part of line) in before/after preview window when user goes throw all updates

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2013-11-20 13:05:16 UTC
Created attachment 142397 [details]
img