[Libreoffice] [PUSHED] Re: Fix Bug 32559

Jeroen van Rijn jvrnix at gmail.com
Mon Mar 21 13:37:22 PDT 2011


On Mon, Mar 21, 2011 at 21:27, Caolán McNamara <caolanm at redhat.com> wrote:

> On Mon, 2011-03-21 at 17:36 +0100, Bálint Dózsa wrote:
> > 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;
>
> basically yeah, and pick some consistent for e.g. aAPPle


The case of the first letter would be consistent? a for aAPPle and A for
AappLE. You could also try and figure out whether more than average amount
of letters is a certain case, but then what to do on a tie?

Going with the first letter would 'the least surprising'?

Regards,
Jeroen.

-- 
That amount of awesome cannot be from concentrate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110321/d6e3d3aa/attachment.htm>


More information about the LibreOffice mailing list