mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
add assertion that #58290 would trigger if it reappeared, I think
2001-10-22 Havoc Pennington <hp@redhat.com> * gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that #58290 would trigger if it reappeared, I think
This commit is contained in:
parent
0a522533b0
commit
f2bf563dbd
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
|
||||
#58290 would trigger if it reappeared, I think
|
||||
|
||||
2001-10-22 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
|
||||
|
@ -980,10 +980,15 @@ _gtk_text_btree_insert (GtkTextIter *iter,
|
||||
/* extract iterator info */
|
||||
tree = _gtk_text_iter_get_btree (iter);
|
||||
line = _gtk_text_iter_get_text_line (iter);
|
||||
|
||||
start_line = line;
|
||||
start_byte_index = gtk_text_iter_get_line_index (iter);
|
||||
|
||||
/* Get our insertion segment split */
|
||||
/* Get our insertion segment split. Note this assumes line allows
|
||||
* char insertions, which isn't true of the "last" line. But iter
|
||||
* should not be on that line, as we assert here.
|
||||
*/
|
||||
g_assert (!_gtk_text_line_is_last (line, tree));
|
||||
prev_seg = gtk_text_line_segment_split (iter);
|
||||
cur_seg = prev_seg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user