SynEdit: fix folded view, missing assign to result. (random gutter errors with wrapped text)

This commit is contained in:
Martin 2025-01-25 21:40:13 +01:00
parent 5eded0d07e
commit d121ba841e

View File

@ -863,7 +863,7 @@ end;
function TLazSynDisplayFold.ViewToTextIndex(AViewIndex: TLineIdx): TLineIdx;
begin
Result := FFoldView.InternViewToTextIndex(AViewIndex);
inherited ViewToTextIndex(Result)
Result := inherited ViewToTextIndex(Result)
end;
function TLazSynDisplayFold.ViewToTextIndexEx(AViewIndex: TLineIdx; out