def METHOD_NAME(self):
    # make sure we remove ourselves as an observer of the text storage
    view = self.clientView()
    if view is not None:
        NSNotificationCenter.defaultCenter().removeObserver_name_object_(self, NSTextStorageDidProcessEditingNotification, view.textStorage())
    super(LineNumberNSRulerView, self).METHOD_NAME()