[evolution/wip/webkit2] Bug 741031 - Replacing misspelled word with keyboard doesn't replace the original word
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 741031 - Replacing misspelled word with keyboard doesn't replace the original word
- Date: Wed, 22 Apr 2015 12:44:24 +0000 (UTC)
commit cdd55311b5c39b13b6a25801e18f01407cc241b6
Author: Tomas Popela <tpopela redhat com>
Date: Mon Mar 23 13:08:54 2015 +0100
Bug 741031 - Replacing misspelled word with keyboard doesn't replace the original word
.../e-html-editor-selection-dom-functions.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/e-html-editor-selection-dom-functions.c
b/web-extensions/e-html-editor-selection-dom-functions.c
index 987e640..74b484f 100644
--- a/web-extensions/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/e-html-editor-selection-dom-functions.c
@@ -4730,7 +4730,8 @@ dom_replace_caret_word (WebKitDOMDocument *document,
webkit_dom_range_expand (range, "word", NULL);
webkit_dom_dom_selection_add_range (dom_selection, range);
- dom_insert_html (document, extension, replacement);
+ dom_exec_command (document, E_HTML_EDITOR_VIEW_COMMAND_INSERT_HTML, replacement);
+ dom_force_spell_check_for_current_paragraph (document, extension);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]