ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 15日 (土) 09:17:51 JST
------------------------- REMOTE_ADDR = 184.145.80.187 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 in 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 in 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 starting position of the boundary for the selected (highlighted) text if there is any. 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.