I just tried to fold some lines where I declared some variables. then this error showed up.
Atom Version: 1.11.2
Electron Version: 0.37.8
System: Microsoft Windows 10 Home
Thrown From: 'custom-folds-1.9.0' package, vundefined
Stack Trace
Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
At /C:/Users/wjuni/.atom/packages/custom-folds-1.9.0/lib/index.js:345
TypeError: Cannot read property 'getCursorBufferPosition' of undefined
at atom-workspace.foldHere (C:/Users/wjuni/.atom/packages/custom-folds-1.9.0/lib/index.js:303:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\wjuni\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:260:29)
at CommandRegistry.handleCommandEvent (C:\Users\wjuni\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\wjuni\AppData\Local\atom\app-1.11.2\resources\app.asar\src\command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (C:\Users\wjuni\AppData\Local\atom\app-1.11.2\resources\app.asar\src\atom-environment.js:1127:28)
at EventEmitter.outerCallback (C:\Users\wjuni\AppData\Local\atom\app-1.11.2\resources\app.asar\src\application-delegate.js:341:25)
at emitTwo (events.js:100:13)
at EventEmitter.emit (events.js:185:7)
[Enter steps to reproduce below:]
Atom Version: 1.11.2 Electron Version: 0.37.8 System: Microsoft Windows 10 Home Thrown From: 'custom-folds-1.9.0' package, vundefined
Stack Trace
Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
Commands
Config
Installed Packages