mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Removed unused code
This commit is contained in:
parent
9de470dfa7
commit
055dc97c26
1 changed files with 2 additions and 17 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue