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

--- Comment #49 from sdc.bla...@youmail.dk ---
(In reply to Mike Kaganski from comment #46)
> No, and actually your test 4 is the example that you ask for:
Thanks. It is tricky (impossible?) to summarize succinctly, because there are
multiple ways to make selections in multiple environments.

But to start:

Rule 1. position of *start* of active chunk determines whether or not there is
a list to continue, which determines whether "continue previous numbering"
command is active in menu/tb.

    But it is not so intelligent, because it also uses itself as a list, 
    so it sometimes shows itself as active, when there is nothing to continue.

    Examples:

    (a)  Test 6
         1. Select "List entry 2"

     Result:  "Continue previous numbering" is active (but nothing 
              happens when clicked).

    (b)  Technique D, comment 15 is another example.

Rule 2.  When "continue previous numbering" is active, and the active chunk is
in only one list (when and two or more different lists are selected), then
"Position of cursor" is functionally equivalent to "position of active chunk"
(afaict), and the list formatting for the position of the "active chunk"/cursor
is applied to all the selected paragraphs (regardless of their list status).
(this is background for my "last-selected wins", which I can see now is a
useful heuristic, but not the operative principle).  (These are illustrated
with Techniques A and B in comment 15)

Rule 3. There is another situation that I cannot explain with the "logic" (as I
have understood it).

This is the "exception to Technique D" or in positive terms "Technique C" which
is also the case that was added to the help:

"Add Consecutive List Entries to an Immediately Prior List"
1. Select one or more consecutive list entries, starting from the first entry,
that you want to add to the immediately prior list.

(in this case, the prior list formatting is applied, regardless of which
direction the entries are selected.  This is an exception to rule 2, because
the formatting of the "position of chunk"/cursor is not being applied. And
"start of chunk" does not seem to matter -- in the sense that one can select in
either direction, but the result is the same.  But I cannot see how to twist
the information in comment 44 to explain this case.

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