+#if 0
+static void compose_wrap_line_all(Compose *compose)
+{
+ GtkText *text = GTK_STEXT(compose->text);
+ guint text_len;
+ guint line_pos = 0, cur_pos = 0;
+ gint line_len = 0, cur_len = 0;
+ gint ch_len;
+ gchar cbuf[MB_LEN_MAX];
+
+ gtk_stext_freeze(text);
+
+ text_len = gtk_stext_get_length(text);
+
+ for (; cur_pos < text_len; cur_pos++) {
+ if (text->use_wchar)
+ ch_len = wctomb
+ (cbuf, (wchar_t)GTK_STEXT_INDEX(text, cur_pos));
+ else {
+ cbuf[0] = GTK_STEXT_INDEX(text, cur_pos);
+ ch_len = 1;
+ }
+
+ if (ch_len == 1 && *cbuf == '\n') {
+ line_pos = cur_pos + 1;
+ line_len = cur_len = 0;
+ continue;
+ }
+
+ if (ch_len < 0) {
+ cbuf[0] = '\0';
+ ch_len = 1;
+ }
+=======
+>>>>>>> 1.110
+
+<<<<<<< compose.c
+ if (ch_len == 1 && isspace(*cbuf)) {
+ line_pos = cur_pos + 1;
+ line_len = cur_len + ch_len;
+ }
+=======