Re: TextBuffer tags
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Phil Wolff <adiabat centurylink net>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: TextBuffer tags
- Date: Sun, 29 May 2016 16:01:53 +0200
Gtk::TextBuffer::serialize() and deserialize() are useful. They don't
save anything, but they convert to and from a byte string that you can
store in a file. Those methods were added to gtkmm in version 3.15.9.
The corresponding gtk+ methods have existed much longer.
If you wonder why serialize() does not return a Glib::ustring or
std::string, see https://bugzilla.gnome.org/show_bug.cgi?id=694250#c2
Kjell
On 2016-05-26 20:02, Phil Wolff wrote:
Is there a build-in way to save a TextBuffer (text content, tag
definitions, where tags have been applied, marks, etc.), or do I have
to roll my own?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]