Re: gtk_text_buffer_get_* should return length? (1.3.6)
- From: Havoc Pennington <hp redhat com>
- To: Joshua N Pritikin <vishnu pobox com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_text_buffer_get_* should return length? (1.3.6)
- Date: 09 Aug 2001 20:39:21 -0400
Joshua N Pritikin <vishnu pobox com> writes:
To raise the ante, here's a use case: i want to copy a small part
of a long document into a separate GtkTextBuffer, preserving some
or all of the tags. i can't find an API to do that. i suspected
that gtk_text_buffer_get_slice might be helpful but it just does
padding.
gtk_text_buffer_insert_range() may be useful for this.
It will preserve tags if the buffers share the same tag table.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]