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() {
504504
505505 } else {
506506 textarea .setBackground (Theme .getColor ("editor.bgcolor" ));
507- textarea .setHighlightCurrentLine (PreferencesData .getBoolean ("editor.linehighlight" ));
507+ textarea .setHighlightCurrentLine (Theme .getBoolean ("editor.linehighlight" ));
508508 textarea .setEditable (true );
509509 }
510510
Original file line number Diff line number Diff line change 3232
3333import org .apache .commons .compress .utils .IOUtils ;
3434import org .fife .ui .rsyntaxtextarea .*;
35- import org .fife .ui .rsyntaxtextarea .Theme ;
3635import org .fife .ui .rsyntaxtextarea .Token ;
3736import org .fife .ui .rsyntaxtextarea .focusabletip .FocusableTip ;
3837import org .fife .ui .rtextarea .RTextArea ;
3938import org .fife .ui .rtextarea .RTextAreaUI ;
4039import 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 ;
4244
4345import javax .swing .*;
4446import javax .swing .event .EventListenerList ;
@@ -107,6 +109,7 @@ private void setTheme(String name) throws IOException {
107109 }
108110
109111 setBackground (processing .app .Theme .getColor ("editor.bgcolor" ));
112+ setHighlightCurrentLine (processing .app .Theme .getBoolean ("editor.linehighlight" ));
110113 setCurrentLineHighlightColor (processing .app .Theme .getColor ("editor.linehighlight.color" ));
111114 setCaretColor (processing .app .Theme .getColor ("editor.caret.color" ));
112115 setSelectedTextColor (null );
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ editor.bgcolor = #ffffff
5050# highlight for the current line
5151editor.linehighlight.color=#e2e2e2
5252# highlight for the current line
53- editor.linehighlight=true
53+ editor.linehighlight=false
5454
5555# caret blinking and caret color
5656editor.caret.color = #333300
You can’t perform that action at this time.
0 commit comments