From b9e1a09780442b912b4c3823075db2e5e6a1ad3c Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 17 Apr 2001 20:42:43 +0000 Subject: more auto-indentation magic 2001-04-17 Radek Doulik * listener.c (reply_indent): more auto-indentation magic svn path=/trunk/; revision=9432 --- composer/ChangeLog | 4 ++++ composer/listener.c | 5 +++++ 2 files changed, 9 insertions(+) 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 + + * listener.c (reply_indent): more auto-indentation magic + 2001-04-12 Jeffrey Stedfast * 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 * -- cgit v1.2.3