static void compose_attach_parts (Compose *compose,
MsgInfo *msginfo);
-static void compose_wrap_paragraph (Compose *compose,
+static void compose_beautify_paragraph (Compose *compose,
GtkTextIter *par_iter,
gboolean force);
static void compose_wrap_all (Compose *compose);
compose_ext_editor_cb(compose, 0, NULL);
break;
case A_LINEWRAP_CURRENT:
- compose_wrap_paragraph(compose, NULL, TRUE);
+ compose_beautify_paragraph(compose, NULL, TRUE);
break;
case A_LINEWRAP_ALL:
compose_wrap_all_full(compose, TRUE);
g_warning("alloc error scanning URIs\n"); \
}
-static void compose_wrap_paragraph(Compose *compose, GtkTextIter *par_iter, gboolean force)
+static void compose_beautify_paragraph(Compose *compose, GtkTextIter *par_iter, gboolean force)
{
GtkTextView *text = GTK_TEXT_VIEW(compose->text);
GtkTextBuffer *buffer;
}
goto colorize;
}
- debug_print("compose_wrap_paragraph(): quote_str = '%s'\n", quote_str);
+ debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
startq_offset = gtk_text_iter_get_offset(&iter);
} else {
if (startq_offset == -1)
gtk_text_buffer_get_start_iter(buffer, &iter);
while (!gtk_text_iter_is_end(&iter))
- compose_wrap_paragraph(compose, &iter, force);
+ compose_beautify_paragraph(compose, &iter, force);
undo_unblock(compose->undostruct);
}
if (action == 1)
compose_wrap_all_full(compose, TRUE);
else
- compose_wrap_paragraph(compose, NULL, TRUE);
+ compose_beautify_paragraph(compose, NULL, TRUE);
}
static void compose_toggle_autowrap_cb(gpointer data, guint action,
mark = gtk_text_buffer_create_mark(buffer, NULL, iter, FALSE);
-/* compose_wrap_all_full(compose, FALSE); */
- compose_wrap_paragraph(compose, iter, FALSE);
+ compose_beautify_paragraph(compose, iter, FALSE);
gtk_text_buffer_get_iter_at_mark(buffer, iter, mark);
gtk_text_buffer_delete_mark(buffer, mark);