add discard highlight

pull/3094/head
yann300 6 years ago
parent e8fc831ae5
commit c43f87e3f4
  1. 4
      src/app/plugin/pluginAPI.js

@ -127,6 +127,10 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) =>
highlighter.currentSourceLocation(null)
highlighter.currentSourceLocationFromfileName(position, filePath, hexColor)
cb()
},
discardHighlight: (mod, cb) => {
highlighter.currentSourceLocation(null)
cb()
}
}
}

Loading…
Cancel
Save