#4689: Add shortcuts to StyledEdit --------------------------------------+------------------------- Reporter: ilembitov | Owner: korli Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Applications/StyledEdit | Version: R1/alpha1 Resolution: | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: --------------------------------------+------------------------- Comment (by negusnyul): I attached a patch that adds 4 new shortcuts: 1. B_COMMAND_KEY + B_OPTION_KEY + R -> Align right 2. B_COMMAND_KEY + B_OPTION_KEY + L -> Align left 3. B_COMMAND_KEY + B_OPTION_KEY + C -> Align center 4. B_COMMAND_KEY + B_OPTION_KEY + W -> Word wrap on/off With this patch, every significant feature in StyledEdit will have a shortcut except font styles. About the font styles: It's doable to add font style shortcuts, but I'm strongly against it, because of these issues: 1. Inconsistent. Some fonts support bold/italic/underlined/etc. style, some fonts not. It can be annoying for the users that after changing font, some shortcuts aren't working anymore. (And after another change, they're working again - or not: it depends on the font.) 2. It's a not-so-nice 'hack': We probably need to change some menuitem's shortcut when the user changes the current font (and also take care of cases when there is no bold/italic/underlined styles). If we want shortcuts for these features anyway, I think we should rewrite the font handling part to a more commonly used style (like in OpenOffice, etc.). However, I think the current solution is OK because StyleEdit is not a full-featured word processor, and shortcuts for these font style functions aren't so necessary at all. -- Ticket URL: <http://dev.haiku-os.org/ticket/4689#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.