https://bugs.documentfoundation.org/show_bug.cgi?id=156250

            Bug ID: 156250
           Summary: Spellcheck's [Correct] button drops all but one
                    comments
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: difficultyBeginner, easyHack, skillCpp
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 188328
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188328&action=edit
A wrong word with three comments

In the attached document, there is a spelling error "lightninng"; that word has
three comments in it.

1. Make sure that a spell checker is installed for en-US;
2. Start to check spelling (F7);
3. When the word is selected, and a correction is suggested, press [Correct]
button to replace the error with correct spelling.

The "foo" comment will be moved to the end of the replaced word (which is OK);
but the other two comments disappear.

Code pointer:

https://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/textsh1.cxx?r=6591a83a#2125

See how the same thing (keeping comments) is implemented in

https://opengrok.libreoffice.org/xref/core/sw/source/core/table/swtable.cxx?r=3c1fee94#2432

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to