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

             Bug #: 49605
           Summary: [PATCH] Writer confused by overlapping grammar errors
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.3 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Linguistic component
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 61191
  --> https://bugs.freedesktop.org/attachment.cgi?id=61191
fix

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 one "schnappte" -> you will get the same error texts and suggestions,
although there are two errors. With the patch, the error does not occur
anymore.

-- 
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