ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 4日 (火) 05:51:01 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -49,6 +49,12 @@ The((*insert*))and((*selection_bound*))text marks are extremely useful. They can be set to automatically select or deselect text within a buffer and help you figure out where text should be inserted within the buffer. + +:Note: + Pay attention to the spelling, namely Gtk::TextBuffer::selection_bound is singular, and returns Gtk::TextMark. There exists also Gtk::TextBuffer::selection_bounds - plural. The latter returns an array:((*[start, end, selected]!*)) + + + == Editing the Text Buffer {{image_right("txtw-itrsmrks-01.png")}}