code: def resizeEvent(self, event):
          
  
          Basic_QPlainTextEdit.resizeEvent(self, event)
          self.__margin_area_LinesNumbers_widget.update_geometry()
docs: Reimplements the :meth:`Basic_QPlainTextEdit.resizeEvent` method.
  
          :param event: Event.
          :type event: QEvent