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 224011

Summary: After first func name refactoring, the second refactoring starts in wrong place (until file changes saved)
Product: cnd Reporter: mariusz_m
Component: NavigationAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description mariusz_m 2012-12-19 08:05:18 UTC
NB dev 201212140001

1. Code:
static void ViewAppl_ProcessMsg(EGOL::T_Msg & Message);
static void ViewProgModes_ProcessMsg(EGOL::T_Msg & Message);
2. set cursor just before ViewAppl...
3. press Ctrl+R
4. the function name 'ViewAppl_ProcessMsg' is highlighted, ready to change its name
5. rename to GUI_ViewAppl_ProcessMsg, press enter to apply
6. set cursor at beginning of ViewProgModes_ProcessMsg
7. press Ctrl+R
8. the highlighted text is 'oid ViewAppl_Proces', this mean the inserted 'GUI_' is not taken into account (unless file is saved after each refactor)
Comment 1 Alexander Simon 2016-11-08 15:30:48 UTC
The issue is not reproducible in Netbeans 8.2