openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
Subject Re: [Issue 54923] No obvious way to quickly increase/decrease font-size from the keyboard
Date Wed, 08 Apr 2015 13:46:45 GMT
On Tue, Apr 07, 2015 at 08:46:10AM -0400, Patrick Lynn wrote:
> --- oldAccelerators.xcu	2015-03-31 11:23:58.838929202 -0400
> +++ Accelerators.xcu	2015-04-06 17:53:01.142849021 -0400
> @@ -4480,6 +4480,11 @@
>        <value xml:lang="en-US">.uno:RepeatSearch</value>
>       </prop>
>      </node>
> +    <node oor:name="GREATER_SHIFT_MOD1" oor:op="replace">
> +     <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS
- NO TRANSLATE</value>
> +      <value xml:lang="en-US">.uno:Shrink</value>
> +     </prop>
> +    </node>
>      <node oor:name="G_MOD1" oor:op="replace">
>       <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS
- NO TRANSLATE</value>
>        <value xml:lang="de">.uno:RepeatSearch</value>
> @@ -4566,6 +4571,11 @@
>        <value xml:lang="en-US">.uno:WordLeftSel</value>
>       </prop>
>      </node>
> +    <node oor:name="LESS_SHIFT_MOD1" oor:op="replace">
> +     <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS
- NO TRANSLATE</value>
> +      <value xml:lang="en-US">.uno:Shrink</value>
> +     </prop>
> +    </node>
>      <node oor:name="L_MOD1" oor:op="replace">
>       <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS
- NO TRANSLATE</value>
>        <value xml:lang="en-US">.uno:LeftPara</value>

a) You are using the same command, .uno:Shrink. You should use two
different commands, ".uno:Shrink" and ".uno:Grow"

b) and these commands should be bound to different key strokes. In my
keyboard layout both GREATER_SHIFT_MOD1 and LESS_SHIFT_MOD1 are the
same, see Regina's answer.

In my keyboard, < is next to SHIFT, and > is on the same key as < but
has to be accessed with SHIFT. That's why in the demo extension I used
LESS_MOD1 and GREATER_SHIFT_MOD1.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message