Merge branch 'main' into convert_folder

This commit is contained in:
Veronica Berglyd Olsen authored and GitHub committed 2022-10-01 19:06:52 +02:00
commit 7d99d6c40b
5 files changed
+72 -7

No files matched your search

+2 -2
View File
@@ -1994,12 +1994,12 @@ class GuiDocEditor(QTextEdit):
tCheck = tInsert
if tCheck in self.mainConf.fmtPadBefore:
if self.allowSpaceBeforeColon(theText, tCheck):
if self._allowSpaceBeforeColon(theText, tCheck):
nDelete = max(nDelete, 1)
tInsert = self._typPadChar + tInsert
if tCheck in self.mainConf.fmtPadAfter:
if self.allowSpaceBeforeColon(theText, tCheck):
if self._allowSpaceBeforeColon(theText, tCheck):
nDelete = max(nDelete, 1)
tInsert = tInsert + self._typPadChar