<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Lex,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Wow... that's a fail.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 March 2017 at 14:00, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And I might add that although Asciidoc has no colouring in Geany, its<br>
better than gedit which determines that my .asciidoc files are C and<br>
so highlights C keywords in text, eg "for" "if" etc<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Lex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 8 March 2017 at 10:02, Russell Dickenson <<a href="mailto:russelldickenson@gmail.com">russelldickenson@gmail.com</a>> wrote:<br>
> Lex,<br>
><br>
> Thank you. I just couldn't work out why it wasn't being applied.<br>
><br>
> On 7 March 2017 at 14:16, Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>
>><br>
>> You havn't missed anything, simply nobody has written the Scintilla<br>
>> lexer required for styling Asciidoc.<br>
>><br>
>> Cheers<br>
>> Lex<br>
>><br>
>> On 7 March 2017 at 13:24, Russell Dickenson <<a href="mailto:russelldickenson@gmail.com">russelldickenson@gmail.com</a>><br>
>> wrote:<br>
>> > I wrote most of my documentation in AsciiDoc, naming files with the<br>
>> > extension .adoc. I want to apply styling to the AsciiDoc markup so that<br>
>> > I<br>
>> > can easily differentiate it from my content.<br>
>> ><br>
>> > Operating system: Fedora 25 (GNOME edition)<br>
>> > Geany version: 1.29<br>
>> ><br>
>> > I read the Geany manual and did the following steps in a Terminal<br>
>> ><br>
>> > 1. Navigated to ~/.config/geany/filedefs<br>
>> > 2. cp /usr/share/geany/filedefs/<wbr>filetypes.asciidoc<br>
>> > 3. Opened filetypes.asciidoc in Geany<br>
>> > 4. Added to the [styling] section the following, copied from the<br>
>> > filetypes,markdown file:<br>
>> ><br>
>> > default=default<br>
>> > strong=string_3<br>
>> > emphasis=string_4<br>
>> > header1=keyword_1<br>
>> > header2=keyword_1<br>
>> > header3=keyword_1<br>
>> > header4=keyword_1<br>
>> > header5=keyword_1<br>
>> > header6=keyword_1<br>
>> ><br>
>> > 5. Opened an AsciiDoc marked-up file.<br>
>> ><br>
>> > Result?<br>
>> ><br>
>> > The header markers in the AsciiDoc file - '=' and '==' and so on do not<br>
>> > appear to be styled. The header characters in a sample Markdown file<br>
>> > *are*<br>
>> > styled.<br>
>> ><br>
>> > When I open the example AsciiDoc file, Geany recognises it as such.<br>
>> ><br>
>> > I feel I'm missing something simple here, but I can't work out just<br>
>> > what.<br>
>> ><br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
>> > <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
>> ><br>
>> ______________________________<wbr>_________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
>> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>