File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ public void applyPreferences() {
504
504
505
505
} else {
506
506
textarea .setBackground (Theme .getColor ("editor.bgcolor" ));
507
- textarea .setHighlightCurrentLine (PreferencesData .getBoolean ("editor.linehighlight" ));
507
+ textarea .setHighlightCurrentLine (Theme .getBoolean ("editor.linehighlight" ));
508
508
textarea .setEditable (true );
509
509
}
510
510
Original file line number Diff line number Diff line change 32
32
33
33
import org .apache .commons .compress .utils .IOUtils ;
34
34
import org .fife .ui .rsyntaxtextarea .*;
35
- import org .fife .ui .rsyntaxtextarea .Theme ;
36
35
import org .fife .ui .rsyntaxtextarea .Token ;
37
36
import org .fife .ui .rsyntaxtextarea .focusabletip .FocusableTip ;
38
37
import org .fife .ui .rtextarea .RTextArea ;
39
38
import org .fife .ui .rtextarea .RTextAreaUI ;
40
39
import org .fife .ui .rtextarea .RUndoManager ;
41
- import processing .app .*;
40
+ import processing .app .Base ;
41
+ import processing .app .BaseNoGui ;
42
+ import processing .app .EditorListener ;
43
+ import processing .app .PreferencesData ;
42
44
43
45
import javax .swing .*;
44
46
import javax .swing .event .EventListenerList ;
@@ -107,6 +109,7 @@ private void setTheme(String name) throws IOException {
107
109
}
108
110
109
111
setBackground (processing .app .Theme .getColor ("editor.bgcolor" ));
112
+ setHighlightCurrentLine (processing .app .Theme .getBoolean ("editor.linehighlight" ));
110
113
setCurrentLineHighlightColor (processing .app .Theme .getColor ("editor.linehighlight.color" ));
111
114
setCaretColor (processing .app .Theme .getColor ("editor.caret.color" ));
112
115
setSelectedTextColor (null );
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ editor.bgcolor = #ffffff
50
50
# highlight for the current line
51
51
editor.linehighlight.color=#e2e2e2
52
52
# highlight for the current line
53
- editor.linehighlight=true
53
+ editor.linehighlight=false
54
54
55
55
# caret blinking and caret color
56
56
editor.caret.color = #333300
You can’t perform that action at this time.
0 commit comments