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

Summary: [Preview] should highlith current update when there are more updates on one line
Product: java Reporter: ssazonov
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: img

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