ICSharpCode.TextEditor.Document.SelectionManager.ClearWithoutUpdate C# (CSharp) Method

ClearWithoutUpdate() private method

private ClearWithoutUpdate ( ) : void
return void
        void ClearWithoutUpdate()
        {
            while (selectionCollection.Count > 0) {
                ISelection selection = selectionCollection[selectionCollection.Count - 1];
                selectionCollection.RemoveAt(selectionCollection.Count - 1);
                document.RequestUpdate(new TextAreaUpdate(TextAreaUpdateType.LinesBetween, selection.StartPosition.Y, selection.EndPosition.Y));
                OnSelectionChanged(EventArgs.Empty);
            }
        }