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, <caol...@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. > >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice