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
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login