Skip to content

[CLOSED] Delay before hover preview #3316

@core-ai-bot

Description

@core-ai-bot

Issue by peterflynn
Sunday Apr 21, 2013 at 22:43 GMT
Originally opened as adobe/brackets#3531


  • Changes providers so they're not responsible for showing popover. They return an object with the info needed to show one later.
  • Add a popoverState object that can represent both visible and pending (waiting on timer) popovers. If mouse movement invalidates the popoverState, it is canceled -- hidden if visible, timer stopped if pending.
  • Unrelated minor fix: ignore mousemove while dragging.
  • mousemove processing is now slightly more efficient: we don't reprocess the same line:ch pos repeatedly, and if a popover is already pending/open we don't do any more processing until the mouse leaves that popover's range of text.

peterflynn included the following code: https://github.com/adobe/brackets/pull/3531/commits

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