[evolution/wip/webkit-composer: 474/966] 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: 474/966] EComposerPrivate: Fix caret position in "Start typing at the bottom on replying"
- Date: Wed, 23 Apr 2014 10:33:16 +0000 (UTC)
commit 4a5b39874b4bd5057f4078d69ee8c09383b0e414
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 29fdb92..d4c2e8b 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -861,15 +861,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]