TextEditorView Docs missing


This page : https://atom.io/docs/api/v0.176.0/TextEditor points to https://atom.io/docs/api/v0.176.0/TextEditorView which does not exist. Just thought I’d bring it to notice.

I am interested to know if I need to do the following:

  @controlSubscription = atom.workspaceView.eachEditorView (editorView) =>
      editorView.flowController = new EditorControl(editorView, this)

or I am able to get editorView from

     editorWatch = atom.workspace.observeTextEditors((editor: AtomCore.IEditor) => {


The documentation is out of date. The views are deprecated.

What do you want to do with the “view” if you could get it?


Actually they have just changed meaning. The actual dom element is now considered a view. It has most of the functionality of the old views. You get it from atom.views.getView(textEditor).


awesome. Thanks.

@leedohm needed for porting this tooltip code: https://github.com/lukehoban/atom-ide-flow/blob/master/lib/editor-control.coffee in a absence of a better sample