Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.TextEditor is deprecated. #21

Open
Sebassmaster opened this issue Sep 16, 2016 · 0 comments
Open

Object.TextEditor is deprecated. #21

Sebassmaster opened this issue Sep 16, 2016 · 0 comments

Comments

@Sebassmaster
Copy link

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/sebastianmunoz/.atom/packages/atom-debugger/lib/debugger-view.coffee:6:84)
Object.<anonymous> (/Users/sebastianmunoz/.atom/packages/atom-debugger/lib/debugger-view.coffee:485: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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant