summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-8
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-01-04 20:01:32 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-01-04 20:01:32 +0000
commitb0a909b8c41011784d7f369150c3e56a6e7f9ee1 (patch)
treed267a597ed3cf2edef1b21c37bb2fd8a229a7b93 /ChangeLog.pre-2-8
parentc7826b5f63930c960cdb53aa4935ee1f8f7f3b18 (diff)
downloadgdk-pixbuf-b0a909b8c41011784d7f369150c3e56a6e7f9ee1.tar.gz
if index is equal to the line length, then position iterator before
2001-01-04 Havoc Pennington <hp@redhat.com> * gtk/gtktextlayout.c (line_display_index_to_iter): if index is equal to the line length, then position iterator before paragraph separators. Fixes crash reported by Mikael Hermansson when pressing left arrow from the start of a line. * gtk/gtktextiter.c (iter_set_from_byte_offset): Add g_error about byte indexes off the end (iter_set_from_char_offset): add g_error about char offsets off the end
Diffstat (limited to 'ChangeLog.pre-2-8')
-rw-r--r--ChangeLog.pre-2-812
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 605f1dd4f..be4b5b272 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,15 @@
+2001-01-04 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextlayout.c (line_display_index_to_iter): if index is
+ equal to the line length, then position iterator before paragraph
+ separators. Fixes crash reported by Mikael Hermansson when
+ pressing left arrow from the start of a line.
+
+ * gtk/gtktextiter.c (iter_set_from_byte_offset): Add g_error
+ about byte indexes off the end
+ (iter_set_from_char_offset): add g_error about char offsets
+ off the end
+
2001-01-03 Havoc Pennington <hp@redhat.com>
* gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate