Maximilian Odendahl wrote:
Hi,
once you click inside a note, the note receives the focus and any
selection inside Writer is cancelled, the cursor travels to the notes
anchor location as well.
But this does not work, if a field or special formatting mark is
selected. The selection is not cancelled and the selection therefore
spans from the old selection to the note's anchor location.
Any idea where the bug is/where I need to search and where the
field/marker selection needs to be canceled as well?
Hi,
SwWrtShell::fnKillSel() is set to SwWrtShell::Ignore() if a field is
selected. For normal text selection this function is set to
SwWrtShell::ResetSelect().
This happens in SwWrtShell::GotoField(). It might make sense to replace
the call of fnKillSel() to ResetSelect().
Regards,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]