Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi LeMoyne,

On Mon, 2010-11-01 at 23:35 -0700, LeMoyne wrote:
[PATCH] Fixes char overcount when selection ends in middle of word  
Patch in sw changes only one object: sw/source/core/txtedt.cxx 

Error was reported by Sophie Gautier on bug 30550
https://bugs.freedesktop.org/show_bug.cgi?id=30550

The patch looks good to me, I pushed it! Many thanks for it.

Still doesn't count hidden paras, hidden or red-lined text.  Also pretty
sure it doesn't count headers and footers and may count notes: it has been a
while since I looked at those (at the Doc level).  Treats any block of
non-space characters as a word.  Counts outline numbers and bullets.  Was
tempted to rip out the bullet count (1 word, 1 char and 1 non-blank char)
but left it as pre-existing comic relief behavior.  

Ok, may be improving these cases would be needed before closing the
issue...

I suggest a 2 column tabular layout of the Word Count dialog as in gedit. 

+1

The paragraph count is held on the same DocStat record as the word and char
counts and is already available to the dialog.  I will redo the dialog
layout if that is not already done a few days from now.  

Great, I'm waiting for your patch ;)

Regards,

--
Cedric




Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.