ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 5日 (水) 04:07:10 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -146,7 +146,10 @@ * Gtk::TextBuffer::selection_bounds - plural. Obtains selected text and returns an array:((*[start, end, selected]*)) * Gtk::TextBuffer::bounds. Retrieves the first and last iterators in the buffer, i.e. the entire buffer lies within the range [start, end]. Accordingly returns an array:((*[start, end]*)) -When you have the two iterators you have to supply them to Gtk::TextBuffer#get_text(start, end, show_invisible=false), to retrieve the selection. + +{{br}} + +Back in our example program, when we've obtained the two iterators we to supply them to Gtk::TextBuffer#get_text(start, end, show_invisible=false), to retrieve the selection. :Caution: