To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58012





------- Additional comments from [email protected] Mon Oct  5 16:40:54 +0000 
2009 -------
hi chenjunjun,

sorry for taking so long to look at your patch; i simply forgot about it.
having had a look, i'm not sure your proposal is the right approach to fix this
issue.

your patch completely disables merging of text hints, which is not acceptable,
because usually merging is a good idea; only in specific circumstances (like
replace) should merging be disallowed.

the underlying problem is that in the sw core model, the concept of a position
at an attribute change cannot be expressed.
for the sw core model, a position is always between 2 characters, and there may
be several attribute changes between these characters.

currently a replace operation is implemented by first deleting the original
text, and then inserting the pasted/inserted text at the same text position.
unless i am mistaken, in order to implement the desired behaviour, either this
needs to be changed, or we need a higher fidelity position (and a flag to
disable hint merging in this case).


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to