HomePhabricator

Protect against offset=-1 in insertContent()

Authored by Catrope.

Description

Protect against offset=-1 in insertContent()

The annotation code here is much much too simplistic.
We probably want to either use the insertionAnnotations,
or factor out the code that computes the insertionAnnotations
in ve.dm.Surface#setSelection.

Bug: 72558
Change-Id: I6cb35e12e92d8adc06453f87a3596ef8b57ec54f

Details

Committed
CatropeNov 3 2014, 10:58 PM
Parents
rGVEDb7b56dda4104: Merge "[BREAKING CHANGE] Unisolate dialogs"
Branches
Unknown
Tags
Unknown
ChangeId
I6cb35e12e92d8adc06453f87a3596ef8b57ec54f