Somehow rev 5259 was lost. This was a happy accident, because the new fix make more sense.
Here is the checkin log for rev 5262:
Fixed bug 981849: "incorrect body content shown": leoQTextEditWidget.setInsertPoint now uses more careful code in setSelectionRangeHelper
Also removed g.restore_selection_range.
All unit tests pass.
Somehow rev 5259 was lost. This was a happy accident, because the new fix make more sense.
Here is the checkin log for rev 5262:
Fixed bug 981849: "incorrect body content shown": leoQTextEditWid get.setInsertPo int now uses more careful code in setSelectionRan geHelper
Also removed g.restore_ selection_ range.
All unit tests pass.