File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import Tags from 'react-tagging-input';
55
66import brace from 'brace' ;
77import 'brace/ext/modelist' ;
8+ import 'brace/theme/textmate' ;
89
910import Title from './common/Title' ;
1011import ListBoxWithSearch from './ListBoxWithSearch' ;
@@ -107,6 +108,7 @@ class NewSnippet extends React.Component {
107108 width = "100%"
108109 height = "100%"
109110 focus
111+ theme = "textmate"
110112 setOptions = { {
111113 showFoldWidgets : false ,
112114 useWorker : false ,
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import React from 'react';
22import { connect } from 'react-redux' ;
33import AceEditor from 'react-ace' ;
44
5+ import 'brace/theme/textmate' ;
6+
57import Title from './common/Title' ;
68import Spinner from './common/Spinner' ;
79import * as actions from '../actions' ;
@@ -76,6 +78,7 @@ class Snippet extends React.Component {
7678 mode = { snippet . get ( 'syntax' ) }
7779 width = "100%"
7880 height = "100%"
81+ theme = "textmate"
7982 setOptions = { {
8083 readOnly : true ,
8184 highlightActiveLine : false ,
You can’t perform that action at this time.
0 commit comments