Skip to content

Handle zero-width characters properly in code minings#3721

Merged
tobiasmelcher merged 1 commit intoeclipse-platform:masterfrom
tobiasmelcher:code_minings_zwsp
Feb 3, 2026
Merged

Handle zero-width characters properly in code minings#3721
tobiasmelcher merged 1 commit intoeclipse-platform:masterfrom
tobiasmelcher:code_minings_zwsp

Conversation

@tobiasmelcher
Copy link
Contributor

This change improves the rendering of code minings in the presence of zero-width Unicode characters (e.g., ZWSP, ZWNJ, ZWJ, and BOM). The InlinedAnnotationDrawingStrategy was updated to recognize these characters, adjust their width calculations, and properly place code mining annotations without causing layout issues.

This change is needed by #1437

This change improves the rendering of code minings in the presence of
zero-width Unicode characters (e.g., ZWSP, ZWNJ, ZWJ, and BOM). The
`InlinedAnnotationDrawingStrategy` was updated to recognize these
characters, adjust their width calculations, and properly place code
mining annotations without causing layout issues.

This change is needed by
eclipse-platform#1437
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

Test Results

 3 024 files  ±0   3 024 suites  ±0   2h 27m 37s ⏱️ + 5m 31s
 8 232 tests +2   7 984 ✅ +2  248 💤 ±0  0 ❌ ±0 
23 520 runs  +6  22 729 ✅ +6  791 💤 ±0  0 ❌ ±0 

Results for commit 8c6822d. ± Comparison against base commit 5c0e81b.

@tobiasmelcher tobiasmelcher merged commit b0df8b4 into eclipse-platform:master Feb 3, 2026
18 checks passed
@BeckerWdf BeckerWdf added this to the 4.39 M3 milestone Feb 3, 2026
@BeckerWdf
Copy link
Member

Thanks for fixing this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants