Update storage class and test coverage of it
This commit is contained in:
@@ -611,9 +611,9 @@ class GuiDocEditor(QTextEdit):
|
||||
|
||||
def getText(self):
|
||||
"""Get the text content of the current document. This method uses
|
||||
QTextDocument->toRawText instead of toPlainText(). The former preserves
|
||||
QTextDocument->toRawText instead of toPlainText. The former preserves
|
||||
non-breaking spaces, the latter does not. We still want to get rid of
|
||||
page and line separators though.
|
||||
paragraph and line separators though.
|
||||
See: https://doc.qt.io/qt-5/qtextdocument.html#toPlainText
|
||||
"""
|
||||
theText = self.document().toRawText()
|
||||
|
||||
Reference in New Issue
Block a user