-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Description
My codes:
<CodeMirror
value={script.code}
options={{
mode: 'javascript',
theme: 'solarized light',
lineNumbers: true,
extraKeys: {
Alt: 'autocomplete',
},
hintOptions: {
word: script.dictionary,
hint: this.handleShowHint,
completeSingle: false,
},
highlightSelectionMatches: { showToken: /\w/, annotateScrollbar: true },
}}
onChange={this.handleCodeChange}
onUpdate={this.handleDomChange}
onBeforeChange = {this.handleBeforeChange}
onBeforeSelectionChange = {this.handleBeforeChange}
/>
Metadata
Metadata
Assignees
Labels
No labels