From 535c4b5203a55e246a171fa8e7f8aa433c42d95a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 21 Dec 2002 15:51:38 +0000 Subject: [PATCH] fix the documentation 2002-12-21 Havoc Pennington * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-2 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtktextview.c | 18 +++++++++++++----- 7 files changed, 37 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21722077d..c5402f541 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 21722077d..c5402f541 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 21722077d..c5402f541 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 21722077d..c5402f541 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 21722077d..c5402f541 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 21722077d..c5402f541 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2002-12-21 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation + Fri Dec 20 15:23:26 2002 Owen Taylor * === Released 2.2.0 === diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 252c00bcf..ae3155614 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -7704,11 +7704,19 @@ gtk_text_view_starts_display_line (GtkTextView *text_view, * gtk_text_view_move_visually: * @text_view: a #GtkTextView * @iter: a #GtkTextIter - * @count: number of lines to move - * - * Moves @iter up or down by @count display (wrapped) lines. - * See gtk_text_view_forward_display_line() for an explanation of - * display lines vs. paragraphs. + * @count: number of characters to move (negative moves left, positive moves right) + * + * Move the iterator a given number of characters visually, treating + * it as the strong cursor position. If @count is positive, then the + * new strong cursor position will be @count positions to the right of + * the old cursor position. If @count is negative then the new strong + * cursor position will be @count positions to the left of the old + * cursor position. + * + * In the presence of bidirection text, the correspondence + * between logical and visual order will depend on the direction + * of the current run, and there may be jumps when the cursor + * is moved off of the end of a run. * * Return value: %TRUE if @iter moved and is not on the end iterator **/ -- 2.43.2