diff options
author | Radek Doulik <rodo@ximian.com> | 2001-04-18 04:42:43 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2001-04-18 04:42:43 +0800 |
commit | b9e1a09780442b912b4c3823075db2e5e6a1ad3c (patch) | |
tree | 54624dd03703433d7312ef17ed137843a529d31a | |
parent | 72b0983f7ab6f61ec1268da9ba2059c5f07d09ad (diff) | |
download | gsoc2013-evolution-b9e1a09780442b912b4c3823075db2e5e6a1ad3c.tar.gz gsoc2013-evolution-b9e1a09780442b912b4c3823075db2e5e6a1ad3c.tar.zst gsoc2013-evolution-b9e1a09780442b912b4c3823075db2e5e6a1ad3c.zip |
more auto-indentation magic
2001-04-17 Radek Doulik <rodo@ximian.com>
* listener.c (reply_indent): more auto-indentation magic
svn path=/trunk/; revision=9432
-rw-r--r-- | composer/ChangeLog | 4 | ||||
-rw-r--r-- | composer/listener.c | 5 |
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 * |