Use the quick read feature wherever we only need document text
This commit is contained in:
@@ -214,8 +214,7 @@ class GuiDocSplit(QDialog):
|
||||
|
||||
spLevel = self.splitLevel.currentData()
|
||||
if not self._text:
|
||||
inDoc = SHARED.project.storage.getDocument(sHandle)
|
||||
self._text = (inDoc.readDocument() or "").splitlines()
|
||||
self._text = SHARED.project.storage.getDocumentText(sHandle).splitlines()
|
||||
|
||||
for lineNo, aLine in enumerate(self._text):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user