Commit 080b0663ca377253b1a78af988c3e1bf2c371ee5
1 parent
c434383b
UI: Add searchbox support for all ace editors.
Showing
12 changed files
with
12 additions
and
0 deletions
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | import 'brace/ext/language_tools'; | 16 | import 'brace/ext/language_tools'; |
17 | +import 'brace/ext/searchbox'; | ||
17 | import 'brace/mode/json'; | 18 | import 'brace/mode/json'; |
18 | import 'brace/theme/github'; | 19 | import 'brace/theme/github'; |
19 | import beautify from 'js-beautify'; | 20 | import beautify from 'js-beautify'; |
@@ -15,6 +15,7 @@ | @@ -15,6 +15,7 @@ | ||
15 | */ | 15 | */ |
16 | import $ from 'jquery'; | 16 | import $ from 'jquery'; |
17 | import 'brace/ext/language_tools'; | 17 | import 'brace/ext/language_tools'; |
18 | +import 'brace/ext/searchbox'; | ||
18 | import 'brace/mode/java'; | 19 | import 'brace/mode/java'; |
19 | import 'brace/theme/github'; | 20 | import 'brace/theme/github'; |
20 | 21 |
@@ -17,6 +17,7 @@ import './js-func.scss'; | @@ -17,6 +17,7 @@ import './js-func.scss'; | ||
17 | 17 | ||
18 | import ace from 'brace'; | 18 | import ace from 'brace'; |
19 | import 'brace/ext/language_tools'; | 19 | import 'brace/ext/language_tools'; |
20 | +import 'brace/ext/searchbox'; | ||
20 | import $ from 'jquery'; | 21 | import $ from 'jquery'; |
21 | import thingsboardToast from '../services/toast'; | 22 | import thingsboardToast from '../services/toast'; |
22 | import thingsboardUtils from '../common/utils.service'; | 23 | import thingsboardUtils from '../common/utils.service'; |
@@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
16 | import './json-content.scss'; | 16 | import './json-content.scss'; |
17 | 17 | ||
18 | import 'brace/ext/language_tools'; | 18 | import 'brace/ext/language_tools'; |
19 | +import 'brace/ext/searchbox'; | ||
19 | import 'brace/mode/json'; | 20 | import 'brace/mode/json'; |
20 | import 'brace/mode/text'; | 21 | import 'brace/mode/text'; |
21 | import 'brace/snippets/json'; | 22 | import 'brace/snippets/json'; |
@@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
16 | import './json-object-edit.scss'; | 16 | import './json-object-edit.scss'; |
17 | 17 | ||
18 | import 'brace/ext/language_tools'; | 18 | import 'brace/ext/language_tools'; |
19 | +import 'brace/ext/searchbox'; | ||
19 | import 'brace/mode/json'; | 20 | import 'brace/mode/json'; |
20 | import 'brace/snippets/json'; | 21 | import 'brace/snippets/json'; |
21 | 22 |
@@ -21,6 +21,7 @@ import reactCSS from 'reactcss'; | @@ -21,6 +21,7 @@ import reactCSS from 'reactcss'; | ||
21 | import AceEditor from 'react-ace'; | 21 | import AceEditor from 'react-ace'; |
22 | import FlatButton from 'material-ui/FlatButton'; | 22 | import FlatButton from 'material-ui/FlatButton'; |
23 | import 'brace/ext/language_tools'; | 23 | import 'brace/ext/language_tools'; |
24 | +import 'brace/ext/searchbox'; | ||
24 | import 'brace/theme/github'; | 25 | import 'brace/theme/github'; |
25 | 26 | ||
26 | import fixAceEditor from './../ace-editor-fix'; | 27 | import fixAceEditor from './../ace-editor-fix'; |
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | import 'brace/ext/language_tools'; | 16 | import 'brace/ext/language_tools'; |
17 | +import 'brace/ext/searchbox'; | ||
17 | import 'brace/mode/json'; | 18 | import 'brace/mode/json'; |
18 | import 'brace/theme/github'; | 19 | import 'brace/theme/github'; |
19 | import beautify from 'js-beautify'; | 20 | import beautify from 'js-beautify'; |
@@ -15,6 +15,7 @@ | @@ -15,6 +15,7 @@ | ||
15 | */ | 15 | */ |
16 | import $ from 'jquery'; | 16 | import $ from 'jquery'; |
17 | import 'brace/ext/language_tools'; | 17 | import 'brace/ext/language_tools'; |
18 | +import 'brace/ext/searchbox'; | ||
18 | import 'brace/mode/java'; | 19 | import 'brace/mode/java'; |
19 | import 'brace/theme/github'; | 20 | import 'brace/theme/github'; |
20 | import beautify from 'js-beautify'; | 21 | import beautify from 'js-beautify'; |
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | import 'brace/ext/language_tools'; | 16 | import 'brace/ext/language_tools'; |
17 | +import 'brace/ext/searchbox'; | ||
17 | import 'brace/mode/json'; | 18 | import 'brace/mode/json'; |
18 | import 'brace/theme/github'; | 19 | import 'brace/theme/github'; |
19 | 20 |
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | import 'brace/ext/language_tools'; | 16 | import 'brace/ext/language_tools'; |
17 | +import 'brace/ext/searchbox'; | ||
17 | import 'brace/mode/json'; | 18 | import 'brace/mode/json'; |
18 | import 'brace/theme/github'; | 19 | import 'brace/theme/github'; |
19 | 20 |
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | import 'brace/ext/language_tools'; | 16 | import 'brace/ext/language_tools'; |
17 | +import 'brace/ext/searchbox'; | ||
17 | import 'brace/mode/json'; | 18 | import 'brace/mode/json'; |
18 | import 'brace/theme/github'; | 19 | import 'brace/theme/github'; |
19 | 20 |
@@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
16 | import $ from 'jquery'; | 16 | import $ from 'jquery'; |
17 | import ace from 'brace'; | 17 | import ace from 'brace'; |
18 | import 'brace/ext/language_tools'; | 18 | import 'brace/ext/language_tools'; |
19 | +import 'brace/ext/searchbox'; | ||
19 | import 'brace/mode/javascript'; | 20 | import 'brace/mode/javascript'; |
20 | import 'brace/mode/html'; | 21 | import 'brace/mode/html'; |
21 | import 'brace/mode/css'; | 22 | import 'brace/mode/css'; |