mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-28 10:49:14 +02:00
SynEdit: more precise change indicator gutter. Issue #30152
git-svn-id: trunk@52478 -
This commit is contained in:
parent
26ab38896c
commit
2a7afe821b
@ -1345,9 +1345,10 @@ begin
|
||||
inc(Y1);
|
||||
Insert(LogY, copy(s, LogX, length(s)));
|
||||
CurUndoList.AddChange(TSynEditUndoTxtLineBreak.Create(LogY));
|
||||
Y2 := LogY;
|
||||
if LogX > 1 then
|
||||
inc(Y2);
|
||||
Y2 := LogY + 1
|
||||
else
|
||||
Y2 := Y1;
|
||||
MarkModified(Y1, Y2);
|
||||
SendNotification(senrEditAction, self, LogY, 1, LogX, 0, '');
|
||||
DecIsInEditAction;
|
||||
|
Loading…
Reference in New Issue
Block a user