--David Woods
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wx-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/53268bc9-35ad-4e97-b6b7-2d15932d2d54o%40googlegroups.com.
Hello,
I'm a wxPython user, and was referred here by that community for an issue I'm having with wxWidgets 3.1.3.
On macOS, I see two issues with the wxRichTextCtrl. First, paragraphs with a different first line left indent are not being aligned the same way on macOS as on Windows. Specifically, second and later lines are not being given the correct left indent value on macOS.
Also on macOS, if there is a tab character in a paragraph with different first line left indent, cursor positioning on click and selection of text do not work correctly on the first line following the tab character. The positioning is incorrect. Making a correct selection in such text is challenging.
I've attached a few lines of code you can insert into the wxWidgets richtextctrl sample program starting at line 1012 that demonstrate these problems. I've reported this as issue #18797 in the issue tracker.
Thanks in advance for looking at this issue.
Do you need to use wxRTC?Cant you try wxTextCtrl with wxTE_RIXH2 style?
Asking because wxRTC is not getting too much attention right now...
Thank you.
Hi Igor,
It's really not practical for me to switch to the TextCtrl. I
have a decade of legacy code based on the RichTextCtrl, including
RTF and DOCx parsers. wxTE_RICH2 is Windows only, according to
the documentation, and I need cross-platform support. (The
original post specified that this was a macOS issue.) I save the
native RichText XML in the database for complex documents. I also
require embedded images, which I don't think wxTextCtrl supports.
I'm really sorry to hear that wxRTC is being abandoned. It's
really a pretty amazing widget.