Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Uncaught TypeError: selection.getBufferRange is not a function #8

Open
ghost opened this issue Sep 5, 2019 · 0 comments
Open

Uncaught TypeError: selection.getBufferRange is not a function #8

ghost opened this issue Sep 5, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 5, 2019

[Enter steps to reproduce:]

  1. Select Elm code.
  2. Press cmd-alt-/ to block-comment.

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: block-comment-plus package 0.5.1

Stack Trace

Uncaught TypeError: selection.getBufferRange is not a function

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11

TypeError: selection.getBufferRange is not a function
    at /packages/block-comment-plus/lib/block-comment-plus.js:42:40
    at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:492111)
    at HTMLElement.toggle (/packages/block-comment-plus/lib/block-comment-plus.js:38:10)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349123)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1249835)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1245969)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284329)

Commands

     -1:43.8.0 pane:show-next-item (input.hidden-input)
     -1:21.1.0 editor:toggle-line-comments (input.hidden-input)
     -1:15.5.0 editor:select-to-end-of-line (input.hidden-input)
     -1:14.7.0 block-comment-plus:toggle (input.hidden-input)
     -0:59 settings-view:open (a.)
     -0:06.4.0 block-comment-plus:toggle (input.hidden-input)

Non-Core Packages

atom-python-run 0.9.7 
atom-quokka 1.0.159 
atom-solidity-linter 0.0.11 
atom-transpose 0.3.5 
autocomplete-solidity 0.3.4 
autocomplete-xml 0.8.1 
block-comment-plus 0.5.1 
elm-format 3.2.0 
elm-navigator 2.0.0 
es6-javascript 1.0.0 
language-elm 1.5.0 
language-haskell 1.18.0 
language-idris 0.4.5 
language-purescript 0.8.3 
linter 2.3.0 
linter-clojure 1.1.2 
linter-solium 0.0.5 
linter-ui-default 1.7.1 
linter-xmllint 1.3.0 
prettier-atom 0.53.0 
pretty-json 2.0.0 
python-yapf 0.14.0 
todo-show 2.1.0 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants