Autocompletion and spaces
I’m writing an autocompletion xml file for a User Defined Language and I have an issue with multiple words keywords.
For instance “Pointer on integer” -> the autocompletion shows “Pointer”, “on”, “integer”.
How can I use it as one and only keyword ?
thanks a lot !
I could not achieve this. I went another way. Use non-breaking space 160. Make a macro that replaces the non-breaking space with a regular space (160 by 32). Among other things, you can use line breaks, that is, insert multi-line text using mnemonic.
“If&# xa0;$Trg&# xa0;Then&# x0d;&# x0a;&# x09;&# x0d;&# x0a;EndIf”
Remove the spaces, I added them to show the code as is
Add a hot key to the macro and after inserting auto-completion, press the hotkey.
There is another option - use version 6.5.3. The last, which allowed the space.
Hey, thanks for answering. I cannot find-out how ti insert the non-breaking space in the xml file.
If I do <KeyWord name=“pointer on” /> , the autocompletion returns “pointer on”
However, it works if I insert " , why it doesn’t work for the   or   ?