Skip to content

[CLOSED] Closing Find bar with short search text (many results) is very slow #2844

@core-ai-bot

Description

@core-ai-bot

Issue by peterflynn
Saturday Mar 02, 2013 at 22:51 GMT
Originally opened as adobe/brackets#3022


  1. Open Editor.js and launch Find
  2. Type "e"
  3. Press Esc or Enter

Result: Several second pause

In this code path, clearHighlights() is getting called without being wrapped in an operation, so CodeMirror re-renders once per highlight. (When you type a 2nd letter, clearHighlights() is called inside an operation, so it's very fast).

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