I'm working on a text editing application, initially aimed at serving literary writers. I'm using Gtk4, Python and Flatpak and I'm having some difficulties implementing things the way I want. So I have a few questions:
1 - I know that it is possible to display the same Gtk.TextBuffer in several Gtk.TextViews, would it be possible to link a Gtk.TextView to a subset of the content of a TextBuffer?
2 - Would it be possible to disable the built-in vertical Scrollbar of a Gtk.TextView and give it a fixed size? Something like an editable Gtk.Inscription?
What I'm trying to reproduce is the visual division of pages. Creating each page as a Gtk.TextView with its own Gtk.TextBuffer seems to make it difficult to maintain text flow control between one page and another.