On 27 June 2015 at 07:47, Neil Hodgson <
nyama...@me.com> wrote:
> Alain Vigne:
>
>> Question is : Using geany IDE
http://www.geany.org/ and Asciidoctor
http://asciidoctor.org/, why didn't I get syntax highlighting while editing .adoc documents ... ?
>>
>> The answer is probably : Scintilla is not supporting AsciiDoc format, because there is no Lexer for it...
>>
>> Am I right ?
Correct, there is a tags parser for asciidoc in Geany which shows the
document outline, but no lexer.
>
> I’m not sure since I don’t use Geany. Some applications include generic lexers that you can teach about new languages.
Geany doesn't provide that capability.
>
> The language looks similar to other light markup languages like Markdown and txt2tags. If its sufficiently similar to these then it may be possible to use their lexers which are called “markdown” and “txt2tags”.
Asciidoc is similar to those so they would possibly be a good starting
point, though there are a few gotchas in Asciidoc, I don't know the
quality of the markdown or txt2tags lexers to suggest which is better
to start with.
Cheers
Lex
>
>> If nothing is preventing us, how to move forward ? I do not have an account on SourceForge to propose a feature request
http://sourceforge.net/p/scintilla/feature-requests/
>> Shall I create a new one ?
>
> If the existing lexers aren’t good enough then that is something you could do, possibly starting from one of the above-mentioned lexers.
>
> Neil
>
> --
> You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
scintilla-inter...@googlegroups.com.
> To post to this group, send email to
scintilla...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/scintilla-interest.
> For more options, visit
https://groups.google.com/d/optout.