ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 5日 (水) 05:05:39 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -149,7 +149,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, show_invisible=false), to retrieve the selection. +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. :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.