Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Object.TextEditor is deprecated. #292

Open sanglnv opened 8 years ago

sanglnv commented 8 years ago

The TextEditor constructor is no longer public.

To construct a text editor, use atom.workspace.buildTextEditor(). To check if an object is a text editor, use atom.workspace.isTextEditor(object).

Object.TextEditor (/Applications/Atom.app/Contents/Resources/app.asar/exports/atom.js:47:14)
Object.<anonymous> (/Users/sanglnv/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:4:84)
Object.<anonymous> (/Users/sanglnv/.atom/packages/atom-autocomplete-php/lib/annotation/abstract-provider.coffee:330:4)
Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
Object..coffee (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
Module.load (module.js:357:32)