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.
|Summary:||Editor tab scrolls cursor back into view|
|Component:||-- Other --||Assignee:||Milutin Kristofic <mkristofic>|
|Issue Type:||DEFECT||Exception Reporter:|
Description twifty 2017-06-27 00:43:26 UTC
The editor has a nasty habit of auto scrolling the window so that the cursor is back in view. I have found two methods to reproduce the issue. 1: Code folding Open a file containing enough lines to be able to scroll. Scroll the cursor out of view, scroll until a code foldable block is available. Toggle the folding by clicking the plus or minus on the left hand side. 90% of the time, the tab will auto scroll the document to bring the cursor back into view. 2: Switching tabs When the code folding (above) works correctly, Ie. a block was opened/closed and the cursor is not in view; switch to another tab then switch back. Hey presto, the cursor is back in view.