Community
    • Login

    How to add UDL key words

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.0k Views
    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 HemingwayR
      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 FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        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
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors