Consitent end of file line endings for merge and split tools

This commit is contained in:
Veronica K. B. Olsen
2020-05-30 13:17:21 +02:00
parent bee82dd735
commit ee5cdc1d41
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -182,6 +182,7 @@ class GuiDocSplit(QDialog):
)
theText = "\n".join(theLines[iStart:iEnd])
theText = theText.rstrip("\n") + "\n\n"
theDoc.openDocument(nHandle, False)
theDoc.saveDocument(theText)
theDoc.clearDocument()