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
e37bdf9d13
commit
d5499ae724
2 changed files with 1 additions and 11 deletions
|
|
@ -60,15 +60,6 @@ protected override void OnSelectionChanged(EventArgs e)
|
|||
else
|
||||
base.OnSelectionChanged(e);
|
||||
}
|
||||
|
||||
protected override void OnKeyDown(KeyEventArgs e)
|
||||
{
|
||||
if (GetLineFromCharIndex(SelectionStart) == 0 && e.KeyData == Keys.Up ||
|
||||
GetLineFromCharIndex(SelectionStart) == GetLineFromCharIndex(TextLength) && e.KeyData == Keys.Down ||
|
||||
SelectionStart == TextLength && e.KeyData == Keys.Right ||
|
||||
SelectionStart == 0 && e.KeyData == Keys.Left
|
||||
) e.Handled = true;
|
||||
}
|
||||
}
|
||||
public static class RichTextBoxPadding
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1347,8 +1347,6 @@ private void DocsMainMenu_Click(object sender, EventArgs e)
|
|||
|
||||
private void UpdatesMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
//Thread up = new Thread(() => CheckForUpdates(true));
|
||||
//up.Start();
|
||||
CheckForUpdates(true);
|
||||
}
|
||||
|
||||
|
|
@ -1650,6 +1648,7 @@ private void VariablesMainMenu_Click(object sender, EventArgs e)
|
|||
Debug.WriteLine("EditorMenuStrip: " + contextMenu.Enabled);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue