mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 09:36:10 +02:00
SynEdit: fix dragging text, when text has folded areas. Issue #40773 Patch by Olivier Guichard
This commit is contained in:
parent
e9099ab0e8
commit
7044a3b3df
@ -4196,7 +4196,7 @@ begin
|
|||||||
if vf <> 0 then
|
if vf <> 0 then
|
||||||
TopView := TopView + vf div 32;
|
TopView := TopView + vf div 32;
|
||||||
|
|
||||||
FCaret.ViewedLineCharPos := PixelsToRowColumn(CurMousePos);
|
FCaret.LineCharPos:=PixelsToRowColumn(CurMousePos);
|
||||||
|
|
||||||
finally
|
finally
|
||||||
if sfEnsureCursorPos in fStateFlags then
|
if sfEnsureCursorPos in fStateFlags then
|
||||||
|
Loading…
Reference in New Issue
Block a user