Am 04.10.2011 um 23:04 schrieb Richard Heck: > On 10/04/2011 04:22 PM, Stephan Witt wrote: >> Am 30.09.2011 um 13:13 schrieb LyX Ticket Tracker: >> >>> #7789: Word count will count words in deleted notes (with change tracking) >>> ---------------------+------------------------------------------------------ >>> Reporter: bhelm | Owner: rgheck >>> Type: defect | Status: new >>> Priority: normal | Milestone: >>> Component: changes | Version: 2.0.Xsvn >>> Severity: normal | Keywords: patch >>> ---------------------+------------------------------------------------------ >>> Changes (by stwitt): >>> >>> * cc: stwitt (added) >>> * keywords: => patch >>> -- >>> Ticket URL: <http://www.lyx.org/trac/ticket/7789#comment:1> >> Does anyone has any objection? I'd like to apply the patch. >> > None here. > > That said, if possible, I'd prefer if you could separate this patch into > two parts: > (i) Whatever is actually needed to fix the bug > (ii) The unification and code moving stuff > That would make it easier for me to see what's happening here.
The patch to fix the reported bug is attached. There is one problem: it is incomplete (the word count is fixed, the char counts remain wrong). One may fix the char count like I did it for word count. Or one may unify the count process and have both fixed. This is my final patch. Stephan
ticket-7789-b.patch
Description: Binary data