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 258730

Summary: NetBeans does not scroll to change (anymore) on undo/redo
Product: ide Reporter: muellermi <muellermi>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description muellermi 2016-04-08 14:26:26 UTC
Product Version = NetBeans IDE Dev (Build 201604080001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_77
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.77-b03

Reproducibility: Happens every time

STEPS:
- open long file (more than one screen) in editor
- change anything at the top of file
- scroll down to end of file, e.g. ctrl+end
- press ctrl+z (undo)

Expected: NB reverts the last change and displays the changed line

But, NB reverts the change and keeps the position in the editor.
Thus, the user has no visible control what happened. Same for Ctrl+y (redo)

This had been better before...
Comment 1 muellermi 2016-04-08 14:26:30 UTC
Created attachment 159169 [details]
IDE log
Comment 2 Jiri Prox 2016-04-21 22:28:06 UTC

*** This bug has been marked as a duplicate of bug 258377 ***