mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 07:58:16 +02:00
IDE: auto indent: move caret to indent
git-svn-id: trunk@22115 -
This commit is contained in:
parent
07649baa56
commit
6aed7efee7
@ -14185,6 +14185,7 @@ begin
|
||||
if (Reason=ecLineBreak) or (Reason=ecInsertLine) then begin
|
||||
SetIndentProc(FirstLinePos+1, Indent, 0,' ');
|
||||
DebugLn(['TMainIDE.OnSrcNoteBookGetIndent END Indent=',Indent]);
|
||||
SrcEditor.CursorScreenXY:=Point(Indent+1,SrcEditor.CursorScreenXY.Y);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user