mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 18:20:34 +02:00
IDE: keymapping: codetools shortcuts are now source editor only
git-svn-id: trunk@13112 -
This commit is contained in:
parent
78c4c8abe2
commit
7881c1792d
@ -2298,7 +2298,7 @@ begin
|
|||||||
AddDefault(C,'Procedure List ...',srkmecProcedureList,ecProcedureList);
|
AddDefault(C,'Procedure List ...',srkmecProcedureList,ecProcedureList);
|
||||||
|
|
||||||
// marker - without menu items in the IDE bar
|
// 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, 'Set free Bookmark', lisKMSetFreeBookmark, ecSetFreeBookmark);
|
||||||
AddDefault(C, 'Previous Bookmark', srkmecPrevBookmark, ecPrevBookmark);
|
AddDefault(C, 'Previous Bookmark', srkmecPrevBookmark, ecPrevBookmark);
|
||||||
AddDefault(C, 'Next Bookmark', srkmecNextBookmark, ecNextBookmark);
|
AddDefault(C, 'Next Bookmark', srkmecNextBookmark, ecNextBookmark);
|
||||||
@ -2324,7 +2324,7 @@ begin
|
|||||||
AddDefault(C, 'Set marker 9', lisKMSetMarker9, ecSetMarker9);
|
AddDefault(C, 'Set marker 9', lisKMSetMarker9, ecSetMarker9);
|
||||||
|
|
||||||
// codetools
|
// codetools
|
||||||
C:=Categories[AddCategory('CodeTools',srkmCatCodeTools,IDECmdScopeSrcEdit)];
|
C:=Categories[AddCategory('CodeTools',srkmCatCodeTools,IDECmdScopeSrcEditOnly)];
|
||||||
AddDefault(C, 'Code template completion', srkmecAutoCompletion,
|
AddDefault(C, 'Code template completion', srkmecAutoCompletion,
|
||||||
ecAutoCompletion);
|
ecAutoCompletion);
|
||||||
AddDefault(C, 'Word completion', srkmecWordCompletion, ecWordCompletion);
|
AddDefault(C, 'Word completion', srkmecWordCompletion, ecWordCompletion);
|
||||||
|
@ -11,9 +11,6 @@
|
|||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
Abstract:
|
Abstract:
|
||||||
Under construction by Mattias
|
|
||||||
|
|
||||||
|
|
||||||
Interface unit for IDE commands.
|
Interface unit for IDE commands.
|
||||||
IDE commands are functions like open file, save, build, ... .
|
IDE commands are functions like open file, save, build, ... .
|
||||||
|
|
||||||
@ -52,9 +49,6 @@ const
|
|||||||
3. Add it to EditorCommandToDescriptionString to define the description
|
3. Add it to EditorCommandToDescriptionString to define the description
|
||||||
4. Add it to TKeyCommandRelationList.CreateDefaultMapping to define the
|
4. Add it to TKeyCommandRelationList.CreateDefaultMapping to define the
|
||||||
category.
|
category.
|
||||||
|
|
||||||
IDE experts: They are handled in the IDE interface units.
|
|
||||||
|
|
||||||
}
|
}
|
||||||
ecNone = 0;
|
ecNone = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user