You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught TypeError: undefined is not a function on Undo operations for special panes #6587
Perform an Undo (Redo also causes problem in Timecop)
Atom Version: 0.193.0 System: linux 3.19.3-3-ARCH Thrown From: Atom Core
Stack Trace
Uncaught TypeError: undefined is not a function
At /usr/share/atom/resources/app.asar/src/window-event-handler.js:164
TypeError: undefined is not a function
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:164:20)
at HTMLDocument.handler (/usr/share/atom/resources/app.asar/src/space-pen-extensions.js:115:32)
at HTMLDocument.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
at HTMLDocument.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:238:29)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:153:19)
at EventEmitter.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:71:30)
at emitOne (events.js:77:13)
at EventEmitter.emit (events.js:166:7)
Getting something similar when trying to Split a html-tab tab.
Atom 0.201.0, Windows 10 x64, color-picker, linter, minimap, html-tab, autoclose-html installed.
C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:293
Hide Stack Trace
TypeError: undefined is not a function
at TabBarView.module.exports.TabBarView.copyItem (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:293:133)
at TabBarView.module.exports.TabBarView.splitTab (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:283:31)
at space-pen-ul.subscriptions.add.atom.commands.add.tabs:split-down (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:77:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\command-registry.js:238:29)
at CommandRegistry.handleCommandEvent (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\command-registry.js:153:19)
at [object Object].jQuery.fn.trigger (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\space-pen-extensions.js:64:23)
at EventEmitter.<anonymous> (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\window-event-handler.js:76:67)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:169:7)
at EventEmitter.ipc.sendSync (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\ipc.js:21:31)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\atom.asar\renderer\api\lib\remote.js:110:29)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\Carsten\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
@aurelien-rainone, the exception window includes a button that copies the whole thing onto the clipboard. You still have to write out what you did to cause the bug.
@aurelien-rainone it looks like this issue also affects Markdown-Preview.
I think Atom should either handle that type of exception for editor commands and fail silently or have some type of NULL function that gets registered to handlers by default.
For me this error happened when I pressed Shift+Delete by accident in markdown-preview.
Steps to reproduce
Open a markdown file.
Start markdown-preview: Ctrl+Shift+m
Press Shift+Delete or Shift+Insert.
Atom Version: 1.0.0 System: Ubuntu 14.04.2 Thrown From: Atom Core
Stack Trace
Uncaught TypeError: undefined is not a function
At /usr/share/atom/resources/app.asar/src/window-event-handler.js:165
TypeError: undefined is not a function
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:165:20)
at HTMLDocument.handler (/usr/share/atom/resources/app.asar/src/space-pen-extensions.js:115:32)
at HTMLDocument.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
at HTMLDocument.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:180:20)
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
winstliu commentedon Apr 30, 2015
Confirmed on latest master.
croaker000 commentedon May 12, 2015
ctrl-ins causes this on Settings->keybindings page when trying to copy contents of command column.
izuzak commentedon May 13, 2015
I've been able to reproduce this on Linux, but not on OSX.
sebastianrosik commentedon May 23, 2015
This can be also reproduced by using the asciidoc-preview package: create a preview pane for the asciidoc document and move it to a new Atom window.
Atom version 0.198.0 on ubuntu 15.04 3.19.0-15-generic
carstenhag commentedon May 28, 2015
Getting something similar when trying to Split a
html-tabtab.Atom 0.201.0, Windows 10 x64,
color-picker, linter, minimap, html-tab, autoclose-htmlinstalled.arl commentedon May 29, 2015
Getting exactly the same stack trace as @DepthDeluxe (issue creator) :
Now i can't provide you with the steps to reproduce because i can't reproduce it but what i did when it happened was :
and that's when it happened
BTW @DepthDeluxe how did you get that list of commands you put in your comment?
DepthDeluxe commentedon May 30, 2015
@aurelien-rainone, the exception window includes a button that copies the whole thing onto the clipboard. You still have to write out what you did to cause the bug.
DepthDeluxe commentedon May 30, 2015
@aurelien-rainone it looks like this issue also affects Markdown-Preview.
I think Atom should either handle that type of exception for editor commands and fail silently or have some type of NULL function that gets registered to handlers by default.
arl commentedon Jun 11, 2015
@DepthDeluxe thanks for the explaination
BTW yes Mardown-Preview is also affected that's where i had the bug
vbrozik commentedon Jul 4, 2015
For me this error happened when I pressed Shift+Delete by accident in markdown-preview.
Steps to reproduce
Atom Version: 1.0.0
System: Ubuntu 14.04.2
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: undefined is not a function
Commands
Config
{ "core": {}, "editor": { "invisibles": {} } }Installed Packages
Only handle native key bindings on OS X
Call native method on WebContents instead of sendActionToFirstResponder
lock commentedon Jan 21, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!