From 6a0592918ac4bf109d67b619cdf3835239b700d4 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 27 Aug 2014 16:06:07 +0200 Subject: Fix handling of the selection in the composer when saving the message draft When saving the draft don't lose the active selection in the web view. Also restore the selection when the draft is again opened. Also fix the situations when the spell check was not activated when the composer was opened. --- e-util/e-html-editor-selection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'e-util/e-html-editor-selection.h') diff --git a/e-util/e-html-editor-selection.h b/e-util/e-html-editor-selection.h index 2bef77f052..3290dfe39b 100644 --- a/e-util/e-html-editor-selection.h +++ b/e-util/e-html-editor-selection.h @@ -183,6 +183,9 @@ void e_html_editor_selection_replace_image_src void e_html_editor_selection_insert_image (EHTMLEditorSelection *selection, const gchar *image_uri); +void e_html_editor_selection_move_caret_into_element + (WebKitDOMDocument *document, + WebKitDOMElement *element); void e_html_editor_selection_clear_caret_position_marker (EHTMLEditorSelection *selection); WebKitDOMNode * -- cgit v1.2.3