Skip to content

Line highlight fails inside merge conflict areas when background color set in theme #41201

@jibsen

Description

@jibsen
  • VSCode Version: Code 1.19.1 (0759f77, 2017-12-19T09:46:23.884Z)
  • OS Version: Windows_NT x64 10.0.16299

Highlighting of current line works fine inside inline merge conflict blocks, but if the color theme changes the background color of these areas, the line highlighting disappears.

Steps to Reproduce:

  1. Choose a theme with line highlighting, I used Solarized Dark
  2. Add a 'merge conflict' to the editor, for instance
<<<<<<<
check if
line highlighting
works here
=======
>>>>>>>
  1. Check that line highlighting works inside the merge conflict area

vscode_merge_before

  1. Set the background color for merge conflicts, for instance add to settings:
    "workbench.colorCustomizations": {
		"merge.currentHeaderBackground": "#207972",
		"merge.currentContentBackground": "#0D4A4E"
    },
  1. Now current line is no longer highlighted inside the merge conflict area

vscode_merge_after

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugmerge-conflictMerge conflict decorations and actionsthemesColor theme issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions