Set the show multiple spaces setting to off by default
This commit is contained in:
@@ -202,7 +202,7 @@ class Config:
|
|||||||
self.doJustify = False # Justify text
|
self.doJustify = False # Justify text
|
||||||
self.showTabsNSpaces = False # Show tabs and spaces in editor
|
self.showTabsNSpaces = False # Show tabs and spaces in editor
|
||||||
self.showLineEndings = False # Show line endings in editor
|
self.showLineEndings = False # Show line endings in editor
|
||||||
self.showMultiSpaces = True # Highlight multiple spaces in the text
|
self.showMultiSpaces = False # Highlight multiple spaces in the text
|
||||||
|
|
||||||
self.doReplace = True # Enable auto-replace as you type
|
self.doReplace = True # Enable auto-replace as you type
|
||||||
self.doReplaceSQuote = True # Smart single quotes
|
self.doReplaceSQuote = True # Smart single quotes
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[Meta]
|
[Meta]
|
||||||
timestamp = 2025-06-14 17:03:01
|
timestamp = 2025-08-24 15:30:16
|
||||||
|
|
||||||
[Main]
|
[Main]
|
||||||
font =
|
font =
|
||||||
@@ -63,7 +63,7 @@ fmtpadthin = False
|
|||||||
spellcheck = en
|
spellcheck = en
|
||||||
showtabsnspaces = False
|
showtabsnspaces = False
|
||||||
showlineendings = False
|
showlineendings = False
|
||||||
showmultispaces = True
|
showmultispaces = False
|
||||||
incnoteswcount = True
|
incnoteswcount = True
|
||||||
showfullpath = True
|
showfullpath = True
|
||||||
dialogstyle = 2
|
dialogstyle = 2
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ def testDlgPreferences_Settings(qtbot, monkeypatch, nwGUI, fncPath, tstPaths):
|
|||||||
prefs.altDialogOpen.setText("%") # Symbol also tests for #2455
|
prefs.altDialogOpen.setText("%") # Symbol also tests for #2455
|
||||||
prefs.altDialogClose.setText("%") # Symbol also tests for #2455
|
prefs.altDialogClose.setText("%") # Symbol also tests for #2455
|
||||||
prefs.highlightEmph.setChecked(False)
|
prefs.highlightEmph.setChecked(False)
|
||||||
prefs.showMultiSpaces.setChecked(False)
|
prefs.showMultiSpaces.setChecked(True)
|
||||||
|
|
||||||
prefs._insertDialogLineSymbol(nwUnicode.U_ENDASH)
|
prefs._insertDialogLineSymbol(nwUnicode.U_ENDASH)
|
||||||
assert prefs.dialogLine.text() == f"{nwUnicode.U_ENDASH} {nwUnicode.U_EMDASH}"
|
assert prefs.dialogLine.text() == f"{nwUnicode.U_ENDASH} {nwUnicode.U_EMDASH}"
|
||||||
@@ -292,7 +292,7 @@ def testDlgPreferences_Settings(qtbot, monkeypatch, nwGUI, fncPath, tstPaths):
|
|||||||
assert CONFIG.altDialogOpen == ""
|
assert CONFIG.altDialogOpen == ""
|
||||||
assert CONFIG.altDialogClose == ""
|
assert CONFIG.altDialogClose == ""
|
||||||
assert CONFIG.highlightEmph is True
|
assert CONFIG.highlightEmph is True
|
||||||
assert CONFIG.showMultiSpaces is True
|
assert CONFIG.showMultiSpaces is False
|
||||||
|
|
||||||
# Text Automation
|
# Text Automation
|
||||||
prefs.doReplaceSQuote.setChecked(False)
|
prefs.doReplaceSQuote.setChecked(False)
|
||||||
@@ -413,7 +413,7 @@ def testDlgPreferences_Settings(qtbot, monkeypatch, nwGUI, fncPath, tstPaths):
|
|||||||
assert CONFIG.altDialogOpen == "%"
|
assert CONFIG.altDialogOpen == "%"
|
||||||
assert CONFIG.altDialogClose == "%"
|
assert CONFIG.altDialogClose == "%"
|
||||||
assert CONFIG.highlightEmph is False
|
assert CONFIG.highlightEmph is False
|
||||||
assert CONFIG.showMultiSpaces is False
|
assert CONFIG.showMultiSpaces is True
|
||||||
|
|
||||||
# Text Automation
|
# Text Automation
|
||||||
assert CONFIG.doReplace is False
|
assert CONFIG.doReplace is False
|
||||||
|
|||||||
Reference in New Issue
Block a user