[wxPython] Styled text control question (WxPython/WxGTK 2.2.5)

Hello,

I am using WxPython/WxWindows 2.2.5 (GTK version with GTK+ 1.2.8) with Solaris and the demo program runs fine. However, the wxStyledTextCtrl is awfully slow in both demo cases. Moreover, the first two lines flicker and scrolling takes ages. GTK displays the following messages:

Gtk-CRITICAL **: file gtkstyle.c: line 2226 (gtk_default_draw_flat_box): assertion `window != NULL' failed.
Gdk-CRITICAL **: file gdkgc.c: line 713 (gdk_gc_set_clip_region): assertion `gc != NULL' failed.
Gdk-CRITICAL **: file gdkgc.c: line 713 (gdk_gc_set_clip_region): assertion `gc != NULL' failed.
Gdk-CRITICAL **: file gdkgc.c: line 713 (gdk_gc_set_clip_region): assertion `gc != NULL' failed.
Gdk-CRITICAL **: file gdkgc.c: line 713 (gdk_gc_set_clip_region): assertion `gc != NULL' failed.

I think this problem is caused by my setup/environment. Does anybody have experience with a similar setup and or behaviour?
Assuming this is not yet the case, might it make sense to wait until Scintilla 1.3.5 is wrapped as this version is said to fix a few GTK related features? (StiTe 1.3.5 runs fine as well, albeit a bit slow too but still acceptable. Would really be nice to be able to use this control from within WxPython.)

Regards,
Andreas

···

______________________________________________________________________________
Die Fachpresse ist sich einig: WEB.DE 18mal Testsieger! Kostenlos E-Mail,
Fax, SMS, Verschlüsselung, POP3, WAP....testen Sie uns! http://freemail.web.de

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

Andreas:

I am using WxPython/WxWindows 2.2.5 (GTK version with GTK+
1.2.8) with Solaris and the demo program runs fine. However,
the wxStyledTextCtrl is awfully slow in both demo cases.
Moreover, the first two lines flicker and scrolling takes ages.

    Sure its not the line with the caret and the line after the caret rather
than just the top two lines as that does not sound likely. Turning off caret
blinking could help here. This looks like SCI_SETCARETPERIOD(0) in Scintilla
but I don't know how to spell that for wxSTC.

   Neil

···

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users