rename command to runCommand

2000-11-14  Radek Doulik  <rodo@helixcode.com>

	* listener.c (reply_indent): rename command to runCommand

svn path=/trunk/; revision=6568
This commit is contained in:
Radek Doulik
2000-11-14 08:59:06 +00:00
committed by Radek Doulik
parent 97ddd11093
commit 6f4d56f965
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -1,5 +1,7 @@
2000-11-14 Radek Doulik <rodo@helixcode.com>
* listener.c (reply_indent): rename command to runCommand
* e-msg-composer.c: updated to HTMLEditor API changes
* listener.c: updated to HTMLEditor API changes
+5 -5
View File
@@ -69,16 +69,16 @@ reply_indent (HTMLEditorListener *l, CORBA_Environment * ev)
{
if (!HTMLEditor_Engine_isParagraphEmpty (l->composer->editor_engine, ev)) {
if (HTMLEditor_Engine_isPreviousParagraphEmpty (l->composer->editor_engine, ev))
HTMLEditor_Engine_command (l->composer->editor_engine, "cursor-backward", ev);
HTMLEditor_Engine_runCommand (l->composer->editor_engine, "cursor-backward", ev);
else {
HTMLEditor_Engine_command (l->composer->editor_engine, "insert-paragraph", ev);
HTMLEditor_Engine_runCommand (l->composer->editor_engine, "insert-paragraph", ev);
return;
}
}
HTMLEditor_Engine_command (l->composer->editor_engine, "style-normal", ev);
HTMLEditor_Engine_command (l->composer->editor_engine, "indent-zero", ev);
HTMLEditor_Engine_command (l->composer->editor_engine, "italic-off", ev);
HTMLEditor_Engine_runCommand (l->composer->editor_engine, "style-normal", ev);
HTMLEditor_Engine_runCommand (l->composer->editor_engine, "indent-zero", ev);
HTMLEditor_Engine_runCommand (l->composer->editor_engine, "italic-off", ev);
}
static CORBA_any *