[evolution/wip/webkit2] EHTMLEditorSelection - Spell check is lost after some font style operations
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorSelection - Spell check is lost after some font style operations
- Date: Wed, 22 Apr 2015 13:01:33 +0000 (UTC)
commit c0c4c90d066ac53387214c6b3888c7feaf6af938
Author: Tomas Popela <tpopela redhat com>
Date: Tue Mar 24 16:43:30 2015 +0100
EHTMLEditorSelection - Spell check is lost after some font style operations
.../e-html-editor-selection-dom-functions.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-selection-dom-functions.c
b/web-extensions/e-html-editor-selection-dom-functions.c
index b1b49cb..da6c103 100644
--- a/web-extensions/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/e-html-editor-selection-dom-functions.c
@@ -2891,6 +2891,8 @@ dom_selection_set_underline (WebKitDOMDocument *document,
dom_exec_command (document, E_HTML_EDITOR_VIEW_COMMAND_UNDERLINE, NULL);
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
set_dbus_property_boolean (extension, "Underline", underline);
}
@@ -3383,6 +3385,9 @@ dom_selection_set_monospaced (WebKitDOMDocument *document,
dom_selection_set_font_size (document, extension, font_size);
}
+
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
/* FIXME WK2
g_object_notify (G_OBJECT (selection), "monospaced");*/
}
@@ -3460,6 +3465,8 @@ dom_selection_set_bold (WebKitDOMDocument *document,
selection->priv->is_bold = bold; */
dom_exec_command (document, E_HTML_EDITOR_VIEW_COMMAND_BOLD, NULL);
+
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
/* FIXME WK2
g_object_notify (G_OBJECT (selection), "bold");*/
}
@@ -3537,6 +3544,8 @@ dom_selection_set_italic (WebKitDOMDocument *document,
selection->priv->is_italic = italic;*/
dom_exec_command (document, E_HTML_EDITOR_VIEW_COMMAND_ITALIC, NULL);
+
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
/* FIXME WK2
g_object_notify (G_OBJECT (selection), "italic");*/
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]