Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
At /Users/macbookair/.atom/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:29
TypeError: Cannot read property 'getCursorBufferPosition' of undefined
at Object.getCursorPosition (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:29:23)
at Object.getTextRangeFromBeginningOfLineToCursor (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:72:23)
at Object.getTextFromBeginningOfLineToCursor (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:82:14)
at Object.runScript (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:124:13)
at Object.expand (/packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:133:6)
at /packages/teacode-atom-helper/lib/teacode-atom-helper.coffee:17:94)
at CommandRegistry.handleCommandEvent (/private/var/folders/z5/fwqxhlv957bdv_qz29dytv7c0000gn/T/AppTranslocation/A5397005-DBB1-4B10-B9D3-63993449D93E/d/Atom.app/Contents/Resources/app/static/<embedded>:11:352215)
at KeymapManager.dispatchCommandEvent (/private/var/folders/z5/fwqxhlv957bdv_qz29dytv7c0000gn/T/AppTranslocation/A5397005-DBB1-4B10-B9D3-63993449D93E/d/Atom.app/Contents/Resources/app/static/<embedded>:11:1226991)
at KeymapManager.handleKeyboardEvent (/private/var/folders/z5/fwqxhlv957bdv_qz29dytv7c0000gn/T/AppTranslocation/A5397005-DBB1-4B10-B9D3-63993449D93E/d/Atom.app/Contents/Resources/app/static/<embedded>:11:1223125)
at WindowEventHandler.handleDocumentKeyEvent (/private/var/folders/z5/fwqxhlv957bdv_qz29dytv7c0000gn/T/AppTranslocation/A5397005-DBB1-4B10-B9D3-63993449D93E/d/Atom.app/Contents/Resources/app/static/<embedded>:11:286551)
Do you get this error when you write code in a file? Or maybe on some tabs without text editor?
If it is during writing code can you provide video for reproduction purposes?
[Enter steps to reproduce:]
Atom: 1.57.0 x64 Electron: 9.4.4 OS: macOS 12.0 Thrown From: teacode-atom-helper package 1.2.5
Stack Trace
Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined
Commands
Non-Core Packages