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 129641 - Equivalent to Ctrl+Up and Ctrl+Down does not exist or is not mapped intuitively
Summary: Equivalent to Ctrl+Up and Ctrl+Down does not exist or is not mapped intuitively
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-03-10 11:24 UTC by Petr Dvorak
Modified: 2016-07-07 07:32 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 Petr Dvorak 2008-03-10 11:24:46 UTC
Product Version: NetBeans IDE Dev (Build 200803100002)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.2 running on i386; MacCentralEurope; cs_CZ (nb)

As a keyboard layout of an Apple platform is a bit different than the PC layout, the keyboard shortcut for jumping to the next previous word is 
Alt/Option+Left, Alt/Option+Right, respectively. These shortcuts are equivalent to Ctrl+Left and Ctrl+Right on a PC.

Indeed, this would suggest that the keyboard shortcut for scrolling source code up/down with fixed cursor would be Alt/Option+Up and 
Alt/Option+Down. It does not hold and there is no (easily found) keyboard shortcut equivalent to Ctrl+Up, Ctrl+Down, respectively, on MacOS.

Is it possible to fix the key bindings so that one can use Alt/Option+Up (Alt/Option+Down) to scroll the source code with the fixed position of caret?

(It seems to work for other platforms and other OS's and the test specification TS_60_JavaEditor says that this shortcut should be possible to use - that's 
why it is a bug in my opinion - the priority of the issue is low though.)
Comment 1 Vitezslav Stejskal 2008-03-11 16:56:22 UTC
Sounds reasonable.
Comment 2 Max Sauer 2008-03-12 12:27:56 UTC
http://hg.netbeans.org/main/rev/62941925efc3
Comment 3 Petr Dvorak 2008-08-19 17:23:09 UTC
This does not work at the moment (200808190201). If I press Alt/Option+Up or Alt/Option+Down, it does not do anything,
it does not scroll the editor... (Did you assign it a different shortcut? It is impossible to find it in keymaps...)
Comment 4 Petr Dvorak 2009-07-02 13:53:23 UTC
Not reproducible in

Product Version: NetBeans IDE Dev (Build 200907020200)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

Verified
Comment 5 Petr Dvorak 2009-07-02 13:57:42 UTC
Sorry - wrong issue - this one is still valid... :(
Comment 6 Martin Balin 2016-07-07 07:32:10 UTC
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