Add full test coverage of syntax highlighter

This commit is contained in:
Veronica Berglyd Olsen
2025-07-13 18:59:13 +02:00
parent c40507addb
commit cd474f3152
3 changed files with 637 additions and 33 deletions
-23
View File
@@ -1,23 +0,0 @@
%%~name: New Scene
%%~path: 6a2d6d5f4f401/f0260d04a8013
%%~kind: NOVEL/DOCUMENT
%%~hash: d37d33de7c022106f13239a3c310420653871b95
%%~date: 2025-07-05 14:35:40/2025-07-06 09:55:14
### Test 𐎀𐎘𐎗𐎚
@tag: 😅 | Smiley
@char: Jane, 😅, John
@story: 😅
% Test comment 𐎀𐎘𐎗𐎚 with stuff and **bold** text.
%Note.Consistency: 😅 _lol_ …
%Note.𐎀𐎘𐎗𐎚: Test
Text **bold 𐎀𐎘𐎗𐎚** and so on and _so forth_. ~~😅 does it work?~~
Yada yada Anata (𐎀𐎐𐎚) yada yada yada yada Athirata (𐎀𐎘𐎗𐎚) yada yada. “Test dialog here.”
Normal line
tttttt
+6 -10
View File
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="2.8a1" hexVersion="0x020800a1" fileVersion="1.5" fileRevision="6" timeStamp="2025-07-06 16:34:43">
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="2274" autoCount="301" editTime="99789">
<novelWriterXML appVersion="2.8a1" hexVersion="0x020800a1" fileVersion="1.5" fileRevision="6" timeStamp="2025-07-13 18:58:02">
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="2279" autoCount="301" editTime="99977">
<name>Sample Project</name>
<author>Jane Smith</author>
</project>
@@ -9,8 +9,8 @@
<language>en_GB</language>
<spellChecking auto="yes">None</spellChecking>
<lastHandle>
<entry key="editor">f0260d04a8013</entry>
<entry key="viewer">f0260d04a8013</entry>
<entry key="editor">636b6aa9b697b</entry>
<entry key="viewer">636b6aa9b697b</entry>
<entry key="novel">7031beac91f75</entry>
<entry key="outline">7031beac91f75</entry>
</lastHandle>
@@ -20,7 +20,7 @@
<entry key="C">D</entry>
</autoReplace>
<status>
<entry key="sf12341" count="9" color="#969896" shape="STAR">New</entry>
<entry key="sf12341" count="8" color="#969896" shape="STAR">New</entry>
<entry key="sf24ce6" count="2" color="red" shape="STAR">Notes</entry>
<entry key="sc24b8f" count="3" color="yellow" shape="BARS_1">Started</entry>
<entry key="s90e6c9" count="5" color="yellow" shape="BARS_2">1st Draft</entry>
@@ -36,7 +36,7 @@
<entry key="i56be10" count="1" color="purple" shape="BLOCK_4">Main</entry>
</importance>
</settings>
<content items="32" novelWords="1049" notesWords="416" novelChars="5792" notesChars="2285">
<content items="31" novelWords="1016" notesWords="416" novelChars="5606" notesChars="2285">
<item handle="7031beac91f75" parent="None" root="7031beac91f75" order="0" type="ROOT" class="NOVEL">
<meta expanded="yes" />
<name status="sc24b8f" import="ia857f0">Novel</name>
@@ -65,10 +65,6 @@
<meta expanded="no" heading="H3" charCount="548" wordCount="108" paraCount="3" cursorPos="650" />
<name status="s90e6c9" import="ia857f0" active="yes">Another Scene</name>
</item>
<item handle="f0260d04a8013" parent="6a2d6d5f4f401" root="7031beac91f75" order="2" type="FILE" class="NOVEL" layout="DOCUMENT">
<meta expanded="no" heading="H3" charCount="186" wordCount="33" paraCount="4" cursorPos="373" />
<name status="sf12341" import="ia857f0" active="yes">New Scene</name>
</item>
<item handle="ba8a28a246524" parent="7031beac91f75" root="7031beac91f75" order="4" type="FILE" class="NOVEL" layout="DOCUMENT">
<meta expanded="no" heading="H2" charCount="617" wordCount="101" paraCount="3" cursorPos="1182" />
<name status="s78ea90" import="ia857f0" active="yes">Interlude</name>