public void Redo() { TextPoint p = Document.Redo(); if (p.X != - 1 && p.Y != - 1) { Caret.Position = p; Selection.ClearSelection(); ScrollIntoView(); } }