How to add UDL key words



  • Hi,
    I’ve add an .8th UDL but can’t add key words (dropdown box with suitable words, as you type). If I add to bottom of langs.xml nothing happens. Can get the Function List and Syntax Highlighting to work, but not the key words. Any help appreciated.

    Also what is the understanding behind “instre1” “type1” …“type4” in the langs.xml file <Keywords name= ?

    Regards Robert H



  • @Robert-Hemingway

    dropdown box with suitable words, as you type

    therefore you need to provide an API file with the same name as your UDL is.
    See plugins\APIs directory for examples.
    The keywords within udl are just for syntax coloring.

    Also what is the understanding behind “instre1” “type1” …“type4” in the langs.xml file <Keywords name= ?

    That is basically a link to the stylers.xml to provide the information which style should be used
    for which keyword group. Please note, that not every language supports the same amount
    of keyword groups and even not the same keyword group link names.

    Cheers
    Claudia


Log in to reply