jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Uncaught TypeError: textInput.setText is not a function #96

Open iterating opened 4 years ago

iterating commented 4 years ago

[Enter steps to reproduce:]

Adding link on selected text

Atom: 1.48.0 x64 Electron: 5.0.13 OS: linux 5.7.0-1-amd64 Thrown From: foldingtext-for-atom package 0.9.2

Stack Trace

Uncaught TypeError: textInput.setText is not a function

At /home/ankistar/.var/app/io.atom.Atom/data/packages/foldingtext-for-atom/lib/editor/outline-editor.coffee:2015

TypeError: textInput.setText is not a function
    at OutlineEditor.module.exports.OutlineEditor.editLink (/packages/foldingtext-for-atom/lib/editor/outline-editor.coffee:2015:15)
    at /packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:1136:42)
    at /packages/foldingtext-for-atom/lib/editor/event-registery.coffee:162:27)
    at CommandRegistry.handleCommandEvent (/app/share/atom/resources/app/static/<embedded>:11:349786)
    at KeymapManager.dispatchCommandEvent (/app/share/atom/resources/app/static/<embedded>:11:1242246)
    at KeymapManager.handleKeyboardEvent (/app/share/atom/resources/app/static/<embedded>:11:1238380)
    at WindowEventHandler.handleDocumentKeyEvent (/app/share/atom/resources/app/static/<embedded>:11:284835)

Commands

     -6:08.4.0 editor:indent (span.ft-body-text)
 11x -6:06.0 core:backspace (span.ft-body-text)
     -1:02.6.0 editor:newline (span.ft-body-text)
     -1:02.3.0 editor:indent (span.ft-body-text)
  5x -0:49.5.0 core:backspace (span.ft-body-text)
     -0:32.4.0 editor:newline (span.ft-body-text)
     -0:32 core:backspace (span.ft-body-text)
     -0:31.4.0 editor:newline (span.ft-body-text)
     -0:31 editor:indent (span.ft-body-text)
     -0:17.8.0 outline-editor:toggle-strikethrough (span.ft-body-text)
     -0:17.8.0 editor:delete-line (span.ft-body-text)
     -0:16.7.0 core:undo (span.ft-body-text)
     -0:14.3.0 outline-editor:toggle-strikethrough (span.ft-body-text)
     -0:13.9.0 core:undo (span.ft-body-text)
     -0:10.1.0 outline-editor:toggle-strikethrough (span.ft-body-text)
     -0:09.0 outline-editor:edit-link (span.ft-body-text)

Non-Core Packages

foldingtext-for-atom 0.9.2 
foldingtext-markdown 1.3.2