Skip to content

Highlight matched text in editor drop-down list#3938

Draft
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:highlight-editor-dropdown-matches
Draft

Highlight matched text in editor drop-down list#3938
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:highlight-editor-dropdown-matches

Conversation

@vogella

@vogella vogella commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

The chevron drop-down on editor stacks supports filtering but rendered matched characters in plain weight, so it was hard to see why a row qualified. This change switches BasicPartList to a StyledCellLabelProvider that bolds matched substrings using the same StyledStringHighlighter the Quick Switch Editor (Ctrl+E) dialog already uses, giving both lists a consistent look. The dirty-prefix asterisk is excluded from highlighting so only the filename portion is bolded.

Closes #194

The chevron drop-down on editor stacks supports filtering, but matched
characters were rendered without emphasis. Switch BasicPartList to a
StyledCellLabelProvider that bolds the matched substring using the same
StyledStringHighlighter the Quick Switch Editor (Ctrl+E) dialog uses.

The dirty-prefix asterisk is excluded from highlighting so only the
filename portion gets bolded.

Issue: eclipse-platform#194
@iloveeclipse

Copy link
Copy Markdown
Member

Screenshots?

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   852 files  ±0     852 suites  ±0   53m 51s ⏱️ -22s
 7 914 tests ±0   7 671 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 244 runs  ±0  19 589 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit abe8e2c. ± Comparison against base commit 6cde0c4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants