How to use dreamweaver.codeHints.addMenu()?
Hello to all,
I am trying to use the dreamweaver.codeHints.addMenu() function, but the reference is very poor. So far, I was able to make it work trying various arguments to the function, but I stumble upon the dismissChars argument.Reference says: "The dismissChars argument specifies the nonstandard characters that the user types to dismiss the Code Hints menu."It is optional, but if you want to provide a subsequent argument (which I do), you have to provide something otherwise DW throws an error.
I have tried an empty string [""], the boolean false, the string ["Esc"], but this throws an invalid argument message.
I have tried [Esc], but it throws an "Esc is not defined" message.
So this seems to indicate that the argument needs not to be a string nor a boolean, but some constant. I have tried Esc as this is the regular name for xml menu.xml string, but it seems DW wants some internal constant that I cannot find.
Would any DW guru or engineer be able to answer this question, please?
Thank you so much in advance...
Xavier
