mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-03 14:56:01 +02:00
Separate Close Panel and Close Document
This commit is contained in:
parent
077ebe2659
commit
da508156c1
3 changed files with 50 additions and 6 deletions
|
@ -670,7 +670,7 @@ namespace IDE
|
|||
Add("Breakpoint Toggle Thread", "Shift+F9");
|
||||
Add("Build Solution", "F7");
|
||||
Add("Cancel Build", "Ctrl+Break");
|
||||
Add("Close Panel", "Ctrl+W");
|
||||
Add("Close Document", "Ctrl+W");
|
||||
Add("Compile File", "Ctrl+F7");
|
||||
Add("Comment Selection", "Ctrl+K, Ctrl+C");
|
||||
Add("Duplicate Line", "Ctrl+D");
|
||||
|
@ -890,6 +890,10 @@ namespace IDE
|
|||
let entry = new Entry();
|
||||
entry.mCommand = new String(cmdStr);
|
||||
|
||||
// Fix for command rename
|
||||
if ((cmdStr == "Close Panel") && (!sd.Contains("Close Document")))
|
||||
entry.mCommand.Set("Close Document");
|
||||
|
||||
let keyList = scope List<KeyState>();
|
||||
KeyState.Parse(keyStr, keyList);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue