Hi, I get an error when inserting and scrolling the Gtk::TextBuffer, when i get the error the program sometimes crashes. This is the error i get:
Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators --------------------------------------------------------------------------------------- Here's my source code: http://pastebin.com/jrVCU8pm. I have tried all my best to fix it, but i just couldn't. Any sort of help would be appreciated. -- View this message in context: http://old.nabble.com/Invalid-TextBuffer-iterator-tp34769943p34769943.html Sent from the Gtkmm mailing list archive at Nabble.com. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
