mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
SynEdit: Revert 37916 #e54706e814: Play macro in one step (one undo block / BeginUpdate)
git-svn-id: trunk@37918 -
This commit is contained in:
parent
cb8750c0e9
commit
67f2fbcd89
@ -709,14 +709,9 @@ begin
|
||||
fState := msPlaying;
|
||||
try
|
||||
StateChanged;
|
||||
aEditor.BeginUpdate;
|
||||
try
|
||||
for cEvent := 0 to EventCount -1 do begin
|
||||
Events[ cEvent ].Playback( aEditor );
|
||||
if FStopRequested then break;
|
||||
end;
|
||||
finally
|
||||
aEditor.EndUpdate;
|
||||
for cEvent := 0 to EventCount -1 do begin
|
||||
Events[ cEvent ].Playback( aEditor );
|
||||
if FStopRequested then break;
|
||||
end;
|
||||
finally
|
||||
fState := msStopped;
|
||||
|
Loading…
Reference in New Issue
Block a user