Brandon,
Scintilla is an optional component that has to be turned on
when the
WxRuby library is compiled. I do not think it is being
compiled into
any of the recent releases, I can tell you for a fact that
it is not
compiled into the OS X Intel and Windows build because I
compiled
those. As for the OS X PPC and Linux you will have to ask
Alex.
Your friend may want to build his own version using the
instructions
at the wiki:
(see section Building and installing from source)
http://wxruby.rubyforge.org/wiki/wiki.pl?Installation
(see section How to make a wxRuby binary gem on linking in
scintilla
during build process)
http://wxruby.rubyforge.org/wiki/wiki.pl?Release_HowTo
I hope that is helpful for him
Sean
On 5/21/07, Brandon W. <tricksterguy hotmail.com> wrote:
> I'm posting this for a friend who is having trouble
with this and here is
> his message.
>
> "Heya! I'm working on a script editor
application, but it's missing one key
> feature: Syntax highlighting. Seeing this, I looked
around in the sample
> directory and came across scintilla.rb. I attempted a
run, however Ruby
> reported Wxruby2::Scintilla as an uninitialized
constant!
> So now, I'm wondering what happened to the class. Is
there an external file
> workaround for this, or will I have to set_style many
times in a TextCtrl
> object?"
>
>
____________________________________________________________
_____
> Like the way Microsoft Office Outlook works? You'll
love Windows Live
> Hotmail.
> http://ima
gine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGH
M_migration_HM_mini_outlook_0507
>
>
> _______________________________________________
> wxruby-users mailing list
> wxruby-users rubyforge.org
> ht
tp://rubyforge.org/mailman/listinfo/wxruby-users
>
_______________________________________________
wxruby-users mailing list
wxruby-users rubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users
|