Skip to content

Less then symbol "<" #75

Open
Open

Description

@FrancescoGallucci

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 ?

Activity

  1. self-assigned this
    on Jun 16, 2020
  2. bobbylight commented on Jun 16, 2020

    @bobbylight
    Owner

    Thanks, I'll take a look.

  3. FrancescoGallucci commented on Jun 17, 2020

    @FrancescoGallucci
    Author

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

  4. Mouseviator commented on Feb 1, 2022

    @Mouseviator

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions