mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
SynEdit: BiDi painting: fixed endless loop (wrong check for next logic pos)
git-svn-id: trunk@39111 -
This commit is contained in:
parent
4828ed9f53
commit
9ca3e9f405
@ -316,9 +316,7 @@ begin
|
||||
if (FNextMarkupPhysPos < 0) or
|
||||
(FCurMarkupNextRtlInfo.IsRtl and (FNextMarkupPhysPos >= FCurMarkupNextStart.Physical)) or
|
||||
((not FCurMarkupNextRtlInfo.IsRtl) and (FNextMarkupPhysPos <= FCurMarkupNextStart.Physical)) or
|
||||
(FNextMarkupLogPos < 0) or
|
||||
(FCurMarkupNextRtlInfo.IsRtl and (FNextMarkupLogPos >= FCurMarkupNextStart.Logical)) or
|
||||
((not FCurMarkupNextRtlInfo.IsRtl) and (FNextMarkupLogPos <= FCurMarkupNextStart.Logical))
|
||||
(FNextMarkupLogPos < 0) or (FNextMarkupLogPos <= FCurMarkupNextStart.Logical)
|
||||
then begin
|
||||
FMarkupManager.GetNextMarkupColAfterRowCol(FCurTxtLineIdx+1,
|
||||
FCurMarkupNextStart, FCurMarkupNextRtlInfo, FNextMarkupPhysPos, FNextMarkupLogPos);
|
||||
|
Loading…
Reference in New Issue
Block a user