Flip if statement in Tokenizer
This commit is contained in:
@@ -3,9 +3,7 @@ novelWriter – Formats Shared
|
|||||||
============================
|
============================
|
||||||
|
|
||||||
File History:
|
File History:
|
||||||
Created: 2024-10-21 [2.6b1] TextFmt
|
Created: 2024-10-21 [2.6b1]
|
||||||
Created: 2024-10-21 [2.6b1] BlockTyp
|
|
||||||
Created: 2024-10-21 [2.6b1] BlockFmt
|
|
||||||
|
|
||||||
This file is a part of novelWriter
|
This file is a part of novelWriter
|
||||||
Copyright 2018–2024, Veronica Berglyd Olsen
|
Copyright 2018–2024, Veronica Berglyd Olsen
|
||||||
|
|||||||
@@ -636,9 +636,7 @@ class Tokenizer(ABC):
|
|||||||
# Only valid keyword lines are parsed, and any ignored keywords
|
# Only valid keyword lines are parsed, and any ignored keywords
|
||||||
# are automatically skipped.
|
# are automatically skipped.
|
||||||
|
|
||||||
if not self._doKeywords:
|
if self._doKeywords:
|
||||||
continue
|
|
||||||
|
|
||||||
tLine, tFmt = self._formatMeta(aLine)
|
tLine, tFmt = self._formatMeta(aLine)
|
||||||
if tLine:
|
if tLine:
|
||||||
blocks.append((
|
blocks.append((
|
||||||
|
|||||||
Reference in New Issue
Block a user