Preserve RichText append style stack (PR #27037)

8 views
Skip to first unread message

Richard Thomson

unread,
Sep 20, 2026, 12:59:18 AM (yesterday) Sep 20
to wx-...@googlegroups.com, Subscribed

AppendText() moves the insertion point to the end before writing, which refreshes the default style from the caret position. If a Begin*() style is active, this could replace the explicit append style with the style at the end of the existing text.

Save and restore the active default style when the rich text style stack is non-empty, and cover appending text under a different text colour.

Fixes #10936


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/27037

Commit Summary

  • 300d8f0 Preserve RichText append style stack

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27037@github.com>

VZ

unread,
Sep 20, 2026, 12:37:57 PM (yesterday) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#27037)

Thanks (and I'll treat this in the same way as the other wxRTC PRs).


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27037/c5751132000@github.com>

VZ

unread,
Sep 20, 2026, 12:57:53 PM (yesterday) Sep 20
to wx-...@googlegroups.com, Subscribed

Closed #27037 via fe5f475.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/27037/issue_event/31486893441@github.com>

Reply all
Reply to author
Forward
0 new messages