Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
a0b82cc8
Commit
a0b82cc8
authored
Apr 11, 2019
by
Grandschtroumpf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SourceHightlighters
parent
39ed530b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
SourceHighlighters.js
src/app/editor/SourceHighlighters.js
+3
-1
compile-tab.js
src/app/tabs/compile-tab.js
+4
-0
No files found.
src/app/editor/SourceHighlighters.js
View file @
a0b82cc8
...
@@ -6,10 +6,12 @@ import { EditorApi } from 'remix-plugin'
...
@@ -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
()
{
...
...
src/app/tabs/compile-tab.js
View file @
a0b82cc8
...
@@ -28,6 +28,10 @@ const profile = {
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment