Skip to content

Mark misspelled words with a property, not with an underline style. - #35

Open
ilya-fedin wants to merge 1 commit into
desktop-app:masterfrom
ilya-fedin:spellcheck-mark
Open

Mark misspelled words with a property, not with an underline style.#35
ilya-fedin wants to merge 1 commit into
desktop-app:masterfrom
ilya-fedin:spellcheck-mark

Conversation

@ilya-fedin

@ilya-fedin ilya-fedin commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The mark under a misspelled word is drawn by the field now, so the format the
highlighter applies carries a property instead of asking Qt for
QTextCharFormat::SpellCheckUnderline. The colour stays where it was, in
underlineColor(), and the field reads it from there.

Goes together with desktop-app/lib_ui#346, which adds the property and the
drawing; without it the mark is not drawn at all.

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.

1 participant