Remove some unnecessary branches and unused functions
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
This is a paragraph of dummy text.
|
||||
|
||||
This is another paragraph of much longer dummy text. It is in fact very very dumb dummy text! We can also try replacing “quotes”, even single ‘quotes’ are replaced. Isn’t that nice? We can hyphen-ate, make dashes – and even longer dashes — if we want. Ellipsis? Not a problem either … How about three hyphens — for long dash? It works too.
|
||||
This is another paragraph of much longer dummy text. It is in fact 1 very very DUMB dummy text! We can also try replacing “quotes”, even single ‘quotes’ are replaced. Isn’t that nice? We can hyphen-ate, make dashes – and even longer dashes — if we want. Ellipsis? Not a problem either … How about three hyphens — for long dash? It works too.
|
||||
|
||||
“Full line double quoted text.”
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
<autoOutline>True</autoOutline>
|
||||
<lastEdited>0e17daca5f3e1</lastEdited>
|
||||
<lastViewed>None</lastViewed>
|
||||
<lastWordCount>113</lastWordCount>
|
||||
<novelWordCount>86</novelWordCount>
|
||||
<lastWordCount>114</lastWordCount>
|
||||
<novelWordCount>87</novelWordCount>
|
||||
<notesWordCount>27</notesWordCount>
|
||||
<autoReplace/>
|
||||
<titleFormat>
|
||||
@@ -84,10 +84,10 @@
|
||||
<status>New</status>
|
||||
<exported>True</exported>
|
||||
<layout>SCENE</layout>
|
||||
<charCount>464</charCount>
|
||||
<wordCount>82</wordCount>
|
||||
<charCount>466</charCount>
|
||||
<wordCount>83</wordCount>
|
||||
<paraCount>4</paraCount>
|
||||
<cursorPos>602</cursorPos>
|
||||
<cursorPos>604</cursorPos>
|
||||
</item>
|
||||
<item handle="44cb730c42048" order="1" parent="None">
|
||||
<name>Plot</name>
|
||||
|
||||
@@ -230,7 +230,7 @@ def testGuiEditor_Main(qtbot, monkeypatch, nwGUI, fncDir, fncProj, refDir, outDi
|
||||
|
||||
for c in (
|
||||
"This is another paragraph of much longer dummy text. "
|
||||
"It is in fact very very dumb dummy text! "
|
||||
"It is in fact 1 very very DUMB dummy text! "
|
||||
):
|
||||
qtbot.keyClick(nwGUI.docEditor, c, delay=typeDelay)
|
||||
for c in "We can also try replacing \"quotes\", even single 'quotes' are replaced. ":
|
||||
|
||||
@@ -209,6 +209,7 @@ def testGuiPreferences_Main(qtbot, monkeypatch, fncDir, outDir, refDir):
|
||||
|
||||
# Save and Check Config
|
||||
qtbot.mouseClick(nwPrefs.buttonBox.button(QDialogButtonBox.Ok), Qt.LeftButton)
|
||||
nwPrefs._doClose()
|
||||
|
||||
assert theConf.confChanged
|
||||
theConf.lastPath = ""
|
||||
|
||||
Reference in New Issue
Block a user