ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 15日 (土) 09:05:04 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -66,7 +66,7 @@ :Note: - Pay attention to the spelling, namely Gtk::TextBuffer::selection_bound is singular, and returns a single Gtk::TextMark. There exists also Gtk::TextBuffer::selection_bounds - plural. The latter returns an array of two iters and the Boolean value in this order:((*[start, end, selected]!*)), if some text is selected. In other words Gtk::TextBuffer::selection_bounds returns the bounds of the selection in "start" and "end" and true in the flag called "selected". + Pay attention to the spelling, namely Gtk::TextBuffer::selection_bound is singular, and returns a single Gtk::TextMark. There exists also Gtk::TextBuffer::selection_bounds - plural. The latter returns an array of two iters and the Boolean value in this order:((*[start, end, selected],*)) if some text is selected. In other words Gtk::TextBuffer::selection_bounds returns the bounds of the selection in "start" and "end" and true in the flag called "selected". == Editing the Text Buffer