Only highlight dialogue in novel text (#2011 and #2013)

This commit is contained in:
Veronica Berglyd Olsen
2024-09-01 17:32:37 +02:00
parent 8dd9644c13
commit ece73784c2
2 changed files with 10 additions and 4 deletions
+1
View File
@@ -1100,6 +1100,7 @@ def testCoreToken_Dialogue(mockGUI):
project = NWProject()
tokens = BareTokenizer(project)
tokens.setDialogueHighlight(True)
tokens._isNovel = True
# Single quotes
tokens._text = "Text with \u2018dialogue one,\u2019 and \u2018dialogue two.\u2019\n"