internal void Resume() {
if (UpdatesSuspended) {
UpdatesSuspended = false;
if (TextBufferChangedSinceSuspend) {
TextBufferChangedSinceSuspend = false;
GuardedOperations.DispatchInvoke(() =>
ProcessPendingTextBufferChanges(async: true),
DispatcherPriority.ApplicationIdle);
}
}
}