ide: remove ecJumpToEditor. ecToggleSourceEditor do the job (the second part of issue #0012140)

git-svn-id: trunk@18876 -
This commit is contained in:
paul 2009-03-03 02:14:20 +00:00
parent 7a6e522055
commit 66d82d4c34
4 changed files with 1 additions and 13 deletions

View File

@ -455,7 +455,6 @@ begin
ecViewForms: SetResult(VK_F12,[ssShift],VK_UNKNOWN,[]);
ecViewUnitDependencies: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecViewUnitInfo: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecJumpToEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleFormUnit: SetResult(VK_F12,[],VK_UNKNOWN,[]);
ecViewAnchorEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleCodeBrowser: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
@ -787,7 +786,6 @@ begin
ecViewForms: SetResult(VK_F12,[ssShift],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecViewUnitDependencies: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecViewUnitInfo: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecJumpToEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleFormUnit: SetResult(VK_F12,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecViewAnchorEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleCodeBrowser: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[],VK_UNKNOWN,[]);
@ -1307,7 +1305,6 @@ begin
ecViewForms: SetResult(VK_U,[ssShift,ssCtrl],VK_UNKNOWN,[]);
ecViewUnitDependencies: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecViewUnitInfo: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecJumpToEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleFormUnit: SetResult(VK_F,[ssMeta,ssAlt],VK_UNKNOWN,[]);
ecViewAnchorEditor: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
ecToggleCodeBrowser: SetResult(VK_UNKNOWN,[],VK_UNKNOWN,[]);
@ -1574,7 +1571,6 @@ begin
ecToggleMarker9 : Result:= Format(srkmecToggleMarker,[cmd-ecToggleMarker0]);
// sourcenotebook
ecJumpToEditor : Result:= srkmecJumpToEditor;
ecNextEditor : Result:= srkmecNextEditor;
ecPrevEditor : Result:= srkmecPrevEditor;
ecMoveEditorLeft : Result:= srkmecMoveEditorLeft;
@ -2222,7 +2218,6 @@ begin
AddDefault(C, 'View Unit Dependencies', lisMenuViewUnitDependencies,
ecViewUnitDependencies);
AddDefault(C, 'View Unit Info', lisKMViewUnitInfo, ecViewUnitInfo);
AddDefault(C, 'Focus to source editor', srkmecJumpToEditor, ecJumpToEditor);
AddDefault(C, 'Toggle between Unit and Form', lisKMToggleBetweenUnitAndForm,
ecToggleFormUnit);
AddDefault(C, 'View Anchor Editor', lisMenuViewAnchorEditor,

View File

@ -1910,7 +1910,6 @@ resourcestring
srkmecToggleMarker = 'Toggle Marker %d';
// sourcenotebook
srkmecJumpToEditor = 'Focus to source editor';
lisKMToggleBetweenUnitAndForm = 'Toggle between Unit and Form';
srkmecNextEditor = 'Go to next editor';
srkmecPrevEditor = 'Go to prior editor';

View File

@ -6094,12 +6094,6 @@ begin
ecOpenFileAtCursor:
OpenAtCursorClicked(self);
ecJumpToEditor:
Begin
// This is NOT implemented yet
end;
ecGotoEditor1..ecGotoEditor9,ecGotoEditor0:
if Notebook.PageCount>Command-ecGotoEditor1 then
Notebook.PageIndex:=Command-ecGotoEditor1;

View File

@ -156,7 +156,7 @@ const
ecQuit = ecFirstLazarus + 214;
// IDE navigation
ecJumpToEditor = ecFirstLazarus + 300;
// ecJumpToEditor = ecFirstLazarus + 300; // empty code replace it with any if you want
ecToggleFormUnit = ecFirstLazarus + 301;
ecToggleObjectInsp = ecFirstLazarus + 302;
ecToggleSourceEditor = ecFirstLazarus + 303;