atom-elastic-tabstops icon indicating copy to clipboard operation
atom-elastic-tabstops copied to clipboard

Uncaught TypeError: Cannot read property '_updateTileNodes' of undefined

Open BramEsposito opened this issue 6 years ago • 5 comments

[Enter steps to reproduce:]

  1. Install Atom
  2. Install Elastic tabstops package
  3. open a file with tabs e.g.
one two
1 2
  1. in the menu, go to Packages > Elastic tabstops > toggle
  2. Error is also thrown after restarting Atom

Atom: 1.25.1 x64 Electron: 1.7.11 OS: Mac OS X 10.12.6 Thrown From: elastic-tabstops package 1.3.1

Stack Trace

Uncaught TypeError: Cannot read property '_updateTileNodes' of undefined

At /Users/bram/.atom/packages/elastic-tabstops/lib/elastic-tabstops.js:106

TypeError: Cannot read property '_updateTileNodes' of undefined
    at disable (/packages/elastic-tabstops/lib/elastic-tabstops.js:106:7)
    at /packages/elastic-tabstops/lib/elastic-tabstops.js:46:5)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1343:25)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:339:53)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:197:7)

Commands

     -1:44.7.0 core:backspace (input.hidden-input)
     -1:41.8.0 core:confirm (input.hidden-input)
     -0:37.9.0 elastic-tabstops:toggle (input.hidden-input)

Non-Core Packages

elastic-tabstops 1.3.1 

BramEsposito avatar Apr 11 '18 09:04 BramEsposito

I have the same problem. the package hasn't been usable since version 1.19 (? I think) because of these errors :-(

daanx avatar Apr 17 '18 17:04 daanx

Same issue here

DBattou avatar Jul 31 '18 11:07 DBattou

Two years on, and still no movement on this issue? :-(

graemeg avatar Apr 28 '20 13:04 graemeg

Unfortunately I do not have much time on this package now, if anyone could commit PR to fix this I would like to merge it asap.

hax avatar May 11 '20 19:05 hax

Maybe we can just delete https://github.com/hax/atom-elastic-tabstops/blob/956a0a3fd92e3d27364579c70db70c0aea5f119a/lib/elastic-tabstops.js#L105-L109

ThatXliner avatar Nov 20 '21 04:11 ThatXliner