| Summary: | StyledText and Text keybindings differ on Mac | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Randy Hudson <hudsonr> |
| Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | andre_weinand, douglas.pollock, eclipse.felipe |
| Version: | 3.1 | ||
| Target Milestone: | 3.2 RC2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 95950 | ||
|
Description
Randy Hudson
COMMAND+ARROW_LEFT => line start (visual start in case of wrapped line) COMMAND+ARROW_RIGHT => line end (visual end in case of wrapped line) COMMAND+ARROW_UP => document start COMMAND+ARROW_DOWN => document end ALT+ARROW_LEFT => previous word ALT+ARROW_RIGHT => next word (ALT+ARROW_UP => line start (logical start in case of wrapped line)) (ALT+ARROW_DOWN => line end (logical start in case of wrapped line)) StyledText only has one notion of 'line start' doesn't matter if the line wraps or not. Therefore I won't add binding to ALT+ARROW_UP and ALT+ARROW_DOWN to StyledText. I've the code ready to be released for RC1 but if I release it and nobody else does it we gonna break carbon-eclipse. I'm not sure these look right. At the very least, "Command+Right" is reserved for changing keyboard layouts. Please see "http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGKeyboardShortcuts/chapter_20_section_1.html". (In reply to comment #3) > I'm not sure these look right. At the very least, "Command+Right" is reserved > for changing keyboard layouts. > Please see > "http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuide lines/XHIGKeyboardShortcuts/chapter_20_section_1.html". Who cares. The native Text control uses Command+Right, Safari uses it, and so does Eclipse 3.0. Obviously changing Roman scripts or whatever is not something that a normal Mac user does. FH, HOME and END will continiue to work too, right? Not sure what to do about HOME and END keys, do you want keep the current behaviour (line start, line end)? In native behaviour is: home - scroll left; end - scroll right. But I don't have these in ST. (In reply to comment #5) > Not sure what to do about HOME and END keys, do you want keep the current > behaviour (line start, line end)? In native behaviour is: home - scroll left; > end - scroll right. But I don't have these in ST. I think HOME == CTRL+HOME on win32, END = CTRL+END on win32. The scroll behavior depends on whether you have MULTI/WRAP set, it seems. |