code: def adjustText(self):
          
          pos = self.cursorPosition()
          self.blockSignals(True)
          super(XLineEdit, self).setText(self.formatText(self.text()))
          self.setCursorPosition(pos)
          self.blockSignals(False)
docs: Updates the text based on the current format options.