def text_changed(self, new_text): """text_changed - node text changed by this LEP's editor""" # Update p.b p = self.get_position() sig.lock(self) p.b = new_text # triggers 'body_changed' signal from c self.update_position_view(p) # as we're ignoring signals sig.unlock(self)