Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

show-hint selection fails in 5.53.0 #6239

Closed

Description

@slaakso

this is not visible in the inner function causing the hint selection to fail. Suggested fix:

    pick: function(data, i) {
      var completion = data.list[i], self = this;
      self.cm.operation(function(){
        if (completion.hint)
          completion.hint(self.cm, data, completion);
        else
          self.cm.replaceRange(getText(completion), completion.from || data.from,
                               completion.to || data.to, "complete");
        CodeMirror.signal(data, "pick", completion);
        self.cm.scrollIntoView();
      })
      this.close();
    },

Activity

  1. marijnh commented on Apr 21, 2020

    @marijnh
    Member

    Thanks for noticing that! Should be fixed in 5.53.2

  2. added a commit that references this issue on Oct 31, 2020
    14d7274
  3. added a commit that references this issue on Sep 5, 2024
    cbf340d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions