Copying text from one textview to another may break the tag table
Copying text from one textview to another breaks the textview where the text was pasted.
How to reproduce:
- Open gtk4-widget-factory -> Page 2
- Open menu -> About Widget factory -> System
- Select all text there, close about dialog, and paste to the textivew in Page 2
Result: The following warning is print to console
(gtk4-widget-factory:23518): Gtk-CRITICAL **: 14:18:53.428: gtk_text_buffer_apply_tag: assertion 'tag->priv->table == buffer->priv->tag_table' failed