IDE: keymapping: codetools shortcuts are now source editor only

git-svn-id: trunk@13112 -
This commit is contained in:
mattias 2007-12-01 23:58:53 +00:00
parent 78c4c8abe2
commit 7881c1792d
2 changed files with 2 additions and 8 deletions

View File

@ -2298,7 +2298,7 @@ begin
AddDefault(C,'Procedure List ...',srkmecProcedureList,ecProcedureList);
// marker - without menu items in the IDE bar
C:=Categories[AddCategory('Marker',srkmCatMarker,IDECmdScopeSrcEdit)];
C:=Categories[AddCategory('Marker',srkmCatMarker,IDECmdScopeSrcEditOnly)];
AddDefault(C, 'Set free Bookmark', lisKMSetFreeBookmark, ecSetFreeBookmark);
AddDefault(C, 'Previous Bookmark', srkmecPrevBookmark, ecPrevBookmark);
AddDefault(C, 'Next Bookmark', srkmecNextBookmark, ecNextBookmark);
@ -2324,7 +2324,7 @@ begin
AddDefault(C, 'Set marker 9', lisKMSetMarker9, ecSetMarker9);
// codetools
C:=Categories[AddCategory('CodeTools',srkmCatCodeTools,IDECmdScopeSrcEdit)];
C:=Categories[AddCategory('CodeTools',srkmCatCodeTools,IDECmdScopeSrcEditOnly)];
AddDefault(C, 'Code template completion', srkmecAutoCompletion,
ecAutoCompletion);
AddDefault(C, 'Word completion', srkmecWordCompletion, ecWordCompletion);

View File

@ -11,9 +11,6 @@
*****************************************************************************
Abstract:
Under construction by Mattias
Interface unit for IDE commands.
IDE commands are functions like open file, save, build, ... .
@ -52,9 +49,6 @@ const
3. Add it to EditorCommandToDescriptionString to define the description
4. Add it to TKeyCommandRelationList.CreateDefaultMapping to define the
category.
IDE experts: They are handled in the IDE interface units.
}
ecNone = 0;