Rich Text Widget

Hello Friends!

Well, I am working on a multi-platform app and I really need an Rich Text widget.

I can’t understand what is wrong with TextCtrl since (on Mac OS X) I CAN copy rich text from any other Mac OS native app with different fonts and colors and paste it correctly on my app’s wxTextCtrl widgets.

When I saw this behaviour, some time ago, I tought wxTextCtrl could do everything I needed. I was happy with it. I left text formatting code for latter and worked on other parts of my code (data infrastructure and GUI).

But now, it’s time to work on text formatting. I become a bit disapointed when I could not find and method to find where a style begins and ends on a beatiful rich text copied from another app and pasted in my wxPython app. It displays perfectly, everything is there: color, font, size. Why can’t I just get such information from the widget and save it to my database?

I tought on using some kind of mixing beetwen
wxPython and PyObjC. Is it possible? But I saw I could get in trouble trying latter to find out how to do the same with Windows and Linux native widgets. I choose wxPython exactly because it is multiplatform and so I could avoid this kind of messy code and trouble.

I’ve heard there’s some work been done on rich text for wxPython 2.7. Is that true? When do you expect to release it?

I apologize for my emotion and my bad english. I really appreciate the great work done in wxPython. Congratulations!

Regards,
Márcio Moreira

···

Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!

Hi Marcio,

http://starship.python.net/crew/robind/wxPython/daily/20060923/
http://starship.python.net/crew/robind/wxPython/daily/20060923/CHANGES.txt

You need to subscribe to wxPython-dev list to hear about these preview builds.

Also look at the "2.7 timeline" thread on that list.

Werner

Marcio Moreira wrote:

···

Hello Friends!

Well, I am working on a multi-platform app and I really need an Rich Text widget.

I can't understand what is wrong with TextCtrl since (on Mac OS X) I CAN copy rich text from any other Mac OS native app with different fonts and colors and paste it correctly on my app's wxTextCtrl widgets.

When I saw this behaviour, some time ago, I tought wxTextCtrl could do everything I needed. I was happy with it. I left text formatting code for latter and worked on other parts of my code (data infrastructure and GUI).

But now, it's time to work on text formatting. I become a bit disapointed when I could not find and method to find where a style begins and ends on a beatiful rich text copied from another app and pasted in my wxPython app. It displays perfectly, everything is there: color, font, size. Why can't I just get such information from the widget and save it to my database?

I tought on using some kind of mixing beetwen wxPython and PyObjC. Is it possible? But I saw I could get in trouble trying latter to find out how to do the same with Windows and Linux native widgets. I choose wxPython exactly because it is multiplatform and so I could avoid this kind of messy code and trouble.

I've heard there's some work been done on rich text for wxPython 2.7. Is that true? When do you expect to release it?

I apologize for my emotion and my bad english. I really appreciate the great work done in wxPython. Congratulations!

Regards,
Márcio Moreira

------------------------------------------------------------------------
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! <http://us.rd.yahoo.com/mail/br/tagline/mobile_alerts/*http://br.mobile.yahoo.com/mailalertas/&gt;

Hello Werner,
Thank you for your help. I have tried to use CVS but had not time and patience to get it working. Your link for pre-compiled preview versions is just what I need now.
Merci,
Marcio Moreira
PS: I apologize for my bad french :slight_smile: I am brazilian, and I have one good friend who lives in France and works for Foundation Abee Pierre.
“Werner F. Bruhin” werner.bruhin@free.fr escreveu:

···

Hi Marcio,

http://starship.python.net/crew/robind/wxPython/daily/20060923/
http://starship.python.net/crew/robind/wxPython/daily/20060923/CHANGES.txt

You need to subscribe to wxPython-dev list to hear about these preview
builds.

Also look at the “2.7 timeline” thread on that list.

Werner

Marcio Moreira wrote:

Hello Friends!

Well, I am working on a
multi-platform app and I really need an Rich
Text widget.

I can’t understand what is wrong with TextCtrl since (on Mac OS X) I
CAN copy rich text from any other Mac OS native app with different
fonts and colors and paste it correctly on my app’s wxTextCtrl widgets.

When I saw this behaviour, some time ago, I tought wxTextCtrl could do
everything I needed. I was happy with it. I left text formatting code
for latter and worked on other parts of my code (data infrastructure
and GUI).

But now, it’s time to work on text formatting. I become a bit
disapointed when I could not find and method to find where a style
begins and ends on a beatiful rich text copied from another app and
pasted in my wxPython app. It displays perfectly, everything is there:
color, font, size. Why can’t I just get such information from the
widget and save it
to my database?

I tought on using some kind of mixing beetwen wxPython and PyObjC. Is
it possible? But I saw I could get in trouble trying latter to find
out how to do the same with Windows and Linux native widgets. I choose
wxPython exactly because it is multiplatform and so I could avoid this
kind of messy code and trouble.

I’ve heard there’s some work been done on rich text for wxPython 2.7.
Is that true? When do you expect to release it?

I apologize for my emotion and my bad english. I really appreciate the
great work done in wxPython. Congratulations!

Regards,
Márcio Moreira


Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu
celular. Registre seu aparelho agora!


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org


Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!