IDE: auto indent: using caret position for ecLineBreak

git-svn-id: trunk@22428 -
This commit is contained in:
mattias 2009-11-04 13:57:58 +00:00
parent c614f0dff7
commit 13712e5d89

View File

@ -6851,7 +6851,7 @@ begin
{$IFDEF VerboseIndenter}
DebugLn(['TSourceNotebook.EditorGetIndent Apply to FirstLinePos+1']);
{$ENDIF}
SetIndentProc(FirstLinePos, Indent, 0,' ');
SetIndentProc(LogCaret.Y, Indent, 0,' ');
SrcEdit.CursorScreenXY:=Point(Indent+1,SrcEdit.CursorScreenXY.Y);
end;
ecPaste: