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.
I'm coming from Intellij Idea, Navigating in java editor using Ctrl+ArrowUp, Ctrl+ArrowDn the cursor stays at the current position and eventually disappears from the screen. Is it possible to implement an option in NetBeans which will force the cursor staying inside the visible area?
Reassigning to "editor" for evaluation.
The Ctrl+Up/Down in NB does not move the caret but moves the view so that you can see an arbitrary context around. Sorry but I do not understand why would that be useful to move the caret - you can use normal Up/Down arrows for that. If there is a useful usecase please describe it and reopen the issue. Thank you.
Ctrl+Up/Down scrolls the view and leaves cursor in place. That's common convenient behavior. It's very similar to using mouse scrolling wheel. Where it's ok to let cursor stay at current position and eventually disappear from the view but it's not ok let it disappear in the same scenario using Ctrl+Up/Dn keys. Here is why: Mouse: after scrolling when, user found a new position to edit we click the mouse right at that position moving cursor here. Keyboard: after scrolling say 5 screens from the original cursor position and ready to start editing at a new position we don't need to move screen at that point. If we release the Ctrl key to move cursor we'll be brought 5 screens back. We don't want that. The only option for us would be to reach the mouse and click it to bring the cursor to the visible area to edit at the new position.
moving opened issues from TM <= 6.1 to TM=Dev
*** Issue 156200 has been marked as a duplicate of this issue. ***
*** Issue 4293 has been marked as a duplicate of this issue. ***
*** Issue 16016 has been marked as a duplicate of this issue. ***
this issue would make sense to implement together with the issue 83068 BTW, with Scroll Lock "ON" arrow keys supposed to act as Ctrl+arrow key. Currently Scroll Lock does have any effect.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss