Skip to content

Wrong replace when type duplicated chars #2

Description

@marcobraghim

If we are looking for something with two identical chars the replacement will be wrong. Because of the code bellow:

PhpCompletion.prototype.getHints = function (implicitChar)
  {
    /** Fix type delay */
    if (implicitChar !== this.lastChar) { // <-------- here
     return false
    }

bug duplicated chars

Activity

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