Removed unused code

This commit is contained in:
Alexander 2019-10-04 23:02:12 +03:00
parent e37bdf9d13
commit d5499ae724
2 changed files with 1 additions and 11 deletions

View file

@ -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
{

View file

@ -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