ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 7日 (金) 01:36:40 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-txtw-itrsmrks ------------------------- @@ -59,7 +59,7 @@ {{br}} -As mentioned above, two default text marks are always available by GTK+ for every Gtk::TextBuffer:((*insert*)) and ((*selection_bound.*)) The insert text mark refers to the current cursor position within the buffer. The selection_bound text mark refers to the boundary of selected (highlighted) text if there is any selected text. If there isn't any text selected these two marks (insert and selection_bound) will point to the same position. +As mentioned above, two default text marks are always available by GTK+ for every Gtk::TextBuffer: ((*insert*)) and ((*selection_bound.*)) The insert text mark refers to the current cursor position within the buffer. The selection_bound text mark refers to the boundary of selected (highlighted) text if there is any selected text. If there isn't any text selected these two marks (insert and selection_bound) will point to the same position. 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.