GtkTextMark



i have some questions about TextBuffer marks and tags.  i tried to read the
Gtk source code today, but TextBuffers are horrendously complicated.

i understand from the documentation that GtkTextMark is stable with
respect to editing.  However, what happens if a mark is sitting in
the middle of a block of text which is deleted?  Is the mark *moved*?
For example, does it work like this?

  Here is some text *MARK* and here is more text.
delete>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Here is *MARK* more text.

Do tags work the same way as marks or differently?  If i want some tags
to correspond to marks then do i need to do some sort of synchronization
after interactive editing?

-- 
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
  Victory to the Divine Mother!!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]