SynEdit: Revert 37916 #e54706e814: Play macro in one step (one undo block / BeginUpdate)

git-svn-id: trunk@37918 -
This commit is contained in:
martin 2012-07-12 13:24:48 +00:00
parent cb8750c0e9
commit 67f2fbcd89

View File

@ -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;