<p></p>
<p><b>@kugel-</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/geany/geany/pull/3097#discussion_r805157865">data/filedefs/filetypes.asciidoc</a>:</p>
<pre style='color:#555'>> @@ -1,35 +1,36 @@
# For complete documentation of this file, please see Geany's main documentation
[styling]
-# no syntax highlighting yet
+# Edit these in the colorscheme .conf file instead
+default=default
+strong=default,bold
+emphasis=default,italic
+header1=keyword_1
+header2=keyword_1
+header3=keyword_1
+header4=keyword_1
+header5=keyword_1
+header6=keyword_1
+ulist_item=tag_unknown
+olist_item=tag_unknown
+blockquote=tag_unknown
+strikeout=tag_unknown
</pre>
<p dir="auto">It's important that filetypes.asciidoc assigns mappings according to whatever you enter in the header file <code>highlightingmappings.h</code>. Pasted for reference below</p>
<p dir="auto">So it seems that you copied too much from filetypes.markdown, <code>strikeout</code> is defined there but not for asciidoc. I think you need to cleanup again.</p>
<pre><code>
{ SCE_ASCIIDOC_DEFAULT, "default", FALSE },
{ SCE_ASCIIDOC_STRONG1, "strong", FALSE },
{ SCE_ASCIIDOC_STRONG2, "strong", FALSE },
{ SCE_ASCIIDOC_EM1, "emphasis", FALSE },
{ SCE_ASCIIDOC_EM2, "emphasis", FALSE },
{ SCE_ASCIIDOC_HEADER1, "header1", FALSE },
{ SCE_ASCIIDOC_HEADER2, "header2", FALSE },
{ SCE_ASCIIDOC_HEADER3, "header3", FALSE },
{ SCE_ASCIIDOC_HEADER4, "header4", FALSE },
{ SCE_ASCIIDOC_HEADER5, "header5", FALSE },
{ SCE_ASCIIDOC_HEADER6, "header6", FALSE },
{ SCE_ASCIIDOC_ULIST_ITEM, "ulist_item", FALSE },
{ SCE_ASCIIDOC_OLIST_ITEM, "olist_item", FALSE },
{ SCE_ASCIIDOC_BLOCKQUOTE, "blockquote", FALSE },
{ SCE_ASCIIDOC_LINK, "link", FALSE },
{ SCE_ASCIIDOC_CODEBK, "code", FALSE },
{ SCE_ASCIIDOC_PASSBK, "passthrough", FALSE },
{ SCE_ASCIIDOC_COMMENT, "comment", FALSE },
{ SCE_ASCIIDOC_COMMENTBK, "comment", FALSE },
{ SCE_ASCIIDOC_LITERAL, "literal", FALSE },
{ SCE_ASCIIDOC_LITERALBK, "literal", FALSE },
{ SCE_ASCIIDOC_ATTRIB, "attrib", FALSE },
{ SCE_ASCIIDOC_ATTRIBVAL, "attribval", FALSE },
{ SCE_ASCIIDOC_MACRO, "macro", FALSE }
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3097#pullrequestreview-880853246">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2AUUDNEVORTFP3ENTU2ZJIHANCNFSM5LW7YH5A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ53O53SRCVQW43FMXTU2ZJIHA5CNFSM5LW7YH5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOGSAMB7Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3097/review/880853246</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3097#pullrequestreview-880853246",
"url": "https://github.com/geany/geany/pull/3097#pullrequestreview-880853246",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>