def getCurrentTextContent(self):
        if self._lastKnownTextContent is not None:
            return self._lastKnownTextContent
        else:
            text = self.getValue()
            if text is None:
                return self.getNullRepresentation()
            return str(text)
Gets the current (or the last known) text content in the field.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_text_field.py/AbstractTextField.getCurrentTextContent