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. #46

Open
tterb opened this issue Sep 21, 2016 · 0 comments
Open

Object.TextEditor is deprecated. #46

tterb opened this issue Sep 21, 2016 · 0 comments

Comments

@tterb
Copy link

tterb commented Sep 21, 2016

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 (C:\Users\there\AppData\Local\atom\app-1.10.2\resources\app.asar\exports\atom.js:47:14)
AtomAutocompletePackage._isJavaFile (C:\Users\there\.atom\packages\autocomplete-java\lib\atomAutocompletePackage.js:194:37)
AtomAutocompletePackage._onChange (C:\Users\there\.atom\packages\autocomplete-java\lib\atomAutocompletePackage.js:156:16)
<unknown> (C:\Users\there\.atom\packages\autocomplete-java\lib\atomAutocompletePackage.js:79:15)
Function.module.exports.Emitter.simpleDispatch (C:\Users\there\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
Emitter.emit (C:\Users\there\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
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