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

Replace() private method

Used internally, do not call.
private Replace ( int offset, int length, string text ) : void
offset int
length int
text string
return void
        internal void Replace(int offset, int length, string text)
        {
            //			foreach (ISelection selection in selectionCollection) {
            //				if (selection.Offset > offset) {
            //					selection.Offset = selection.Offset - length + text.Length;
            //				} else if (selection.Offset + selection.Length > offset) {
            //					selection.Length = selection.Length - length + text.Length;
            //				}
            //			}
        }