To change the color for the
current line highlight in a source file:
- Select
Window > Preferences
.
The
Preferences
dialog box appears.
- Type
text editor
as the filter text to narrow down the list of preferences.
- Select
General > Editors > Text Editors
.
The
Text Editors
page appears in the right panel.
- Ensure that
Highlight current line
checkbox is checked.
- Select
Current line highlight
in the
Appearance color options
list.
Figure 1.
Text Editors Page > Current line highlight Selected

- Click the
Color
button to open the color panel, and select the required color.
- Click
OK
to close the color panel.
- Click
OK
to save the settings.
The current line highlight color changes, as specified.