https://issues.apache.org/ooo/show_bug.cgi?id=119421
Priority: P3
Bug ID: 119421
CC: [email protected]
Assignee: [email protected]
Summary: [PATCH] Writer confused by overlapping grammar errors
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: PC
Status: UNCONFIRMED
Version: OOo 3.4 Beta
Component: other
Product: lingucomponent
Created attachment 77604
--> https://issues.apache.org/ooo/attachment.cgi?id=77604&action=edit
fix for the problem - I agree to publish this under the Apache License 2.0 or
later
Having two errors that partly overlap confuses writer, it will show the same
error message for both. That's because only the first error is considered, the
end position is ignored. The attached patch seems to fix this.
If you want to reproduce: download and install
http://www.languagetool.org/download/test/LanguageTool-20120507-snapshot-overlapping-bug-demo.oxt,
create a German document with this text: "Die falle schnappte zu." You will see
two underlines (looks like one because of the overlap): right click on "falle",
then on "schnappte" -> you will get the same error texts and suggestions,
although there are two errors. With the patch, the error does not occur
anymore.
(for reference, this bug also exists in LO at
https://bugs.freedesktop.org/show_bug.cgi?id=49605)
--
You are receiving this mail because:
You are on the CC list for the bug.