[Libreoffice-bugs] [Bug 65535] Adding a comment in the middle of a word makes it recognised as misspelt by spellchecker

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 16 01:14:58 UTC 2021


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

--- Comment #39 from stragu <stephane.guillou at member.fsf.org> ---
Justin, what do you think of the suggestions in Comment 35?
If that was implemented, there would never be a comment character inside a
word, and therefore correcting a word would never make the comment disappear
(according to what I tested so far).

If the drawbacks of that solution are too big (i.e. if we think that users will
want to have the option to comment at a precise spot inside a word), another
option could be to move the comment only when the word is corrected. The steps
would be:

- User clicks to correct the word / picks a replacement
- LO checks if a comment character is inside the string
- If TRUE, move comment character to end of string
- Replace the string with correction

It would make sense, as there is no straight-forward way to decide where
exactly the comment should end up being located in the new string, which might
be completely different to the original in length and characters.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210716/38c71841/attachment.htm>


More information about the Libreoffice-bugs mailing list