Update SourceHightlighters

pull/1/head
Grandschtroumpf 6 years ago
parent 39ed530b1d
commit a0b82cc872
  1. 4
      src/app/editor/SourceHighlighters.js
  2. 4
      src/app/tabs/compile-tab.js

@ -6,10 +6,12 @@ import { EditorApi } from 'remix-plugin'
const profile = { const profile = {
displayName: 'source highlighters', displayName: 'source highlighters',
name: 'sourceHighlighters', name: 'sourceHighlighters',
methods: ['highlight', 'discardHighlight'],
description: 'service - highlight source code' description: 'service - highlight source code'
} }
// EditorApi:
// - methods: ['highlight', 'discardHighlight'],
class SourceHighlighters extends EditorApi { class SourceHighlighters extends EditorApi {
constructor () { constructor () {

@ -28,6 +28,10 @@ const profile = {
permission: true permission: true
} }
// EditorApi:
// - events: ['compilationFinished'],
// - methods: ['getCompilationResult']
class CompileTab extends CompilerApi { class CompileTab extends CompilerApi {
constructor (editor, config, renderer, swarmfileProvider, fileManager, fileProviders, pluginManager) { constructor (editor, config, renderer, swarmfileProvider, fileManager, fileProviders, pluginManager) {

Loading…
Cancel
Save