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

This commit is contained in:
Martin 2024-02-13 23:09:39 +01:00
parent e9099ab0e8
commit 7044a3b3df

View File

@ -4196,7 +4196,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