Hi
New .i file attached; compiled and tested on OS X, though background
colour doesn''t seem to work as documented - applying
TextAttr.new(fg_colour, bg_colour) doesn''t seem to affect the actual
shown colour, even with TE_RICH|TE_RICH2 styles on the TextCtrl. This is
also true of current wx on Windows but not Linux.
As per Nick''s comment previously, TextAttr and TextCtrl#set_style are
candidates for some ruby syntax sugar, but this patch should at least
allow some simple "rich" text editors.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users