Ubuntu SourceView

hi,

i’m resending this mail, because it’s been considered Spam, and i’m
still
stuck on this.

i wanted to test my app on ubuntu lucid, but while require
‘gtksourceview’
on gentoo works fine i find out that on ubuntu they only have
libgtksourceview2-ruby which has it version 0.19-3-1ubuntu3, which means
the
following files for them:

gtksourceview2.rb

so i have to change my require to ‘gtksourceview2’ ?
i did that, but then i ran into 'uninitialized constant
Gtk::SourceLanguagesManager

so i guess this is not the right way to install the Gtk::SourceView on
ubuntu.

can anyone help me out with this?

ny source looks good on gentoo like this:

require ‘gtksourceview’
class MySourceView < Gtk::ScrolledWindow
def initialize
@lm=Gtk::SourceLanguagesManager.new
@source_buffer = Gtk::SourceBuffer.new
@source_buffer.set_highlight(true)

thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs