marcel0ll / atom-nav-panel-plus

Navigation Panel for Atom Editor
Other
12 stars 8 forks source link

Uncaught TypeError: editor.decorationsForMarkerId is not a function #30

Open irvnriir opened 6 years ago

irvnriir commented 6 years ago

Happens when trying to place alt+lmb bookmark on foldable line (on number, not only folding symbol)

Atom: 1.32.0 x64 Electron: 2.0.9 OS: Microsoft Windows 10 Pro Thrown From: nav-panel-plus package 0.3.2

Stack Trace

Uncaught TypeError: editor.decorationsForMarkerId is not a function

At C:\Users\ilia\.atom\packages\nav-panel-plus\lib\nav-view.coffee:430

TypeError: editor.decorationsForMarkerId is not a function
    at NavView.module.exports.NavView.toggleBookmark (/packages/nav-panel-plus/lib/nav-view.coffee:430:28)
    at /packages/nav-panel-plus/lib/nav-view.coffee:184:12)
    at HTMLDivElement.dispatch (/packages/nav-panel-plus/node_modules/jquery/dist/jquery.js:4737:27)
    at HTMLDivElement.elemData.handle (/packages/nav-panel-plus/node_modules/jquery/dist/jquery.js:4549:28)

Commands

Non-Core Packages

autocomplete-html-entities 0.2.0 
casefile 1.1.2 
chrome-color-picker 0.8.0 
custom-folds 1.9.5 
file-bookmark 1.0.4 
filecolor 0.4.0 
fold-comments 0.6.0 
fold-functions 0.11.0 
folded-code-preview 0.2.5 
git-diff-details 1.4.0 
hatena-bookmark 0.3.0 
html-tab 1.0.2 
language-arma-atom 2.14.0 
light-plain-syntax 0.1.1 
local-history 4.3.1 
MDBP-markdown-book-preview 1.12.0 
menu-manager 0.6.0 
minimap-bookmarks 0.4.2 
minimap-git-diff 4.3.1 
minimap-selection 4.5.0 
minimap-split-diff 0.3.7 
nav-panel 0.0.11 
nav-panel-plus 0.3.2 
neon-selection 0.3.2 
nms-color-bracket 0.1.0 
outline-selection 0.3.2 
path-copy 0.14.0 
persistent-undo 1.3.0 
plain-theme 0.7.0 
project-manager 3.3.6 
scroll-color 0.3.0 
slickedit-select 1.6.2 
split-diff 1.5.3 
tabs-to-spaces 1.0.5 
themeZplainQlight 0.7.0 
TreeColor 1.0.6 
dtomasch commented 5 years ago

I'm getting the same error in April 2019.