navidmx / AccessIDE

An accessible and time-saving online IDE utilizing voice input and output along with powerful keyboard shortcuts.
2 stars 1 forks source link

Error loading editor #2

Closed GarrettBurroughs closed 5 years ago

GarrettBurroughs commented 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

   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}