OleMchls / atom-wordcount

Counts the words in your current document
https://atom.io/packages/wordcount
MIT License
38 stars 27 forks source link

Uncaught TypeError: Cannot read property 'match' of undefined #113

Closed mattf1n closed 4 years ago

mattf1n commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.35.1 x64 Electron: 2.0.18 OS: Mac OS X 10.14.3 Thrown From: wordcount package 3.0.0

Stack Trace

Uncaught TypeError: Cannot read property 'match' of undefined

At /Users/matthewfinlayson/.atom/packages/wordcount/lib/main.coffee:168

TypeError: Cannot read property 'match' of undefined
    at Object.show_or_hide_for_item (/packages/wordcount/lib/main.coffee:168:5)
    at /packages/wordcount/lib/main.coffee:145:8
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1172354)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1173795)
    at Workspace.didActivatePaneContainer (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:424001)
    at WorkspaceCenter.paneContainer.onDidActivatePane (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:38543)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1172354)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1173795)
    at PaneContainer.didActivatePane (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:446187)
    at Pane.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:463516)
    at Pane.focus (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:454969)
    at HTMLElement.handleFocus (/app.asar/src/pane-element.js:41:20)

Commands

     -7:56.7.0 core:backspace (input.hidden-input)
  7x -7:53.2.0 core:move-right (input.hidden-input)
     -7:35.9.0 core:move-left (input.hidden-input)
  2x -7:23.3.0 core:move-right (input.hidden-input)
  2x -7:20.8.0 core:backspace (input.hidden-input)
     -6:34.4.0 core:select-left (input.hidden-input)
  2x -6:25.7.0 core:backspace (input.hidden-input)
     -5:38.4.0 core:move-down (input.hidden-input)
  2x -5:36 core:move-right (input.hidden-input)
     -5:35.3.0 core:move-left (input.hidden-input)
 13x -5:34.4.0 core:select-right (input.hidden-input)
     -5:24.6.0 core:backspace (input.hidden-input)
     -5:00.8.0 editor:newline (input.hidden-input)
  4x -4:58.4.0 core:backspace (input.hidden-input)
  3x -4:23.2.0 core:move-left (input.hidden-input)
 18x -4:18 core:backspace (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-html-preview 0.2.6 
atom-ide-debugger-python 0.7.3 
atom-ide-ui 0.13.0 
autoclose-html 0.23.0 
data-atom 0.29.1 
GobbieGobGoo 1.0.4 
ide-python 1.4.1 
language-latex 1.2.0 
language-ocaml 1.9.5 
latex 0.50.2 
latex-plus 0.9.1 
markdown-pdf 2.2.0 
minimap 4.29.9 
minimap-lens 0.2.0 
ocaml-merlin 0.14.7 
pdf-view 0.71.0 
teletype 0.13.3 
wordcount 3.0.0