ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 7日 (金) 02:36:58 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -182,11 +182,11 @@ === Changing Text Buffer Contents -So far we have been dealing with the contents of an entire text buffer. In fact the first thing you learnt was how to reset the buffer to a new value with +So far we have been dealing with the contents of an entire text buffer. In fact the first thing you learned was how to reset the buffer to a new value with Gtk::TextBuffer#.text = "Some text" -Subsequently we've learnt how to manipulate the entire buffer. However, it is also useful to edit just a portion of a document. There are quite a number of such methods available to you: +Subsequently we've learned how to manipulate the entire buffer. However, it is also useful to edit just a portion of a document. There are quite a number of such methods available to you: * Gtk::TextBuffer#insert(iter, text) * Gtk::TextBuffer#insert(iter, text, tag1, tag2, tag3, ...)