1
0
Fork 0
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:
Brian Fiete 2020-09-28 05:56:09 -07:00
parent 077ebe2659
commit da508156c1
3 changed files with 50 additions and 6 deletions

View file

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