Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


I will try to change this.
So we need to detect the current case of the word.

When the word is APPLE:
nF3ShiftCounter=2;
When the word is Apple:
nF3ShiftCounter=1;
And when the word is apple:
nF3ShiftCounter=0;

Balint

2011. március 21. 14:34 Caolán McNamara írta, <caolanm@redhat.com>:

On Sat, 2011-03-19 at 15:12 +0100, Bálint Dózsa wrote:
I did tentatively the modification for calc, and draw. It works for
me.

So, all pushed, thanks for these and your work.

There are some potential improvements, e.g. the case rotation works off
a counter which on the face of it would seem reasonable. But e.g. type

APPLE BANANA

select APPLE, press shift+f3, get apple, select BANANA, press shift+f3
get Banana rather than banana, seeing as the mode's state was
incremented the last time and reused.

Some possibilities to improve it would be to try and drop the stateful
mode variable and instead attempt to detect the current case of the
selection and then try the next case, falling back to just the first
case option if the selection is mixed case.

C.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.