gtk_text_buffer_delete_interactive



In a GtkTextBuffer, i'm using TextTags with editable=false to
represent "embedded objects."  So i'd like to be able to customize
gtk_text_buffer_delete_interactive to delete regions of uneditable
text as a unit.  For example:

(1) The area between the angle brackets <vishnu pobox com>
is uneditable (an email address).

(2) i position the cursor directly before the email address
and press delete.

(3) The entire email address is deleted.

Can i add a "delete-range-interactive" signal that mirrors
the "delete-range" signal?

If i can insert my code before "delete-range-interactive"
then i can adjust the tags & iterators to do the right thing.

Will such a patch be acceptable?

Please comment.




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