After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 537228 - gtk.TextIter.forward_to_tag_toggle may return True at end of buffer
gtk.TextIter.forward_to_tag_toggle may return True at end of buffer
Status: RESOLVED DUPLICATE of bug 691266
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-06-08 10:29 UTC by Noam Raphael
Modified: 2013-04-10 16:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Noam Raphael 2008-06-08 10:29:09 UTC
Please describe the problem:
If the requested tag is toggled off at the end of a buffer, and the TextIter is at the end of a buffer, forward_to_tag_toggle returns True.

It should return False, as it should only search for toggles after the current textiter position, and there aren't any.

(It caused me a small bug, I had to work-around.)

Thanks,
Noam

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Sébastien Wilmet 2013-04-10 16:55:10 UTC
The bug #691266 is more recent, but contains a patch.

*** This bug has been marked as a duplicate of bug 691266 ***