enable wrapping so the text doesn't scroll out horizontally.
2008-02-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimptexteditor.c (gimp_text_editor_new): enable wrapping so the text doesn't scroll out horizontally. svn path=/trunk/; revision=24861
This commit is contained in:
parent
34ea5ae14f
commit
3c10d32272
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-02-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimptexteditor.c (gimp_text_editor_new): enable
|
||||
wrapping so the text doesn't scroll out horizontally.
|
||||
|
||||
2008-02-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/plug-ins/pyconsole.py: formatting.
|
||||
|
|
|
|||
|
|
@ -205,6 +205,8 @@ gimp_text_editor_new (const gchar *title,
|
|||
gtk_widget_show (scrolled_window);
|
||||
|
||||
editor->view = gtk_text_view_new ();
|
||||
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (editor->view),
|
||||
GTK_WRAP_WORD_CHAR);
|
||||
gtk_container_add (GTK_CONTAINER (scrolled_window), editor->view);
|
||||
gtk_widget_show (editor->view);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue