https://bugs.freedesktop.org/show_bug.cgi?id=50780

             Bug #: 50780
           Summary: Word Count counts comments
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.6.0alpha1
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 62666
  --> https://bugs.freedesktop.org/attachment.cgi?id=62666
Example file to demonstrate Word Count counting comments

The Word Count window counts comments as one-character words (this also means
that comments separate words, just like " " does).

Expected: comments should not be counted at all and should not separate words.

How to reproduce:
1 Start a new Writer document
2 Go to Insert > Comment to add a new comment
3 Go to Tools > Word Count

Observe that the Word Count window now shows the following:

Whole document ------
Words: 1
Characters: 1
Characters excluding spaces: 1

Even though there only is a comment in the window.

(The example attached also demonstrates that the line ending is _not_ counted,
since it contains two comments + one legitimate character which Word Count
shows as 3 words/3 characters.)


Reproducible with:
* LibreOffice 3.5.4, x86-64, Linux
* LibreOffice 3.6 a1+, x86-64, Linux

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to