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 238717

Summary: [Instant rename] Renaming is canceled incorrectly when typing outside of the box
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 215138    

Description Jiri Prox 2013-11-22 19:43:32 UTC
instant renaming is canceled incorrectly when typing outside of the box.

Steps to reproduce:
1) have a code:
public class ClassARen {


    public void getX() {
        
    }
}

2) start renaming getX to getY
3) without pressing enter put cursor before the method and type any character

-> character is type at selected position, but then cursor is moved to renamed identifier (which may be annoying when the user types quickly) 
-> the empty space before method name is deleted

public class ClassARen {

a
    public voidgetXY() {
        
    }
}


Product Version: NetBeans IDE Dev (Build 20131121-463f9d09987b)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b49
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Ralph Ruijs 2014-01-07 23:28:42 UTC
The instant rename popup has been disabled in 8.0 (bug 215138, comment 7)
Comment 2 Martin Balin 2016-07-07 07:18:19 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss