mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 15:56:10 +02:00
IDE: fixed uninitialized result
git-svn-id: trunk@22109 -
This commit is contained in:
parent
08dcae4a3e
commit
69cb699ca6
@ -612,9 +612,9 @@ type
|
||||
procedure EditorMouseLink(
|
||||
Sender: TObject; X,Y: Integer; var AllowMouseLink: Boolean);
|
||||
function EditorGetIndent(Sender: TSynCustomBeautifier; Editor: TObject;
|
||||
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer;
|
||||
Reason: TSynEditorCommand;
|
||||
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
|
||||
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer;
|
||||
Reason: TSynEditorCommand;
|
||||
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
|
||||
procedure EditorKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
|
||||
procedure EditorMouseWheel(Sender: TObject; Shift: TShiftState;
|
||||
WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
|
||||
@ -6742,6 +6742,7 @@ function TSourceNotebook.EditorGetIndent(Sender: TSynCustomBeautifier; Editor: T
|
||||
LogCaret: TPoint; var FirstLinePos, LinesCount: Integer; Reason: TSynEditorCommand;
|
||||
SetIndentProc: TSynBeautifierSetIndentProc): Boolean;
|
||||
begin
|
||||
Result:=false;
|
||||
if Assigned(OnGetIndent) then
|
||||
Result := OnGetIndent(Sender, GetActiveSE, LogCaret, FirstLinePos, LinesCount,
|
||||
Reason, SetIndentProc);
|
||||
|
Loading…
Reference in New Issue
Block a user