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

--- Comment #9 from Gerhard Weydt <[email protected]> ---
(In reply to Justin L from comment #8)
> I would tend to mark this as a WONTFIX.
> 1.) What defines the "end of the document?" If there are 3 empty paragraph
> markers at the end of the document - is the second last one not "the end of
> the document"? 
> 
> 2.) I can imagine that there are very good reasons in general for only
> spell-checking to the end of the document, and not automatically wrapping
> around to "end at the spellcheck's starting point". In other words, having
> the dialog at all is important for various work flows, and shouldn't be
> eliminated altogether.
> 
> 3.) Making exceptions to the simple case of reached-the-end-of-the-document
> will simply be very error prone. Already we have edge cases of
> end-of-the-document -> footnotes -> draw objects -> comments etc.
> 
> In other words, what seems simple to a human (I'm at the end of the
> document) is not at all simple to LibreOffice. The risk/benefit of code
> complexity here is not worth it IMHO.

You seem to misunderstand the situation. It seems that the case of the postion
of the cursor at the end of the document is treated differently:
* In the test document: put the cursor in the second line and start
spellchecking -> message as descibed
* ut the cursor one poitionto the left,  i.e at end of first line (after the
errors!) -> the entire document is checked, starting at the beginning
So treating the first case (corsor at end-of-document) like the rest would
_reduce_ the complexity of the code!
It might be otherwise if the checking started at the cursor position, but this
is not the case, the entire document is checked.

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

Reply via email to