File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -477,14 +477,13 @@ public void applyPreferences() {
477
477
478
478
if (external ) {
479
479
// disable line highlight and turn off the caret when disabling
480
- Color color = Theme .getColor ("editor.external.bgcolor" );
481
- textarea .setBackground (color );
480
+ textarea .setBackground (Theme .getColor ("editor.external.bgcolor" ));
482
481
textarea .setHighlightCurrentLine (false );
483
482
textarea .setEditable (false );
484
483
485
484
} else {
486
- boolean highlight = PreferencesData . getBoolean ( "editor.linehighlight" );
487
- textarea .setHighlightCurrentLine (highlight );
485
+ textarea . setBackground ( Theme . getColor ( "editor.bgcolor" ) );
486
+ textarea .setHighlightCurrentLine (PreferencesData . getBoolean ( "editor.linehighlight" ) );
488
487
textarea .setEditable (true );
489
488
}
490
489
You can’t perform that action at this time.
0 commit comments