mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 14:22:49 +02:00
SynEdit: Cleanup, removed unused variables
git-svn-id: trunk@19104 -
This commit is contained in:
parent
5bb8ad3f37
commit
c9570a9b46
@ -5643,7 +5643,6 @@ var
|
||||
s: string;
|
||||
{$ENDIF}
|
||||
counter: Integer;
|
||||
InsDelta: integer;
|
||||
LogCounter: integer;
|
||||
LogCaretXY: TPoint;
|
||||
CY: Integer;
|
||||
@ -5986,7 +5985,6 @@ begin
|
||||
Temp2 := Temp; //LineText;
|
||||
// This is sloppy, but the Right Thing would be to track the column of markers
|
||||
// too, so they could be moved depending on whether they are after the caret...
|
||||
InsDelta := Ord( (CaretX = 1) AND (Command = ecLineBreak) );
|
||||
LogCaretXY:=PhysicalToLogicalPos(CaretXY);
|
||||
Len := Length(Temp);
|
||||
if LogCaretXY.X > Len + 1 then
|
||||
|
@ -595,9 +595,8 @@ var
|
||||
|
||||
procedure DeleteSelection;
|
||||
var
|
||||
y, l, r, xb, xe, MarkOffset: Integer;
|
||||
y, l, r, xb, xe: Integer;
|
||||
begin
|
||||
MarkOffset := 0;
|
||||
case ActiveSelectionMode of
|
||||
smNormal:
|
||||
begin
|
||||
@ -655,7 +654,6 @@ var
|
||||
if BE.Y >= BB.Y then
|
||||
FLines.EditLinesDelete(BB.Y, BE.Y - BB.Y + 1);
|
||||
FCaret.LineCharPos := Point(1, BB.Y);
|
||||
MarkOffset := 1;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user