1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00

Comment Selection name change

This commit is contained in:
Brian Fiete 2021-12-21 07:49:57 -05:00
parent dc1a7f9cbb
commit 2735238634
3 changed files with 4 additions and 5 deletions

View file

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

View file

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

View file

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