Process field values in QTextDocuments

This commit is contained in:
Veronica Berglyd Olsen
2024-10-28 17:30:34 +01:00
parent 041183f914
commit f92521c93a
13 changed files with 50 additions and 22 deletions
+4
View File
@@ -52,6 +52,10 @@ class ToRaw(Tokenizer):
"""No conversion to perform."""
return
def closeDocument(self) -> None:
"""Nothing to close."""
return
def saveDocument(self, path: Path) -> None:
"""Save the raw text to a plain text file."""
if path.suffix.lower() == ".json":