Fix bug reported by Mikael Hermansson with patch from Mikael (if there was
2001-02-03 Havoc Pennington <hp@pobox.com> * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by Mikael Hermansson with patch from Mikael (if there was a toggle start one after the first character in the range, this function was broken). Bug #50380
This commit is contained in:
parent
d3e4e59214
commit
a98a2b9936
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2001-02-03 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
|
||||
Mikael Hermansson with patch from Mikael (if there was a toggle
|
||||
start one after the first character in the range, this function
|
||||
was broken). Bug #50380
|
||||
|
||||
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove confusing comment about X11.
|
||||
|
@ -1606,8 +1606,11 @@ _gtk_text_btree_tag (const GtkTextIter *start_orig,
|
||||
with the tree. */
|
||||
stack = iter_stack_new ();
|
||||
iter = start;
|
||||
/* We don't want to delete a toggle that's at the start iterator. */
|
||||
gtk_text_iter_forward_char (&iter);
|
||||
|
||||
/* forward_to_tag_toggle() skips a toggle at the start iterator,
|
||||
* which is deliberate - we don't want to delete a toggle at the
|
||||
* start.
|
||||
*/
|
||||
while (gtk_text_iter_forward_to_tag_toggle (&iter, tag))
|
||||
{
|
||||
if (gtk_text_iter_compare (&iter, &end) >= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user