mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 13:39:21 +02:00
SourceEditor: Fix indent with more than window
git-svn-id: trunk@24232 -
This commit is contained in:
parent
dac2e43b34
commit
220072f09b
@ -6435,7 +6435,8 @@ var
|
||||
CodeBuf: TCodeBuffer;
|
||||
begin
|
||||
Result:=false;
|
||||
SrcEdit:=GetActiveSE;
|
||||
//SrcEdit:=GetActiveSE;
|
||||
SrcEdit := Manager.ActiveEditor; // Todo: Each SynEdits need thier own Beautifier, otherwise they call the wrong notebook
|
||||
if assigned(Manager) and Assigned(Manager.OnGetIndent) then begin
|
||||
Result := Manager.OnGetIndent(Sender, SrcEdit, LogCaret, OldLogCaret, FirstLinePos, LastLinePos,
|
||||
Reason, SetIndentProc);
|
||||
|
Loading…
Reference in New Issue
Block a user