Removed unused code

This commit is contained in:
Alexander 2019-10-26 00:03:05 +03:00
parent 9de470dfa7
commit 055dc97c26

View file

@ -32,6 +32,7 @@ protected override void WndProc(ref Message m)
}
return;
}
base.WndProc(ref m);
}
@ -43,23 +44,7 @@ protected override void OnHandleCreated(EventArgs e)
AutoWordSelection = true;
AutoWordSelection = false;
}
}
public event EventHandler CursorPositionChanged;
protected virtual void OnCursorPositionChanged(EventArgs e)
{
if (CursorPositionChanged != null)
CursorPositionChanged(this, e);
}
protected override void OnSelectionChanged(EventArgs e)
{
if (SelectionLength == 0)
OnCursorPositionChanged(e);
else
base.OnSelectionChanged(e);
}
}
}
public static class RichTextBoxPadding
{