Closed GarrettBurroughs closed 5 years ago
Next is throwing a TypeError: Cannot read property 'getCursorPositionScreen' of undefined, probably due methods being invoked on the editor before it exists
TypeError: Cannot read property 'getCursorPositionScreen' of undefined
95 | <Row noGutters> 96 | <Header 97 | run={this.runCommand} > 98 | tabs={this.editor.getCursorPositionScreen().column / 4} 99 | ^ currLine={this.editor.getCursorPosition().row + 1} 100 | lines={this.editor.session.doc.getAllLines()} 101 | update={this.updateLanguage}
Next is throwing a
TypeError: Cannot read property 'getCursorPositionScreen' of undefined
, probably due methods being invoked on the editor before it exists