I am trying to edit the same text (which I have stored in a GtkTextBuffer, but alternatives are welcome) with multiple cursors, each in a separate GtkTextView. I need all cursors to be able to edit the text (and be reflected in the other views). Moving one cursor (e.g., with the keyboard) should not move the other cursors.
For those familiar, I am trying to emulate the behaviour of emacs' split window.
What is the simplest way to do this?
Background
The Text Widget Overview states that
Each buffer can be displayed by any number of views.
except the cursor is stored in the GtkTextBuffer rather than the GtkTextView. In particular, moving the cursor in one view would change the cursor location in all other views.
More technical details
I'm actually using pygtk and gtksourceview2 in my specific example. In particular, the GtkTextView is a GtkSourceView (gtksourceview2.View in python). But my question is not pygtk specific.