aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/listener.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index a2c1cb6ea8..6cfadb93fb 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-17 Radek Doulik <rodo@ximian.com>
+
+ * listener.c (reply_indent): more auto-indentation magic
+
2001-04-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Use the mail-crypto pgp-mime
diff --git a/composer/listener.c b/composer/listener.c
index 7ce6747885..7b04aeef5d 100644
--- a/composer/listener.c
+++ b/composer/listener.c
@@ -83,10 +83,15 @@ reply_indent (EditorListener *l, CORBA_Environment * ev)
}
}
+
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "style-normal", ev);
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "indent-zero", ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "cursor-position-save", ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "select-paragraph-extended", ev);
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "text-default-color", ev);
GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "disable-selection", ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (l->composer->editor_engine, "cursor-position-restore", ev);
}
static CORBA_any *