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

--- Comment #44 from Mike Kaganski <mikekagan...@hotmail.com> ---
(In reply to sdc.blanco from comment #33)
> ---test document here ---
> Para 1 – top of page
>     1. List entry 1
>     2. List entry 2
> 
> ---end of test document---
> 
> Test 1
> ...
> 
> Test 2.
> ...
> 
> Test 3.
> ...
> 
> Test 4.
> ...

Let me describe the internal logic here. Maybe that would help you.

When Writer decides which list to continue, it takes into account the selected
part that *has the cursor*. Note that no matter how many separate parts you
select, only one of them has the *blinking cursor* at the position where you
released your mouse button last time. So Writer internally has a selection
object, which may be a list of chunks: "Current selection has three chunks:
[para 1 pos 3 to para 2 pos 6]; [para 2 pos 8 to para 2 pos 13]; [para 3 pos 2
to para 4 pos 10]" (the cursor blinks at para 4 pos 10). The last one would be
the active one, that will be considered.

Now it knows that to decide what list to continue, it needs to use [para 3 pos
2 to para 4 pos 10]; but it will not use the blinking cursor position, but the
*start* of the active chunk, namely, para 3 pos 2 - so it will consider
paragraph 3 properties, not paragraph 4 properties. This is important, since if
paragraph 3 does not have any *previous* lists, it will be unable to have any
list to continue, and the command will be unavailable.

Hope this helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to