don't do wrapping during edit

2003-04-28  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c (build_layout): don't do wrapping during edit

svn path=/trunk/; revision=20995
This commit is contained in:
Mike Kestner
2003-04-28 21:03:35 +00:00
committed by Mike Kestner
parent 8f52c9c406
commit 5283d07d81

View File

@ -482,6 +482,9 @@ build_layout (ECellTextView *text_view, int row, const char *text, gint width)
pango_attr_list_unref (attrs);
}
if (text_view->edit)
return layout;
if (width > 0)
pango_layout_set_width (layout, width * PANGO_SCALE);
pango_layout_set_wrap (layout, PANGO_WRAP_CHAR);