Hi,
I have code snippet like this:
source_buffer = Gtk::SourceBuffer.new
source_buffer.text = “Yada yada\nya”
This used to work but no longer works.
Does someone know how to set the text content of a SourceBuffer widget
or a TextBuffer widget?
Hi,
I have code snippet like this:
source_buffer = Gtk::SourceBuffer.new
source_buffer.text = “Yada yada\nya”
This used to work but no longer works.
Does someone know how to set the text content of a SourceBuffer widget
or a TextBuffer widget?
Ah, it works when I do:
require ‘gtksourceview2’
Hmm… wondering whether TextBuffer does not allow that by default
though.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs