From 0df63570f22df8004470e89f442d139190fa877c 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 +