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
e57a4553
Commit
e57a4553
authored
Nov 02, 2020
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style fixes
parent
ccd3adb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
SourceHighlighters.js
apps/remix-ide/src/app/editor/SourceHighlighters.js
+1
-0
contextualListener.js
apps/remix-ide/src/app/editor/contextualListener.js
+1
-1
No files found.
apps/remix-ide/src/app/editor/SourceHighlighters.js
View file @
e57a4553
...
@@ -25,6 +25,7 @@ class SourceHighlighters {
...
@@ -25,6 +25,7 @@ class SourceHighlighters {
}
}
}
}
// highlights all locations for @from plugin
highlightAllFrom
(
from
)
{
highlightAllFrom
(
from
)
{
try
{
try
{
if
(
!
this
.
highlighters
[
from
])
return
if
(
!
this
.
highlighters
[
from
])
return
...
...
apps/remix-ide/src/app/editor/contextualListener.js
View file @
e57a4553
...
@@ -123,7 +123,7 @@ class ContextualListener extends Plugin {
...
@@ -123,7 +123,7 @@ class ContextualListener extends Plugin {
}
}
_highlightInternal
(
position
,
node
)
{
_highlightInternal
(
position
,
node
)
{
if
(
node
.
nodeType
==
'Block'
)
return
if
(
node
.
nodeType
==
=
'Block'
)
return
let
lastCompilationResult
=
this
.
_deps
.
compilersArtefacts
[
'__last'
]
let
lastCompilationResult
=
this
.
_deps
.
compilersArtefacts
[
'__last'
]
if
(
lastCompilationResult
&&
lastCompilationResult
.
languageversion
.
indexOf
(
'soljson'
)
===
0
)
{
if
(
lastCompilationResult
&&
lastCompilationResult
.
languageversion
.
indexOf
(
'soljson'
)
===
0
)
{
let
lineColumn
=
this
.
_deps
.
offsetToLineColumnConverter
.
offsetToLineColumn
(
position
,
position
.
file
,
lastCompilationResult
.
getSourceCode
().
sources
,
lastCompilationResult
.
getAsts
())
let
lineColumn
=
this
.
_deps
.
offsetToLineColumnConverter
.
offsetToLineColumn
(
position
,
position
.
file
,
lastCompilationResult
.
getSourceCode
().
sources
,
lastCompilationResult
.
getAsts
())
...
...
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