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 259102 - [Multicaret] In-place renamed doesn't work anymore
Summary: [Multicaret] In-place renamed doesn't work anymore
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 23:19 UTC by Vladimir Voskresensky
Modified: 2016-05-07 01:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2016-05-02 23:19:49 UTC
in-place rename is broken at least in C++ and Java languages. Simple case:

  public boolean tryParse(StringRef input) {
    StringRef inputOrig = input;
    return inputOrig.equals(input);
  }

put cursor inside the second "input" identifiers. 
Press Ctrl-R, press ARROW_RIGHT to have cursor at the end of "input|"
type "i" and you will see:
cursor jumps at the end of the first "input"
press "i" again and code is changed only in one place
Comment 1 Vladimir Voskresensky 2016-05-02 23:20:17 UTC
Product Version: NetBeans IDE Dev (Build 20160502-7506d391e70f)
Java: 1.8.0_72; Java HotSpot(TM) 64-Bit Server VM 25.72-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_72-b15
System: Linux version 3.16.0-38-generic running on amd64; UTF-8; en_US (nb)
Comment 2 Miloslav Metelka 2016-05-03 15:20:01 UTC
Confirmed, I'll try to fix ASAP.
Comment 3 Miloslav Metelka 2016-05-04 13:59:23 UTC
http://hg.netbeans.org/jet-main/rev/5ccdd8fe199e
Comment 4 Quality Engineering 2016-05-07 01:59:09 UTC
Integrated into 'main-silver', will be available in build *201605070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5ccdd8fe199e
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #259102 - [Multicaret] In-place renamed doesn't work anymore.