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
a44366b3
Commit
a44366b3
authored
Sep 25, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css change
parent
8be16b1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
browser-solidity.css
assets/css/browser-solidity.css
+7
-0
app.js
src/app.js
+3
-1
No files found.
assets/css/browser-solidity.css
View file @
a44366b3
...
@@ -297,6 +297,13 @@ input[type="file"] {
...
@@ -297,6 +297,13 @@ input[type="file"] {
opacity
:
0.7
opacity
:
0.7
}
}
.highlightreferenceline
{
position
:
absolute
;
z-index
:
20
;
background-color
:
hsla
(
229
,
75%
,
87%
,
.5
);
/* lightBlue in style-guide.js*/
opacity
:
0.7
}
.highlightcode
{
.highlightcode
{
position
:
absolute
;
position
:
absolute
;
z-index
:
20
;
z-index
:
20
;
...
...
src/app.js
View file @
a44366b3
...
@@ -397,7 +397,9 @@ function run () {
...
@@ -397,7 +397,9 @@ function run () {
highlight
:
(
position
,
node
)
=>
{
highlight
:
(
position
,
node
)
=>
{
if
(
compiler
.
lastCompilationResult
&&
compiler
.
lastCompilationResult
.
source
&&
compiler
.
lastCompilationResult
.
source
.
target
===
config
.
get
(
'currentFile'
))
{
if
(
compiler
.
lastCompilationResult
&&
compiler
.
lastCompilationResult
.
source
&&
compiler
.
lastCompilationResult
.
source
.
target
===
config
.
get
(
'currentFile'
))
{
position
=
offsetToLineColumnConverter
.
offsetToLineColumn
(
position
,
position
.
file
,
compiler
.
lastCompilationResult
)
position
=
offsetToLineColumnConverter
.
offsetToLineColumn
(
position
,
position
.
file
,
compiler
.
lastCompilationResult
)
var
css
=
'highlightreference'
if
(
node
.
children
&&
node
.
children
.
length
)
{
if
(
node
.
children
&&
node
.
children
.
length
)
{
css
=
'highlightreferenceline'
position
=
{
position
=
{
start
:
{
start
:
{
line
:
position
.
start
.
line
,
line
:
position
.
start
.
line
,
...
@@ -409,7 +411,7 @@ function run () {
...
@@ -409,7 +411,7 @@ function run () {
}
}
}
}
}
}
return
editor
.
addMarker
(
position
,
config
.
get
(
'currentFile'
),
'highlightreference'
)
return
editor
.
addMarker
(
position
,
config
.
get
(
'currentFile'
),
css
)
}
}
return
null
return
null
},
},
...
...
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