Commit 080b0663ca377253b1a78af988c3e1bf2c371ee5

Authored by Igor Kulikov
1 parent c434383b

UI: Add searchbox support for all ace editors.

... ... @@ -14,6 +14,7 @@
14 14 * limitations under the License.
15 15 */
16 16 import 'brace/ext/language_tools';
  17 +import 'brace/ext/searchbox';
17 18 import 'brace/mode/json';
18 19 import 'brace/theme/github';
19 20 import beautify from 'js-beautify';
... ...
... ... @@ -15,6 +15,7 @@
15 15 */
16 16 import $ from 'jquery';
17 17 import 'brace/ext/language_tools';
  18 +import 'brace/ext/searchbox';
18 19 import 'brace/mode/java';
19 20 import 'brace/theme/github';
20 21
... ...
... ... @@ -17,6 +17,7 @@ import './js-func.scss';
17 17
18 18 import ace from 'brace';
19 19 import 'brace/ext/language_tools';
  20 +import 'brace/ext/searchbox';
20 21 import $ from 'jquery';
21 22 import thingsboardToast from '../services/toast';
22 23 import thingsboardUtils from '../common/utils.service';
... ...
... ... @@ -16,6 +16,7 @@
16 16 import './json-content.scss';
17 17
18 18 import 'brace/ext/language_tools';
  19 +import 'brace/ext/searchbox';
19 20 import 'brace/mode/json';
20 21 import 'brace/mode/text';
21 22 import 'brace/snippets/json';
... ...
... ... @@ -16,6 +16,7 @@
16 16 import './json-object-edit.scss';
17 17
18 18 import 'brace/ext/language_tools';
  19 +import 'brace/ext/searchbox';
19 20 import 'brace/mode/json';
20 21 import 'brace/snippets/json';
21 22
... ...
... ... @@ -21,6 +21,7 @@ import reactCSS from 'reactcss';
21 21 import AceEditor from 'react-ace';
22 22 import FlatButton from 'material-ui/FlatButton';
23 23 import 'brace/ext/language_tools';
  24 +import 'brace/ext/searchbox';
24 25 import 'brace/theme/github';
25 26
26 27 import fixAceEditor from './../ace-editor-fix';
... ...
... ... @@ -14,6 +14,7 @@
14 14 * limitations under the License.
15 15 */
16 16 import 'brace/ext/language_tools';
  17 +import 'brace/ext/searchbox';
17 18 import 'brace/mode/json';
18 19 import 'brace/theme/github';
19 20 import beautify from 'js-beautify';
... ...
... ... @@ -15,6 +15,7 @@
15 15 */
16 16 import $ from 'jquery';
17 17 import 'brace/ext/language_tools';
  18 +import 'brace/ext/searchbox';
18 19 import 'brace/mode/java';
19 20 import 'brace/theme/github';
20 21 import beautify from 'js-beautify';
... ...
... ... @@ -14,6 +14,7 @@
14 14 * limitations under the License.
15 15 */
16 16 import 'brace/ext/language_tools';
  17 +import 'brace/ext/searchbox';
17 18 import 'brace/mode/json';
18 19 import 'brace/theme/github';
19 20
... ...
... ... @@ -14,6 +14,7 @@
14 14 * limitations under the License.
15 15 */
16 16 import 'brace/ext/language_tools';
  17 +import 'brace/ext/searchbox';
17 18 import 'brace/mode/json';
18 19 import 'brace/theme/github';
19 20
... ...
... ... @@ -14,6 +14,7 @@
14 14 * limitations under the License.
15 15 */
16 16 import 'brace/ext/language_tools';
  17 +import 'brace/ext/searchbox';
17 18 import 'brace/mode/json';
18 19 import 'brace/theme/github';
19 20
... ...
... ... @@ -16,6 +16,7 @@
16 16 import $ from 'jquery';
17 17 import ace from 'brace';
18 18 import 'brace/ext/language_tools';
  19 +import 'brace/ext/searchbox';
19 20 import 'brace/mode/javascript';
20 21 import 'brace/mode/html';
21 22 import 'brace/mode/css';
... ...