Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to add UDL key words

    Help wanted · · · – – – · · ·
    2
    2
    1780
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Robert Hemingway
      Robert Hemingway last edited by

      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

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Robert Hemingway last edited by Claudia Frank

        @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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors