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 208318 - Last Edit Location isn't updated by search-and-replace
Summary: Last Edit Location isn't updated by search-and-replace
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.1.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on: 221823
Blocks:
  Show dependency tree
 
Reported: 2012-02-13 09:05 UTC by eskild
Modified: 2013-02-07 03:08 UTC (History)
0 users

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 eskild 2012-02-13 09:05:44 UTC
Tried this with CND, but I expect it's a global thing.

1. Open two non-empty files, A and B
2. Type some text into file A
3. Select file B, do a successful search-and-replace (ctrl-H)
4. Move around in file; page down or similar
5. Go to Last Edit Location (ctrl-Q) -- and it jumps to file A

IMHO, any operation that changes a file's contents is an Edit Operation that occurs at a particular Location in the file. And as a natural consequence, ctrl-Q should be able to navigate to it.
Comment 1 Miloslav Metelka 2012-06-13 18:50:23 UTC
Replace should add an item into last edit history.
Comment 2 Milutin Kristofic 2012-11-09 14:08:42 UTC
This need a big change in code. I see it in next version.
Comment 3 Milutin Kristofic 2013-02-06 16:14:30 UTC
http://hg.netbeans.org/jet-main/rev/6403304e5f6b
Comment 4 Quality Engineering 2013-02-07 03:08:04 UTC
Integrated into 'main-golden', will be available in build *201302070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6403304e5f6b
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #208318 - Last Edit Location isn't updated by search-and-replace