IDE: auto indent: fixed ecPaste line to codetools line mapping

git-svn-id: trunk@22401 -
This commit is contained in:
mattias 2009-11-03 12:49:55 +00:00
parent e750aff51a
commit 8c75e5f632

View File

@ -6823,7 +6823,7 @@ begin
ecLineBreak,ecInsertLine:
CodeBuf.LineColToPosition(LogCaret.Y,LogCaret.X,p);
ecPaste:
CodeBuf.LineColToPosition(FirstLinePos-1,1,p);
CodeBuf.LineColToPosition(FirstLinePos,1,p);
end;
if p<1 then exit;
if FirstLinePos>0 then