def update_image_size(self): self.buffer.begin_user_action() update_image_size(self) self.buffer.end_user_action()
def update_image_size(self, window): self.set_context(window) self.buffer.begin_user_action() update_image_size(self) self.buffer.end_user_action()