GtkTextView Paste - Undo



L.S.,

While implementing a Scheme binding for gtk2
(mzgtk2), I'm wrapping GtkTextView etc.

I'm extending GtkTextBuffer with Undo functionality.

I'm running into problems here: While pasting, I'm
pasting markup too. I try to undo the markup and
the pasted text in one undo action. The pasting
occurs in multiple insert/apply tag, etc actions.

How can I detect the end of the paste?

There isn't a signal for it (yet).

Thanks in advance for your answers,

--Hans Oesterholt.




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