Hi,
for the following sample I wonder where walkable position should be:
text:ptext:span
There is the operation test "Remove_backspaceOnlyCharacter" which has as
<before> this structure:
text:ptext:spanA
After inserting a cursor behind A and backspacing the A it expects this:
text:ptext:span
Now README_cursorpositions lists as allowed cursor position this sample:
<p><span>|</span></p>
Who is right?
Playing with LO I found that there the cursor is placed inside the span
(tested by creating an empty document, inserting an "A", marking it and
directly formatting it to bold, removing the A again and saving as .fodt and
inspecting with a text editor, while also seeing that with the empty document
the Bold is toggled and any inserted chars are ending up in the span, being
formatted with Bold).
I tend to think that LO and README_cursorpositions.txt are the better
solution. Otherwise the direct text-property formatting for would need to be
disabled on an empty document, because there is no span which can get text
formatting attributes for the current cursor position.
What do you think?
Cheers
Friedrich
--
Friedrich W. H. Kossebau // KO GmbH
http://kogmbh.com/legal/