SynEdit: optimize syncro edit / skip event if inactive

git-svn-id: trunk@30073 -
This commit is contained in:
martin 2011-03-29 21:25:33 +00:00
parent 1c92a3ea27
commit c3ace57233

View File

@ -1175,8 +1175,10 @@ end;
procedure TSynPluginCustomSyncroEdit.DoPaintLockEnded; procedure TSynPluginCustomSyncroEdit.DoPaintLockEnded;
begin begin
inherited DoPaintLockEnded; inherited DoPaintLockEnded;
if Active then begin
ApplyChangeList; ApplyChangeList;
UpdateCurrentCell; UpdateCurrentCell;
end;
end; end;
procedure TSynPluginCustomSyncroEdit.UpdateCurrentCell; procedure TSynPluginCustomSyncroEdit.UpdateCurrentCell;