From b404136adc07f77280660fe70dd353a9830c0408 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 7 Sep 2018 13:27:02 +0200 Subject: [PATCH 1/2] Update remix_plugin_api.md --- docs/remix_plugin_api.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/remix_plugin_api.md b/docs/remix_plugin_api.md index 9fa9967139..42bc61ff69 100644 --- a/docs/remix_plugin_api.md +++ b/docs/remix_plugin_api.md @@ -46,6 +46,14 @@ This section list all the available key and value pair which define this API: - runTx `@param {Object} tx` - getAccounts `@return {Array} acccounts` - createVMAccount `@param {String} privateKey, @param {String} balance (hex)` + +### editor + - getCurrentFile `@return {String} current file path displayed in the editor` + - getFile `@param {String} path, @return {String} content` + - setFile `@param {String} path, @param {String} content` + - highlight `@param {Object} lineColumnPos, @param {String} filePath, @param {String} hexColor ` + + From ecdd3e5c8ba6689133b52ffa659e8cd884af97d1 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 7 Sep 2018 15:33:07 +0200 Subject: [PATCH 2/2] Update remix_plugin_api.md --- docs/remix_plugin_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/remix_plugin_api.md b/docs/remix_plugin_api.md index 42bc61ff69..579a36ff07 100644 --- a/docs/remix_plugin_api.md +++ b/docs/remix_plugin_api.md @@ -49,9 +49,9 @@ This section list all the available key and value pair which define this API: ### editor - getCurrentFile `@return {String} current file path displayed in the editor` - - getFile `@param {String} path, @return {String} content` + - getFile `@param {String} path` - setFile `@param {String} path, @param {String} content` - - highlight `@param {Object} lineColumnPos, @param {String} filePath, @param {String} hexColor ` + - highlight `@param {Object} lineColumnPos, @param {String} filePath, @param {String} hexColor`