Package: gtk

Function gtk-text-buffer-insert-range

Lambda List

gtk-text-buffer-insert-range (buffer iter start end &key interactive default-editable)

Arguments

buffer -- a gtk-text-buffer object
iter -- a position in buffer object
start -- a position in a gtk-text-buffer object
end -- another position in the same buffer as start

Details

Copies text, tags, and pixbufs between start and end (the order of start and end does not matter) and inserts the copy at iter. Used instead of simply getting/inserting text because it preserves images and tags. If start and end are in a different buffer from buffer, the two buffers must share the same tag table.

Implemented via emissions of the "insert-text" and "apply-tag" signals, so expect those.
2013-5-5