Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less then symbol "<" #75

Open
FrancescoGallucci opened this issue Jun 16, 2020 · 3 comments
Open

Less then symbol "<" #75

FrancescoGallucci opened this issue Jun 16, 2020 · 3 comments
Assignees

Comments

@FrancescoGallucci
Copy link

FrancescoGallucci commented Jun 16, 2020

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 ?
@bobbylight bobbylight self-assigned this Jun 16, 2020
@bobbylight
Copy link
Owner

Thanks, I'll take a look.

@FrancescoGallucci
Copy link
Author

I solved (for now) using TemplateCompletion with RSyntaxUtilities.escapeForHtml(...) on all the constructor's params except for param "template".

@Mouseviator
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants