[evolution] Bug 769908 - [WK2] Scroll to cursor on composer open
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 769908 - [WK2] Scroll to cursor on composer open
- Date: Mon, 15 Aug 2016 08:09:31 +0000 (UTC)
commit 7fcea18100e271975795cc8e77bc3efa4e658e50
Author: Tomas Popela <tpopela redhat com>
Date: Mon Aug 15 10:07:29 2016 +0200
Bug 769908 - [WK2] Scroll to cursor on composer open
.../web-extension/e-editor-dom-functions.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index e62e275..b644666 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -8415,6 +8415,8 @@ e_editor_dom_process_content_after_load (EEditorPage *editor_page)
dom_set_links_active (document, FALSE);
e_editor_page_set_convert_in_situ (editor_page, FALSE);
+ e_editor_dom_scroll_to_caret (editor_page);
+
e_editor_dom_register_input_event_listener_on_body (editor_page);
register_html_events_handlers (editor_page, body);
@@ -8465,6 +8467,8 @@ e_editor_dom_process_content_after_load (EEditorPage *editor_page)
e_editor_dom_set_monospace_font_family_on_body (
WEBKIT_DOM_ELEMENT (body), e_editor_page_get_html_mode (editor_page));
+ e_editor_dom_scroll_to_caret (editor_page);
+
dom_window = webkit_dom_document_get_default_view (document);
webkit_dom_event_target_add_event_listener (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]