ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 7日 (金) 02:06:59 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -164,7 +164,7 @@ {{br}} -Back in our example program, when we've obtained the two iterators we to supply them to Gtk::TextBuffer#get_text(start, end, include_hidden_chars=false), to retrieve the selection. +Back in our example program, when we obtained the two iterators we supply them to the Gtk::TextBuffer#get_text(start, end, include_hidden_chars=false) method, to retrieve the selection. :Caution: When using the above Gtk::TextBuffer#get_text, you should be careful that there are no images or other non-textual object in the text buffer, since the character positions will, because of this, most likely be off. In such cases you should use Gtk::TextBuffer#get_slice instead.