From 84a849f4f856df2c99e218f4f797c3be44dff0ee Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 20 Sep 2018 14:55:07 +0200 Subject: [PATCH] Update plugin.md --- src/app/plugin/plugin.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/app/plugin/plugin.md b/src/app/plugin/plugin.md index 2d39655b49..c0db0ee6d3 100644 --- a/src/app/plugin/plugin.md +++ b/src/app/plugin/plugin.md @@ -23,7 +23,9 @@ plugin api ### app - getExecutionContextProvider `@return {String} provider (injected | web3 | vm)` + - getProviderEndpoint `@return {String} url` - updateTitle `@param {String} title` + - detectNetWork `@return {Object} {name, id}` ### config @@ -38,4 +40,12 @@ plugin api - runTx `@param {Object} tx` - getAccounts `@return {Array} acccounts` - createVMAccount `@param {String} privateKey, @param {String} balance (hex)` - \ No newline at end of file + +### editor + - getFilesFromPath `@param {Array} [path]` + - getCurrentFile `@return {String} path` + - getFile `@param {String} path` + - setFile `@param {String} path, @param {String} content` + - highlight `@param {Object} lineColumnPos {start: {line, column}, end: {line, column}}, @param {String} path, @param {String} hexColor` + - discardHighlight +