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

--- Comment #25 from Eyal Rozenberg <[email protected]> ---
Created attachment 205827
  --> https://bugs.documentfoundation.org/attachment.cgi?id=205827&action=edit
A document with differently-formated char sequences for playing with
overwriting

A document with four sequences of 3 characters each, with different highlight
colors. The raw characters are just abcdefghijklm ; with indications of colors,
it's

      green    magenta
       ---       ---
  abc  def  hij  klm
  ---       ---
 yellow     cyan 


Now, let's play... :-)

for a selection of   i.e. colors            overwrite color is
----------------------------------------------------------------
d                    some green             yellow
def                  all green              green
defh                 all green, some cyan   yellow
defhij               all green, all cyan    cyan

this is quite interesting!

1. Non-monotone behavior: We start by taking the "char before selection" over
anything else, then switch to something from within the selection, the switch
_back_, all while expanding the selection on the side that doesn't even border
on the yellow.
2. Inconsistency between behavior on a "full" and "partial" sequence of
identically-formatted characters. This regards what I just told Mike
3. For "full" sequence overwrites, we apparently take the formatting of the
last selected character rather than the first.

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

Reply via email to