[Libreoffice] [PUSHED][PATCH] Word count dialog modeless

Caolán McNamara caolanm at redhat.com
Wed Nov 2 07:55:20 PDT 2011


On Wed, 2011-11-02 at 14:39 +0000, Caolán McNamara wrote:
> On Tue, 2011-11-01 at 22:58 -0600, Matt Pratt wrote:
> > I was thinking of an easy hack, but I had to submit a brief summary 
> > recently where word count was limited and it was a pain to have to 
> > continuously open the word count dialog.
> > 
> > I couldn't find a LO bug on this, but there is an OOo one from 2005:
> > 
> > http://openoffice.org/bugzilla/show_bug.cgi?id=46785
> 
> Looks very promising. Only catch so far is that wordcountwrapper.hxx is
> missing from the patch, can you git add that one and send again ?

Oh wait, we don't need that header. Some small chopping and it builds
without it.

So, I've pushed this now. It made me chuckle to see the counts update as
I type along.

There are some titchy little wrinkles worth looking at, e.g. its got
handlers for cursor and mouse move and things like that to update the
count, but not apparently for selecting text by clicking the mouse, i.e.
double click to select a word and single click somewhere else to
unselect the text.

C.



More information about the LibreOffice mailing list