Ctrl-Tab: Next tab
Ctrl-Shit-Tab: Previous tab
+Ctrl-W: Close current tab
Ctrl-G: Open map and go to the SLURL in the clipboard
Ctrl-Shift-H: Teleport Home</value>\r
\r
private void frmMain_KeyDown(object sender, KeyEventArgs e)\r
{\r
+ // Ctrl-W: Close tab\r
+ if (e.Modifiers == Keys.Control && e.KeyCode == Keys.W)\r
+ {\r
+ e.Handled = e.SuppressKeyPress = true;\r
+ RadegastTab tab = tabsConsole.SelectedTab;\r
+ \r
+ if (tab.AllowClose)\r
+ {\r
+ tab.Close();\r
+ }\r
+ else if (tab.AllowHide)\r
+ {\r
+ tab.Hide();\r
+ }\r
+\r
+ return;\r
+ }\r
+\r
// Ctl-Shift-H: Teleport Home\r
if (e.Modifiers == (Keys.Control | Keys.Shift) && e.KeyCode == Keys.H)\r
{\r