SynEdit: clean-up

git-svn-id: trunk@20701 -
This commit is contained in:
martin 2009-06-22 01:44:21 +00:00
parent 063dd74efc
commit 1a7372fe49

View File

@ -5944,14 +5944,10 @@ begin
if LogCaretXY.X > Len + 1 then if LogCaretXY.X > Len + 1 then
LogCaretXY.X := Len + 1; LogCaretXY.X := Len + 1;
FTheLinesView.EditLineBreak(LogCaretXY.X, LogCaretXY.Y); FTheLinesView.EditLineBreak(LogCaretXY.X, LogCaretXY.Y);
if Command = ecLineBreak then begin if Command = ecLineBreak then
FCaret.IncForcePastEOL; CaretXY := Point(1, CaretY + 1)
CaretXY := Point(1, CaretY + 1);
FCaret.DecForcePastEOL;
end
else else
CaretXY := CaretXY; CaretXY := CaretXY;
EnsureCursorPosVisible; //JGF 2000-09-23
end; end;
ecTab: ecTab:
if not ReadOnly then if not ReadOnly then