mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 09:29:27 +02:00
TurboPower_iPro: Improved selection behavior if first selection click is left of line start.
git-svn-id: trunk@50190 -
This commit is contained in:
parent
9c9b31c0e5
commit
2b355340cc
@ -7791,7 +7791,7 @@ begin
|
||||
CurBlock := PIpHtmlRectListEntry(RectList[StartSelIndex]).Block;
|
||||
{if FAllSelected and (CurBlock <> nil) then
|
||||
break;}
|
||||
if PtInRect(CurBlock.PageRect, FStartSel) then begin
|
||||
// if PtInRect(CurBlock.PageRect, FStartSel) then begin
|
||||
R := PIpHtmlRectListEntry(RectList[StartSelIndex]).Rect;
|
||||
if R.Bottom = 0 then
|
||||
else
|
||||
@ -7809,7 +7809,7 @@ begin
|
||||
else
|
||||
if (R.Left >= FStartSel.x) and (R.Right <= FEndSel.x) then
|
||||
break;
|
||||
end;
|
||||
// end;
|
||||
Inc(StartSelIndex);
|
||||
end;
|
||||
if StartSelIndex >= RectList.Count then Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user