gsmcmullin / atom-gdb-debugger

GDB integration for Atom
GNU General Public License v3.0
17 stars 13 forks source link

TextEditor.editorElement is deprecated. #26

Open GlitchedCode opened 6 years ago

GlitchedCode commented 6 years ago

TextEditor.prototype.editorElement has always been private, but now it is gone. Reading the editorElement property still returns a reference to the editor element but this field will be removed in a later version of Atom, so we recommend using the element property instead.

TextEditor.editorElement (<embedded>:2459:16)
EditorIntegration._hookEditor (C:\Users\Giuseppe\.atom\packages\atom-gdb-debugger\lib\editor-integration.coffee:168:14)
<unknown> (C:\Users\Giuseppe\.atom\packages\atom-gdb-debugger\lib\editor-integration.coffee:3:59)
Workspace.observeTextEditors (<embedded>:28316:15)
new EditorIntegration (C:\Users\Giuseppe\.atom\packages\atom-gdb-debugger\lib\editor-integration.coffee:71:45)
Object.activate (C:\Users\Giuseppe\.atom\packages\atom-gdb-debugger\lib\atom-gdb-debugger.coffee:118:39)