[evolution/wip/webkit2] EHTMLEditorView - Post-process every HISTORY_DELETE event
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorView - Post-process every HISTORY_DELETE event
- Date: Wed, 2 Mar 2016 17:54:18 +0000 (UTC)
commit 940d85fb12dbff3a7829424293e92a2af9379e21
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 2 18:08:16 2016 +0100
EHTMLEditorView - Post-process every HISTORY_DELETE event
.../composer/e-html-editor-undo-redo-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-undo-redo-manager.c
b/web-extensions/composer/e-html-editor-undo-redo-manager.c
index 7f4704d..41441ea 100644
--- a/web-extensions/composer/e-html-editor-undo-redo-manager.c
+++ b/web-extensions/composer/e-html-editor-undo-redo-manager.c
@@ -969,6 +969,7 @@ redo_delete (WebKitDOMDocument *document,
}
}
+ out:
e_html_editor_web_extension_set_dont_save_history_in_body_input (extension, TRUE);
e_html_editor_undo_redo_manager_set_operation_in_progress (manager, FALSE);
body_input_event_process (document, extension, NULL);
@@ -977,7 +978,7 @@ redo_delete (WebKitDOMDocument *document,
e_html_editor_web_extension_set_renew_history_after_coordinates (extension, FALSE);
body_key_up_event_process_backspace_or_delete (document, extension, delete_key);
e_html_editor_web_extension_set_renew_history_after_coordinates (extension, TRUE);
- out:
+
restore_selection_to_history_event_state (document, event->after);
dom_force_spell_check_for_current_paragraph (document, extension);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]