mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-29 13:27:17 +01:00
IDE: auto indent: fixed ecPaste line to codetools line mapping
git-svn-id: trunk@22401 -
This commit is contained in:
parent
e750aff51a
commit
8c75e5f632
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user