[evolution] 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] EHTMLEditorSelection - Spell check is lost after some font style operations
- Date: Fri, 20 Feb 2015 07:40:38 +0000 (UTC)
commit aa197acc324440c1ebb227f288fc189141c4ae82
Author: Tomas Popela <tpopela redhat com>
Date: Fri Feb 20 08:27:50 2015 +0100
EHTMLEditorSelection - Spell check is lost after some font style operations
e-util/e-html-editor-selection.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index cc0830b..47a271c 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -3506,6 +3506,8 @@ e_html_editor_selection_set_bold (EHTMLEditorSelection *selection,
command = E_HTML_EDITOR_VIEW_COMMAND_BOLD;
e_html_editor_view_exec_command (view, command, NULL);
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
g_object_unref (view);
g_object_notify (G_OBJECT (selection), "bold");
@@ -3606,6 +3608,8 @@ e_html_editor_selection_set_italic (EHTMLEditorSelection *selection,
command = E_HTML_EDITOR_VIEW_COMMAND_ITALIC;
e_html_editor_view_exec_command (view, command, NULL);
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
g_object_unref (view);
g_object_notify (G_OBJECT (selection), "italic");
@@ -3933,6 +3937,8 @@ e_html_editor_selection_set_monospaced (EHTMLEditorSelection *selection,
e_html_editor_selection_set_font_size (selection, font_size);
}
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
g_object_unref (view);
g_object_notify (G_OBJECT (selection), "monospaced");
@@ -4033,6 +4039,8 @@ e_html_editor_selection_set_strikethrough (EHTMLEditorSelection *selection,
command = E_HTML_EDITOR_VIEW_COMMAND_STRIKETHROUGH;
e_html_editor_view_exec_command (view, command, NULL);
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
g_object_unref (view);
g_object_notify (G_OBJECT (selection), "strikethrough");
@@ -4294,6 +4302,8 @@ e_html_editor_selection_set_underline (EHTMLEditorSelection *selection,
command = E_HTML_EDITOR_VIEW_COMMAND_UNDERLINE;
e_html_editor_view_exec_command (view, command, NULL);
+ e_html_editor_view_force_spell_check_for_current_paragraph (view);
+
g_object_unref (view);
g_object_notify (G_OBJECT (selection), "underline");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]