Syntax highlighting for AutoIt

Home Forums cherrytree Syntax highlighting for AutoIt

Tagged: ,

This topic contains 5 replies, has 4 voices, and was last updated by  acry 1 month, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1912

    robinsiebler
    Member

    I’d like to request syntax highlighting for AutoIt (http://www.autoitscript.com). There is already plenty of syntax highlighting files out there for the language, it would simply be a matter of tweaking the format of one of these files to match whatever format your lexer uses.

    Thanks!

    #1914

    giuspen
    Moderator

    Hi,
    the syntax highlighting languages come from the library
    http://projects.gnome.org/gtksourceview/
    in version 2.x (for gtk 2.x) then it should be possible to add new languages reading the documentation. I’ll add to the TODO list but don’t know when I’ll have time to take care.
    Cheers.

    #1921

    robinsiebler
    Member

    Actually, I found a syntax file for gtksourceview already created. However, I can’t figure out how to get the new option to show up in cherrytree. Is there some file I have to edit or is it hardcoded?

    AutoIt lang file – http://www.autoit.de/index.php?page=Thread&threadID=12670

    #1925

    giuspen
    Moderator

    The list of available languages comes directly from a call to the library at application start. I’s not hardcoded and there’s no file to edit. All you have to do is to add the language to the installed library (I can’t help you with this now), cherrytree will then see it and list it.

    #125025

    BarryBKS
    Member

    Hi,

    I am trying to track down a LANG file for Au3 (AutoIT), so I can add it to CherryTree.

    I came across this thread and I have tried the above link, but it would appear that that thread is no longer accessible.

    Could someone please let me know if there is a current LANG file which I can use?

    Cheers,

    Barry.

    #125026

    acry
    Member

    Extra GtkSourceView language definitions
    https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions

    Language Definition v2.0 Tutorial
    https://developer.gnome.org/gtksourceview/stable/lang-tutorial.html

    A AutoIt 3 language definition file
    http://mirror.hmc.edu/ctan///support/highlight/langDefs/au3.lang

    Cheers,
    Cass aka Acry

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.