mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
SynEdit: fix folded view, missing assign to result. (random gutter errors with wrapped text)
This commit is contained in:
parent
5eded0d07e
commit
d121ba841e
@ -863,7 +863,7 @@ end;
|
|||||||
function TLazSynDisplayFold.ViewToTextIndex(AViewIndex: TLineIdx): TLineIdx;
|
function TLazSynDisplayFold.ViewToTextIndex(AViewIndex: TLineIdx): TLineIdx;
|
||||||
begin
|
begin
|
||||||
Result := FFoldView.InternViewToTextIndex(AViewIndex);
|
Result := FFoldView.InternViewToTextIndex(AViewIndex);
|
||||||
inherited ViewToTextIndex(Result)
|
Result := inherited ViewToTextIndex(Result)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TLazSynDisplayFold.ViewToTextIndexEx(AViewIndex: TLineIdx; out
|
function TLazSynDisplayFold.ViewToTextIndexEx(AViewIndex: TLineIdx; out
|
||||||
|
Loading…
Reference in New Issue
Block a user