diff --git a/src/app/editor/editor.js b/src/app/editor/editor.js index 58039a3220..02183b32fb 100644 --- a/src/app/editor/editor.js +++ b/src/app/editor/editor.js @@ -70,6 +70,7 @@ function Editor (opts = {}) { if (styles.appProperties.aceTheme) { editor.setTheme('ace/theme/' + styles.appProperties.aceTheme) } + ace.acequire('ace/ext/language_tools') editor.setOptions({ enableBasicAutocompletion: true, diff --git a/src/universal-dapp.js b/src/universal-dapp.js index ea459e315b..2046a75f7f 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -100,6 +100,22 @@ var css = csjs` width: 75%; padding: .36em; } + + // .call { + // background-color: ${styles.colors.lightRed}; + // border-color: ${styles.colors.lightRed}; + // } + // .constant .call { + // background-color: ${styles.colors.lightBlue}; + // border-color: ${styles.colors.lightBlue}; + // width: 25%; + // outline: none; + // } + // .payable .call { + // background-color: ${styles.colors.red}; + // border-color: ${styles.colors.red}; + // width: 25%; + // } .contractProperty button { ${styles.rightPanel.runTab.button_Create} min-width: 100px;