Abdelrazak Younes a écrit :
Jean-Marc Lasgouttes a écrit :
[...]
4/ undo

5/ see how the end of the first paragraph has been duplicated at the
end.
[...]
I think I know the reason... It comes from back when I converted from (start, end) style to (start, length) style and I think the bug is in
"bool erase(iterator start, iterator end)"

'erase(startpos, endpos - startpos)' should be 'erase(startpos, endpos - startpos+1)', I'll recompile and see if that fixes it.

No, It's not that... This is very weird, the remaining part the paragraph you are breaking is replacing the second paragraph after the break. It seems like black magic :-(

Abdel.

Reply via email to