-
Notifications
You must be signed in to change notification settings - Fork 3
Uncaught TypeError: Cannot read property 'markBufferPosition' of undefined #4
Copy link
Copy link
Open
Description
[Enter steps to reproduce below:]
- ...
- ...
Atom Version: 1.2.4
System: Mac OS X 10.10.5
Thrown From: auto-header package, v0.2.4
Stack Trace
Uncaught TypeError: Cannot read property 'markBufferPosition' of undefined
At /Users/ssteiner/.atom/packages/auto-header/lib/generator.coffee:28
TypeError: Cannot read property 'markBufferPosition' of undefined
at Generator.module.exports.Generator.restoreCursor (/Users/ssteiner/.atom/packages/auto-header/lib/generator.coffee:28:21)
at Generator.module.exports.Generator.sync (/Users/ssteiner/.atom/packages/auto-header/lib/generator.coffee:75:6)
at Object.module.exports.AutoHeader.generate (/Users/ssteiner/.atom/packages/auto-header/lib/auto-header.coffee:58:15)
at atom-workspace.subscriptions.add.atom.commands.add.auto-header:generate (/Users/ssteiner/.atom/packages/auto-header/lib/auto-header.coffee:48:34)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:533:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:356:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:99:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
Commands
-1:49.1.0 auto-header:generate (atom-text-editor.editor)
20x -1:47.1.0 core:move-up (atom-text-editor.editor.is-focused)
-1:29.3.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
-1:25.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:25.2.0 header-42:insert (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
-0:30.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:27.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:26.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:26.3.0 comment-headers:insert (atom-text-editor.editor)
-0:22.7.0 core:undo (atom-text-editor.editor.is-focused)
-0:20.4.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
3x -0:20.1.0 editor:newline (atom-text-editor.editor.is-focused)
3x -0:19 core:move-up (atom-text-editor.editor.is-focused)
-0:04.8.0 command-palette:toggle (atom-text-editor.editor.mini.is-focused)
-0:01.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:01.1.0 auto-header:generate (atom-text-editor.editor.mini)
Config
{
"core": {
"disabledPackages": [
"metrics"
],
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
]
}
}Installed Packages
# User
Sublime-Style-Column-Selection, v1.3.0
atom-beautify, v0.28.19
auto-header, v0.2.4
block-comment, v0.4.3
block-cursor, v0.13.1
comment-headers, v2.13.0
commentcode, v0.1.0
jshint, v1.8.3
linter, v1.11.3
minimap, v4.16.2
pigments, v0.19.1
sass-watch, v0.3.1
# Dev
No dev packagesReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels