Skip to content

unmark() throwing Uncaught TypeError upon subsequent clicks of "Search" button #18

@pixelchutes

Description

@pixelchutes

If you enter a search term into the Search input field below the CodeMirror editor, clicking "Search" once will highlight the first occurrence, but subsequent clicks throws the following error:

Uncaught TypeError: Property '0' of object [object Object],[object Object] is not a function (cm.js:104)

I tried troubleshooting a few things, but oddly commenting out the internals of the unmark function seems to correct the issue, and subsequent searches work as expected.

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