You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using BasicCompletion on several words and symbols, I've problems with less then symbol ( "<" ) if I put it as replacementText in the BasicCompletion attributes:
if I put it alone the associated completion rows don't appear in choice list;
if I put it with other text in choice list will appear only other text.
What's wrong? Are there some special/reserved keywords? Is that same problem of issue Escape html special characters in completions #73 ?
I was dealing with that issue to. I solved it forking to my own branch and did couple of changes inside the CompletionCellRenderer.java, FunctionCompletion.java, MarkupTagCompletion.java and VariableCompletion.java and I also used the RSyntaxUtilities.escapeForHtml(...) from you API. I attached the patch/diff file if you want to consider to use this. Of course, this is my quick patch the seems to work (for me) and maybe I did not catch all the places that needs to be updates... you know your code better for sure :)
Activity
bobbylight commentedon Jun 16, 2020
Thanks, I'll take a look.
FrancescoGallucci commentedon Jun 17, 2020
I solved (for now) using TemplateCompletion with RSyntaxUtilities.escapeForHtml(...) on all the constructor's params except for param "template".
Mouseviator commentedon Feb 1, 2022
Hi,
I was dealing with that issue to. I solved it forking to my own branch and did couple of changes inside the CompletionCellRenderer.java, FunctionCompletion.java, MarkupTagCompletion.java and VariableCompletion.java and I also used the RSyntaxUtilities.escapeForHtml(...) from you API. I attached the patch/diff file if you want to consider to use this. Of course, this is my quick patch the seems to work (for me) and maybe I did not catch all the places that needs to be updates... you know your code better for sure :)
Thanks for all your wonderfull projects ;)
AutoCompletion_htmlChars.patch.zip