mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 11:50:26 +02:00
added missing ecToggleSearchResults
git-svn-id: trunk@8567 -
This commit is contained in:
parent
9787dc1ed6
commit
5571a611a1
@ -2430,6 +2430,9 @@ begin
|
|||||||
ecToggleObjectInsp:
|
ecToggleObjectInsp:
|
||||||
mnuViewInspectorClicked(Self);
|
mnuViewInspectorClicked(Self);
|
||||||
|
|
||||||
|
ecToggleSearchResults:
|
||||||
|
mnuViewSearchResultsClick(Self);
|
||||||
|
|
||||||
ecAboutLazarus:
|
ecAboutLazarus:
|
||||||
MainIDEBar.itmHelpAboutLazarus.OnClick(Self);
|
MainIDEBar.itmHelpAboutLazarus.OnClick(Self);
|
||||||
|
|
||||||
|
@ -1151,9 +1151,12 @@ end;
|
|||||||
|
|
||||||
Procedure TSourceEditor.ProcessCommand(Sender: TObject;
|
Procedure TSourceEditor.ProcessCommand(Sender: TObject;
|
||||||
var Command: TSynEditorCommand; var AChar: TUTF8Char; Data: pointer);
|
var Command: TSynEditorCommand; var AChar: TUTF8Char; Data: pointer);
|
||||||
// these are normal commands for synedit, define extra actions here
|
// these are normal commands for synedit (lower than ecUserFirst),
|
||||||
// otherwise use ProcessUserCommand
|
// define extra actions here
|
||||||
|
// for non synedit keys (bigger than ecUserFirst) use ProcessUserCommand
|
||||||
begin
|
begin
|
||||||
|
//DebugLn('TSourceEditor.ProcessCommand Command=',dbgs(Command));
|
||||||
|
|
||||||
IdentCompletionTimer.AutoEnabled:=false;
|
IdentCompletionTimer.AutoEnabled:=false;
|
||||||
|
|
||||||
if (FSourceNoteBook<>nil)
|
if (FSourceNoteBook<>nil)
|
||||||
@ -1227,9 +1230,8 @@ var
|
|||||||
Handled: boolean;
|
Handled: boolean;
|
||||||
LogCaret: TPoint;
|
LogCaret: TPoint;
|
||||||
Begin
|
Begin
|
||||||
Handled:=true;
|
|
||||||
|
|
||||||
//debugln('TSourceEditor.ProcessUserCommand A ',dbgs(Command));
|
//debugln('TSourceEditor.ProcessUserCommand A ',dbgs(Command));
|
||||||
|
Handled:=true;
|
||||||
|
|
||||||
case Command of
|
case Command of
|
||||||
|
|
||||||
@ -1384,6 +1386,7 @@ end;
|
|||||||
|
|
||||||
Procedure TSourceEditor.UserCommandProcessed(Sender: TObject;
|
Procedure TSourceEditor.UserCommandProcessed(Sender: TObject;
|
||||||
var Command: TSynEditorCommand; var AChar: TUTF8Char; Data: pointer);
|
var Command: TSynEditorCommand; var AChar: TUTF8Char; Data: pointer);
|
||||||
|
// called after the source editor processed a key
|
||||||
var Handled: boolean;
|
var Handled: boolean;
|
||||||
begin
|
begin
|
||||||
Handled:=true;
|
Handled:=true;
|
||||||
@ -1399,7 +1402,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
Handled:=false;
|
Handled:=false;
|
||||||
if FaOwner<>nil then
|
if FaOwner<>nil then
|
||||||
TSourceNotebook(FaOwner).ParentCommandProcessed(self,Command,aChar,Data,
|
TSourceNotebook(FaOwner).ParentCommandProcessed(Self,Command,aChar,Data,
|
||||||
Handled);
|
Handled);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user