[Libreoffice] [PUSHED] Re: Fix Bug 32559

Bálint Dózsa dozsabalint at gmail.com
Mon Mar 21 09:36:17 PDT 2011


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 at 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110321/85b7e778/attachment.htm>


More information about the LibreOffice mailing list