IDE: Rename TKeyCommandRelationList.CreateDefaultMapping to DefineCommandCategories

git-svn-id: trunk@35480 -
This commit is contained in:
juha 2012-02-19 13:00:01 +00:00
parent 4310d040e2
commit dea040f1e5
3 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ type
public
constructor Create;
destructor Destroy; override;
procedure CreateDefaultMapping;
procedure DefineCommandCategories;
procedure Clear;
function Count: integer;
function CategoryCount: integer; override;
@ -2390,7 +2390,7 @@ begin
inherited Destroy;
end;
procedure TKeyCommandRelationList.CreateDefaultMapping;
procedure TKeyCommandRelationList.DefineCommandCategories;
// Define a category for each command
var
C: TIDECommandCategory;

View File

@ -2159,7 +2159,7 @@ begin
IDECmdScopeSrcEditOnlySyncroEdit.AddWindowClass(TLazSynPluginSyncroEditForm);
IDECmdScopeSrcEditOnlySyncroEditOff.AddWindowClass(TLazSynPluginSyncroEditFormOff);
EditorOpts.KeyMap.CreateDefaultMapping;
EditorOpts.KeyMap.DefineCommandCategories;
end;
procedure TMainIDE.SetupIDEMsgQuickFixItems;

View File

@ -47,7 +47,7 @@ const
1. Add a constant with a unique value in the list below.
2. Add it to GetDefaultKeyForCommand to define the default keys+shiftstates
3. Add it to EditorCommandToDescriptionString to define the description
4. Add it to TKeyCommandRelationList.CreateDefaultMapping to define the category.
4. Add it to TKeyCommandRelationList.DefineCommandCategories to define the category.
}
ecNone = 0;