[evolution/wip/webkit-composer] EComposerPrivate: Fix caret position in "Start typing at the bottom on replying"
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] EComposerPrivate: Fix caret position in "Start typing at the bottom on replying"
- Date: Thu, 23 Jan 2014 13:47:54 +0000 (UTC)
commit aad869a22aa79ada24f142732f553c6d0e33c2b3
Author: Tomas Popela <tpopela redhat com>
Date: Tue Jan 21 14:54:33 2014 +0100
EComposerPrivate: Fix caret position in "Start typing at the bottom on replying"
composer/e-composer-private.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 3a28da9..2ee3c6d 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -863,15 +863,15 @@ composer_move_caret (EMsgComposer *composer)
NULL);
}
+ e_editor_selection_restore_caret_position (editor_selection);
+ e_editor_widget_quote_plain_text (editor_widget);
+ e_editor_widget_force_spellcheck (editor_widget);
+
input_start = webkit_dom_document_get_element_by_id (document, "-x-evo-input-start");
if (input_start)
webkit_dom_range_select_node_contents (new_range, WEBKIT_DOM_NODE
(input_start), NULL);
webkit_dom_range_collapse (new_range, FALSE, NULL);
-
- e_editor_selection_restore_caret_position (editor_selection);
- e_editor_widget_quote_plain_text (editor_widget);
- e_editor_widget_force_spellcheck (editor_widget);
} else {
if (!has_paragraphs_in_body) {
if (webkit_dom_node_get_first_child (WEBKIT_DOM_NODE (body))) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]