chemoish / atom-valign

MIT License
5 stars 1 forks source link

Uncaught TypeError: this.text_editor.getGrammar(...).tokenizeLine is not a function #19

Open lazyb0ne opened 6 years ago

lazyb0ne commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.32.0 x64 Electron: 2.0.9 OS: Mac OS X 10.14 Thrown From: valign package 1.1.3

Stack Trace

Uncaught TypeError: this.text_editor.getGrammar(...).tokenizeLine is not a function

At /Users/lazybone/.atom/packages/valign/lib/read/Base.coffee:71

TypeError: this.text_editor.getGrammar(...).tokenizeLine is not a function
    at Base.getLineConfigurationForRow (/packages/valign/lib/read/Base.coffee:71:40)
    at Base.findMatchingBlockForRow (/packages/valign/lib/read/Base.coffee:16:29)
    at Base.findMatchingBlock (/packages/valign/lib/read/Base.coffee:9:13)
    at Object.getBlock (/packages/valign/lib/read/read.coffee:15:20)
    at Object.align (/packages/valign/lib/valign.coffee:19:18)
    at /packages/valign/lib/valign.coffee:13:10)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:345848)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1226096)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1222230)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:281284)

Commands

     -3:36.1.0 core:copy (input.hidden-input)
  2x -3:35.6.0 core:close (input.hidden-input)
  2x -3:20 valign:align (input.hidden-input)
  7x -3:09.2.0 core:backspace (input.hidden-input)
     -2:39.9.0 pane:show-previous-item (div.package-detail.panels-item)
     -2:39.1.0 valign:align (input.hidden-input)
  2x -2:30.9.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -2:18 fuzzy-finder:toggle-file-finder (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -2:17.6.0 core:paste (input.hidden-input)
     -2:08.1.0 editor:consolidate-selections (input.hidden-input)
     -2:08.1.0 core:cancel (input.hidden-input)
     -2:04.7.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -1:12.9.0 editor:select-to-first-character-of-line (input.hidden-input)
     -1:12.6.0 core:backspace (input.hidden-input)
     -0:07.8.0 valign:align (input.hidden-input)
  2x -0:01.5.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-beautify 0.33.1 
autocomplete 0.47.0 
busy-signal 1.4.3 
file-icons 2.1.24 
gemsource 0.3.0 
git-status 0.3.4 
goto-definition 1.3.4 
html2haml 0.10.0 
hyperclick 0.1.5 
hyperlink-hyperclick 2.0.0 
intentions 1.1.5 
language-haml 0.31.1 
language-vue 0.23.1 
linter 2.2.0 
linter-eslint 8.4.1 
linter-ruby 1.2.6 
linter-ui-default 1.7.1 
ruby-block 0.3.6 
ruby-slim 0.2.0 
ruby-solargraph 0.3.0 
show-invisibles-plus 0.3.1 
valign 1.1.3 
elisei-timofte commented 5 years ago

+1