[evolution/gnome-3-16] EComposerPrivate - Scroll to caret if starting reply on bottom



commit d8d4b59773e92257fc9096e44b90efb92d3d65df
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]