8000 eachEditorView is not consistent · Issue #1900 · atom/atom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
eachEditorView is not consistent #1900
Closed
@izuzak

Description

@izuzak

Halp ticket:

  • support/d10de7cecaa111e39dcc669581e17d98

eachEditorView is not consistent.

From the editors that exist it only takes those uder .pane .item-views but it takes all future editors (even those not under .pane .item-views).

The function should pick one or the other, I personally propose you take all. This means replacing the getEditorViews in the eachEditorView function to:

this.find('.editor').map(function() {
return $(this).view();
}).toArray();

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

      0