mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:09:31 +02:00
Restore previous behavior of draw full line selection
This commit is contained in:
parent
210cb8cb74
commit
405484df91
@ -3905,9 +3905,8 @@ begin
|
||||
MoveChar(B,' ',Color,Size.X);
|
||||
GetDisplayTextFormat(AY,LineText,Format);
|
||||
|
||||
{ if FlagSet(efSyntaxHighlight) then MaxX:=length(LineText)+1
|
||||
else }MaxX:=Size.X+Delta.X;
|
||||
for X:=1 to Min(MaxX,Length(LineText)) do
|
||||
MaxX:=Min(Delta.X+1+Size.X,MaxLineLength);
|
||||
for X:=(MaxX-Size.X) to MaxX+1 do
|
||||
begin
|
||||
AX:=Delta.X+X-1;
|
||||
if X<=length(LineText) then C:=LineText[X] else C:=' ';
|
||||
|
Loading…
Reference in New Issue
Block a user