Resolve issue #1150

This commit is contained in:
Veronica Berglyd Olsen
2022-10-11 22:26:14 +02:00
parent 87f20622f9
commit 9b5d2b2c2b
5 changed files with 29 additions and 14 deletions
+5
View File
@@ -1992,6 +1992,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 self.mainConf.fmtPadBefore and tCheck in self.mainConf.fmtPadBefore:
if self._allowSpaceBeforeColon(theText, tCheck):