Backport fix for #1150

This commit is contained in:
Veronica Berglyd Olsen
2022-10-13 10:24:00 +02:00
parent bb8b0555ae
commit 038c66258b
+5
View File
@@ -1982,6 +1982,11 @@ class GuiDocEditor(QTextEdit):
nDelete = 3
tInsert = nwUnicode.U_HELLIP
elif theOne == nwUnicode.U_LSEP:
# This resolves issue #1150
nDelete = 1
tInsert = nwUnicode.U_PSEP
tCheck = tInsert
if tCheck in self.mainConf.fmtPadBefore:
if self._allowSpaceBeforeColon(theText, tCheck):