Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
09a6ceac
Commit
09a6ceac
authored
Jul 28, 2014
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gui: replace underline to color highlight (experimental)
parent
75d8a01c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CodeArea.java
jadx-gui/src/main/java/jadx/gui/ui/CodeArea.java
+5
-4
No files found.
jadx-gui/src/main/java/jadx/gui/ui/CodeArea.java
View file @
09a6ceac
...
...
@@ -30,7 +30,8 @@ class CodeArea extends RSyntaxTextArea {
private
static
final
long
serialVersionUID
=
6312736869579635796L
;
public
static
final
Color
BACKGROUND
=
new
Color
(
0xf7f7f7
);
public
static
final
Color
BACKGROUND
=
new
Color
(
0xFAFAFA
);
public
static
final
Color
JUMP_TOKEN_FGD
=
new
Color
(
0x491BA1
);
private
final
CodePanel
codePanel
;
private
final
JClass
cls
;
...
...
@@ -72,11 +73,11 @@ class CodeArea extends RSyntaxTextArea {
}
@Override
public
boolean
getUnderline
ForToken
(
Token
t
)
{
public
Color
getForeground
ForToken
(
Token
t
)
{
if
(
isJumpToken
(
t
))
{
return
true
;
return
JUMP_TOKEN_FGD
;
}
return
super
.
get
Underline
ForToken
(
t
);
return
super
.
get
Foreground
ForToken
(
t
);
}
static
Position
getPosition
(
JClass
jCls
,
RSyntaxTextArea
textArea
,
int
offset
)
{
...
...
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