On Wed, 2011-11-02 at 14:55 +0000, Caolán McNamara wrote: > 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.
I *think* the right thing to do is to additionally hook into "EndSelect" which gets called when a selection is completed, and "Invalidate" which seems to get called when a selection is discarded. i.e. http://cgit.freedesktop.org/libreoffice/core/commit/?id=0cbcb89fde8cc81db499bc1e388fd53ef6fa3c3f Seems to work anyway. C. _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
