+2009-01-31 [paul] 3.7.0cvs49
+
+ * src/compose.c
+ fix bug 1836, 'Quoted text still blue after
+ removal of quote-character'
+ comment out some debug_print's that needlessly
+ slow things down
+ * src/undo.c
+ comment out a debug_print that needlessly slows
+ things down
+
2009-01-31 [paul] 3.7.0cvs48
* src/summaryview.c
( cvs diff -u -r 1.395.2.404 -r 1.395.2.405 src/summaryview.c; ) > 3.7.0cvs46.patchset
( cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/prefs_compose_writing.c; cvs diff -u -r 1.1.2.29 -r 1.1.2.30 src/prefs_message.c; ) > 3.7.0cvs47.patchset
( cvs diff -u -r 1.395.2.405 -r 1.395.2.406 src/summaryview.c; ) > 3.7.0cvs48.patchset
+( cvs diff -u -r 1.382.2.496 -r 1.382.2.497 src/compose.c; cvs diff -u -r 1.13.2.18 -r 1.13.2.19 src/undo.c; ) > 3.7.0cvs49.patchset
can_break = TRUE;
}
- debug_print("compose_get_line_break_pos(): do_break = %d, pos = %d, col = %d\n", do_break, pos, col);
+// debug_print("compose_get_line_break_pos(): do_break = %d, pos = %d, col = %d\n", do_break, pos, col);
g_free(attrs);
g_free(str);
quote_str = compose_get_quote_str(buffer, &iter, "e_len);
if (quote_str) {
- debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
+// debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
if (startq_offset == -1)
startq_offset = gtk_text_iter_get_offset(&iter);
quotelevel = get_quote_level(quote_str, prefs_common.quote_chars);
}
}
if (!modified) {
- debug_print("not modified, out after %d lines\n", lines);
+// debug_print("not modified, out after %d lines\n", lines);
goto end;
}
}
- debug_print("modified, out after %d lines\n", lines);
+// debug_print("modified, out after %d lines\n", lines);
end:
g_free(itemized_chars);
if (par_iter)
static void compose_changed_cb(GtkTextBuffer *textbuf, Compose *compose)
{
compose->modified = TRUE;
+ compose_beautify_paragraph(compose, NULL, TRUE);
#ifndef GENERIC_UMPC
compose_set_title(compose);
#endif
void undo_wrapping(UndoMain *undostruct, gboolean wrap)
{
- debug_print("undo wrapping now %d\n", wrap);
+// debug_print("undo wrapping now %d\n", wrap);
undostruct->wrap = wrap;
}