ruby-****@sourc*****
ruby-****@sourc*****
2005年 8月 31日 (水) 05:21:20 JST
------------------------- REMOTE_ADDR = 83.76.38.169 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?Gtk%3A%3ATextIter ------------------------- @@ -310,6 +310,60 @@ * count: number of sentences to move * Returns: true if self moved and is not the end iterator +--- forward_visible_word_ends(count) + Calls Gtk::TextIter#forward_visible_word_end up to count times. ((*Since 2.4*)) + * count: number of times to move + * Returns: true if self moved and is not the end iterator + +--- backward_visible_word_starts(count) + Calls Gtk::TextIter#backward_visible_word_start up to count times. ((*Since 2.4*)) + * count: number of times to move + * Returns: true if self moved and is not the end iterator + +--- forward_visible_word_end + Moves forward to the next visible word end. (If the iterator is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). ((*Since 2.4*)) + * Returns: true if the iterator moved and is not the end iterator + +--- backward_visible_word_start + Moves backward to the previous visible word end. (If the iterator is currently on a word start, moves backward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). ((*Since 2.4*)) + * Returns: true if the iterator moved and is not the end iterator + +--- forward_visible_cursor_position + Moves the iterator forward to the next visible cursor position. See Gtk::TextIter#forward_cursor_position for details. ((*Since 2.4*)) + * Returns: true if we moved and the new position is dereferenceable + +--- backward_visible_cursor_position + Moves the iterator forward to the previous visible cursor position. See Gtk::TextIter#backward_cursor_position for details. ((*Since 2.4*)) + * Returns: true we moved and the new position is dereferenceable + +--- forward_visible_cursor_positions(count) + Moves up to count visible cursor positions. See Gtk::TextIter#forward_cursor_position for details. ((*Since 2.4*)) + * count: number of positions to move (Integer) + * Returns: true if we moved and the new position is dereferenceable + +--- backward_visible_cursor_positions(count) + Moves up to count visible cursor positions. See Gtk::TextIter#backward_cursor_position for details. ((*Since 2.4*)) + * count: number of positions to move (Integer) + * Returns: true if we moved and the new position is dereferenceable + +--- forward_visible_line + Moves the iterator to the start of the next visible line. Returns true if there was a next line to move to, and false if the iterator was simply moved to the end of the buffer and is now not dereferenceable, or if the iterator was already at the end of the buffer. ((*Since 2.8*)) + * Returns: true if the iterator can be dereferenced, false otherwise + +--- backward_visible_line + Moves the iterator to the start of the previous visible line. Returns true if the iterator could be moved; i.e. if it was at character offset 0, this function returns false. Therefore if the iterator was already on line 0, but not at the start of the line, it is snapped to the start of the line and the function returns true. (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.) ((*Since 2.8*)) + * Returns: whether iter moved + +--- forward_visible_lines(count) + Moves count visible lines forward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then false is returned. If count is 0, the function does nothing and returns false. If count is negative, moves backward by 0 - count lines. ((*Since 2.8*)) + * count: number of lines to move forward (Integer) + * Returns: whether the iterator moved and is dereferenceable + +--- backward_visible_lines(count) + Moves count visible lines backward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then false is returned. If count is 0, the function does nothing and returns false. If count is negative, moves forward by 0 - count lines. ((*Since 2.8*)) + * count: number of lines to move backward + * Returns: whether the iterator moved and is dereferenceable + --- forward_to_end Moves self forward to the "end iterator," which points one past the last valid character in the buffer. Gtk::TextIter#char called on the end iterator returns 0, which is convenient for writing loops. * Returns: self @@ -368,6 +422,61 @@ == ChangeLog +* 2005-08-30 ((<gc>)): documented additions for Gtk+ 2.4 and Gtk+ 2.8. * 2003-08-07 ((<Masao>)): Revised. * 2003-04-07 ((<Masao>)): Move from The RWiki. And some modified. * 2002-12-22 ((<OGASAWARA>))