On mobile, we need to deactivate the surface so that
the checks are visible where the virtual keyboard
would be.
Change-Id: Ib108f8a0abb6fe9b503ac394188d3468f9a316cb
The pause is to show the user the result of their
action (sepcifically it was designed for AddReferenceEditCheck
to let them see the reference in the page).
If they reject, there is no need to pause. This applies
to mulit-check too where it would cause a pause before moving on
to the next check.
Change-Id: I57f881b37051cc2e5ea6bda23fea66a2de2b342d
* Don't try to draw the selections/highlights while the sidebar
is opening.
* Only make the scroll call once (after the sidebar is open) to
keep the animation smooth.
Change-Id: I1c1d23b0dad07aa44a2bd10ebb32149e796d6738
'selection' is only used by AddReferenceEditCheck but this can
be done in the act method.
Provide a method for getting highlight selections from
these 'affected fragments' that can be overridden.
Change-Id: Ida661682efd8ae99d945f0e310ea3ce12efc8770
This object just contained a pointer to the surface and dm,
and had one utility method.
Move the method to mw.editcheck, and pass around a surface model
or document model to other methods as appropriate.
Change-Id: Ie81d76dea2823b633328f982ee20027808bfc8e3