Steps to reproduce
From a fresh installation and clean workspace:
- Enable line numbers in the text editor settings
- Change the background colour for the text editor and the background colour for the text editor line numbers to a dark colour, and the corresponding foreground/text colours to a light colours
- There is a vertical bar between the line numbers and the text that's bright white
I tried
- Searching for settings to remove this line
- Searching for settings to change the colour of the line
I expected: Some method to make it go away
But got: No obvious configuration option to make it go away
Here is some relevant log output
N/A
Tested under this environment:
- OS & version: Fedora Linux 43
- Eclipse IDE/Platform version (as shown in Help > About): 4.40
Example workspace settings additions to change the colours (these are slightly different settings than in the attached image):
.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
AbstractTextEditor.Color.Background=40,44,52
AbstractTextEditor.Color.Background.SystemDefault=false
AbstractTextEditor.Color.Foreground=171,178,191
AbstractTextEditor.Color.Foreground.SystemDefault=false
AbstractTextEditor.Color.SelectionBackground=62,68,81
AbstractTextEditor.Color.SelectionBackground.SystemDefault=false
AbstractTextEditor.Color.SelectionForeground=255,255,255
AbstractTextEditor.Color.SelectionForeground.SystemDefault=false
currentLineColor=44,49,60
lineNumberColor=73,81,98
printMarginColor=40,44,52
.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
java_bracket=171,178,191
java_operator=171,178,191
java_default=171,178,191
java_comment_task_tag=86,182,194
java_doc_default=92,99,112
java_doc_keyword=86,182,194
java_doc_link=86,182,194
java_doc_tag=86,182,194
java_keyword=224,108,117
java_keyword_return=224,108,117
java_multi_line_comment=92,99,112
java_single_line_comment=92,99,112
java_string=229,192,123
semanticHighlighting.annotation.color=92,99,112
semanticHighlighting.field.color=86,182,194
semanticHighlighting.localVariable.color=209,154,102
semanticHighlighting.restrictedKeywords.color=224,108,117
semanticHighlighting.staticField.color=86,182,194
semanticHighlighting.staticFinalField.color=86,182,194
semanticHighlighting.method.color=152,195,121
semanticHighlighting.deprecatedMember.color=171,178,191
semanticHighlighting.method.enabled=true
semanticHighlighting.methodDeclarationName.color=152,195,121
semanticHighlighting.staticMethodInvocation.color=152,195,121
semanticHighlighting.number.color=198,120,221
semanticHighlighting.number.enabled=true
sourceHoverBackgroundColor=40,44,52
Here is where I expect the culprit is:
|
return new RulerLayout(GAP_SIZE_1); |
if I modify this gap to be 0, then the bright line goes away.
Community
Steps to reproduce
From a fresh installation and clean workspace:
I tried
I expected: Some method to make it go away
But got: No obvious configuration option to make it go away
Here is some relevant log output
N/A
Tested under this environment:
Example workspace settings additions to change the colours (these are slightly different settings than in the attached image):
.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefsHere is where I expect the culprit is:
eclipse.platform.ui/bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/source/SourceViewer.java
Line 481 in 4888468
Community