Skip to content

FTD#7 - 🛠 Fix: Multiline for HighlightPainter #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jay-k98
Copy link
Collaborator

@jay-k98 jay-k98 commented Jul 23, 2025

📌 Related Issue
Closes #7

This PR fixes multiline support for text drawn with HighlightPainter

✅ What’s Changed
Using LineMetrics the whitespace between text lines is calculated and used to draw the highlighted lines with correct spacing

📸 Before / After
Before:
Bildschirmfoto 2025-07-23 um 11 50 00


After:
Bildschirmfoto 2025-07-23 um 11 49 32

@jay-k98 jay-k98 requested a review from TobiasRump July 23, 2025 10:57
@jay-k98 jay-k98 force-pushed the feature/FTD#7-highlight-painter-multiline branch from 20442a3 to 0c0f0b7 Compare July 23, 2025 12:33
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.

[BUG] Highlight text multiple lines
1 participant