diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-06 15:26:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-10-06 17:12:45 +0200 |
commit | 0a4d77f35e96e4dfdf69cc5ceb788ddaa849084c (patch) | |
tree | 33373508e1f3f212a420297cd9a493315a55b477 /cui/uiconfig/ui | |
parent | 54e86f708cf0274ec6b2536200802cf6f406101d (diff) |
SwTxtNode::Update: don't move anchors at insert position
Use cases:
1) User of the XTextAppend API's uses appendTextPortion(), then
appendTextContent(), then appendTextPortion() again. It's expected that
the text content will be in the middle of the paragraph, but before, it
was at the end of it.
It's possible to work this around by inserting the text contents only at
the end of the paragraph (like it's done for ODF import in
XMLParaContext::~XMLParaContext()), but probably it's not a good idea to
copy&paste this workaround in all the import filters.
2) User types some characters in a new document, then inserts a picture,
and sets anchor type to at-char. Now the anchor point is set to the end
of the paragraph, but it's impossible to type anything after that
character.
To be fair, now it's not possible to type something *before* the anchor
point, if it's at the first character, but hopefully that's less of an
issue, since setting the anchor type to at-char sets it to the end of
the paragraph, not at the start of it.
Change-Id: Ia8b33e8880aae86f62fae09cd5ac1cf82c83320f
Diffstat (limited to 'cui/uiconfig/ui')
0 files changed, 0 insertions, 0 deletions