Created attachment 69895 [details] I don't know, it's a bug --' Problem description: Steps to reproduce: When you write a text : Current behavior: the count number of words is fasle when you put "!" "?"... and other signs. Expected behavior:give the true number of words in the text Platform (if different from the browser): Windows Ultimate 7 64bits Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
(I hope I am not hijacking this bug with another problem here. That said, I've changed the name of it from "EDITING: Bug in Count number") So, the problem seems to be that interpunction, when standing separated from words by line breaks and (unprotected!) spaces, is counted as words. For example, the text ! . – is counted as three words. I can reproduce this behaviour on LibreOffice 4.0 beta 1, Windows 8
WORKSFORME OSX 10.9.4, LO 4.3.0.4 Open writer, enter "Testing one two! Test?" -> LO says: 4 words. SUCCESS! :) Should this persist for you with LO 4.3.0.4 or above please reopen with more info. Also works under Win8.1.
Zdeněk Crhonek committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5db29ca06b56bb235b0e8dfd0956715730f9cf0d uitest-Word Count;tdf#68347 tdf#91100 tdf#58050 tdf#56975 tdf#56975 It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I tested this expression: "! . –" -> 2 words I tested with: "Testing one two! Test?" ---> 4 words It is ok like that? Version: 6.2.0.0.alpha0+ Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2 CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54 Locale: en-US (ro_RO.UTF-8); Calc: threaded
I tested this expression: "! . –" -> 2 words I tested with: "Testing one two! Test?" ---> 4 words Version: 6.2.0.0.alpha0+ Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2 CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54 Locale: en-US (ro_RO.UTF-8); Calc: threaded