summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--ChangeLog.pre-2-102
-rw-r--r--ChangeLog.pre-2-82
-rw-r--r--gtk/gtktextview.c7
4 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 69b6089187..dcb9203627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
jump to the next line if we are at the end of the line.
+ (gtk_text_view_move_cursor_internal): Make movement by
+ paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-23 Tor Lillqvist <tml@novell.com>
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 69b6089187..dcb9203627 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -9,6 +9,8 @@
* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
jump to the next line if we are at the end of the line.
+ (gtk_text_view_move_cursor_internal): Make movement by
+ paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-23 Tor Lillqvist <tml@novell.com>
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 69b6089187..dcb9203627 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -9,6 +9,8 @@
* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
jump to the next line if we are at the end of the line.
+ (gtk_text_view_move_cursor_internal): Make movement by
+ paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-23 Tor Lillqvist <tml@novell.com>
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index e22913cf87..2a11b9ef91 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4752,8 +4752,6 @@ gtk_text_view_move_cursor_internal (GtkTextView *text_view,
break;
case GTK_MOVEMENT_PARAGRAPHS:
- g_print ("move paragraphs: %d %d\n",
- count, gtk_text_iter_get_line_offset (&newplace));
if (count > 0)
{
if (!gtk_text_iter_ends_line (&newplace))
@@ -4767,10 +4765,7 @@ gtk_text_view_move_cursor_internal (GtkTextView *text_view,
else if (count < 0)
{
if (gtk_text_iter_get_line_offset (&newplace) > 0)
- {
- gtk_text_iter_set_line_offset (&newplace, 0);
- ++count;
- }
+ gtk_text_iter_set_line_offset (&newplace, 0);
gtk_text_iter_forward_visible_lines (&newplace, count);
gtk_text_iter_set_line_offset (&newplace, 0);
}