diff --git a/IDE/src/Commands.bf b/IDE/src/Commands.bf index c7eeb2cf..7883e4b2 100644 --- a/IDE/src/Commands.bf +++ b/IDE/src/Commands.bf @@ -196,7 +196,7 @@ namespace IDE Add("Close Workspace", new => gApp.[Friend]Cmd_CloseWorkspaceAndSetupNew); Add("Comment Block", new => gApp.[Friend]CommentBlock); Add("Comment Lines", new => gApp.[Friend]CommentLines); - Add("Comment Selection", new => gApp.[Friend]CommentSelection); + Add("Comment Toggle", new => gApp.[Friend]CommentToggle); Add("Compile File", new => gApp.Cmd_CompileFile); Add("Debug All Tests", new () => { gApp.[Friend]RunTests(true, true); }); Add("Debug Normal Tests", new () => { gApp.[Friend]RunTests(false, true); }); diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 0c695e54..7d2391f8 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -2446,7 +2446,7 @@ namespace IDE } [IDECommand] - void CommentSelection() + void CommentToggle() { var sewc = GetActiveSourceEditWidgetContent(); if (sewc != null) @@ -5409,7 +5409,7 @@ namespace IDE AddMenuItem(advancedEditMenu, "Make Lowercase", "Make Lowercase"); AddMenuItem(advancedEditMenu, "Comment Block", "Comment Block"); AddMenuItem(advancedEditMenu, "Comment Lines", "Comment Lines"); - AddMenuItem(advancedEditMenu, "Comment Selection", "Comment Selection"); + AddMenuItem(advancedEditMenu, "Comment Toggle", "Comment Toggle"); AddMenuItem(advancedEditMenu, "Uncomment Selection", "Uncomment Selection"); AddMenuItem(advancedEditMenu, "Reformat Document", "Reformat Document"); mViewWhiteSpace.mMenu = AddMenuItem(advancedEditMenu, "View White Space", "View White Space", null, null, true, mViewWhiteSpace.Bool ? 1 : 0); diff --git a/IDE/src/Settings.bf b/IDE/src/Settings.bf index e81f8344..ba5e5d39 100644 --- a/IDE/src/Settings.bf +++ b/IDE/src/Settings.bf @@ -756,9 +756,8 @@ namespace IDE Add("Cancel Build", "Ctrl+Break"); Add("Close Document", "Ctrl+W"); Add("Compile File", "Ctrl+F7"); - Add("Comment Block", "Ctrl+K, Ctrl+B"); + Add("Comment Block", "Ctrl+K, Ctrl+C"); Add("Comment Lines", "Ctrl+K, Ctrl+L"); - Add("Comment Selection", "Ctrl+K, Ctrl+C"); Add("Duplicate Line", "Ctrl+D"); Add("Find Class", "Alt+Shift+L"); Add("Find in Document", "Ctrl+F");