[evolution/wip/tpopela/freeze-fixes: 1/7] EComposerPrivate - Scroll to caret if starting reply on bottom
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/tpopela/freeze-fixes: 1/7] EComposerPrivate - Scroll to caret if starting reply on bottom
- Date: Wed, 18 Mar 2015 14:10:47 +0000 (UTC)
commit 84493efcafa5f9f671f3bac01e35e0e975bccc53
Author: Tomas Popela <tpopela redhat com>
Date: Tue Mar 17 08:38:26 2015 +0100
EComposerPrivate - Scroll to caret if starting reply on bottom
composer/e-composer-private.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index a6c3937..6a177bb 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -1041,6 +1041,9 @@ composer_move_caret (EMsgComposer *composer)
webkit_dom_range_collapse (new_range, TRUE, NULL);
webkit_dom_dom_selection_remove_all_ranges (dom_selection);
webkit_dom_dom_selection_add_range (dom_selection, new_range);
+
+ if (start_bottom)
+ e_html_editor_selection_scroll_to_caret (editor_selection);
}
if (start_bottom)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]