[gtkmm] Demos: Remove obsolete text from the TextView demo
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Demos: Remove obsolete text from the TextView demo
- Date: Thu, 12 Jan 2017 15:50:59 +0000 (UTC)
commit abe28c604331b462b5e8bf9e58f79852babd1fc5
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Thu Jan 12 16:47:59 2017 +0100
Demos: Remove obsolete text from the TextView demo
demos/gtk-demo/example_textview.cc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/example_textview.cc b/demos/gtk-demo/example_textview.cc
index c12719a..26f8876 100644
--- a/demos/gtk-demo/example_textview.cc
+++ b/demos/gtk-demo/example_textview.cc
@@ -353,7 +353,11 @@ void Example_TextView::insert_text(Glib::RefPtr<Gtk::TextBuffer>& refBuffer)
refAnchor = refBuffer->create_child_anchor(iter);
iter = refBuffer->insert(refBuffer->end(), ".\n");
- refBuffer->insert(iter, "\n\nThis demo doesn't demonstrate all the GtkTextBuffer features; it leaves out,
for example: invisible/hidden text (doesn't work in GTK 2, but planned), tab stops, application-drawn areas
on the sides of the widget for displaying breakpoints and such...");
+ refBuffer->insert(iter,
+ "\n\nThis demo doesn't demonstrate all the Gtk::TextBuffer features; "
+ "it leaves out, for example: invisible/hidden text, tab stops, "
+ "application-drawn areas on the sides of the widget for displaying "
+ "breakpoints and such...");
// Apply word_wrap tag to whole buffer
Gtk::TextBuffer::iterator start, end;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]