Skip to content

Wrong replace when type duplicated chars #2

@marcobraghim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions