SynEdit: fix dragging text, when text has folded areas. Issue Patch by Olivier Guichard

(cherry picked from commit 7044a3b3df)
This commit is contained in:
Martin 2024-02-13 23:09:39 +01:00
parent 60d9e7d2d9
commit f1632e6291

View File

@ -4179,7 +4179,7 @@ begin
if vf <> 0 then
TopView := TopView + vf div 32;
FCaret.ViewedLineCharPos := PixelsToRowColumn(CurMousePos);
FCaret.LineCharPos:=PixelsToRowColumn(CurMousePos);
finally
if sfEnsureCursorPos in fStateFlags then