docs: def set_full_width(self, flag=True, clear=True):
          """
          Enables FullWidthSelection (the selection does not stops at after the
          character instead it goes up to the right side of the widget).
  
          :param flag: True to use full width selection.
          :type flag: bool
  
          :param clear: True to clear any previous selection. Default is True.
          :type clear: bool
          """
          if clear:
              self.cursor.clearSelection()
          self.format.setProperty(QtGui.QTextFormat.FullWidthSelection, flag)