[evolution] EHTMLEditorSelection - Try to move with the caret only when it is possible to save it
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorSelection - Try to move with the caret only when it is possible to save it
- Date: Tue, 1 Jul 2014 13:20:05 +0000 (UTC)
commit f477af8b2efca7139375caf3b57918a98417135a
Author: Tomas Popela <tpopela redhat com>
Date: Tue Jul 1 15:07:56 2014 +0200
EHTMLEditorSelection - Try to move with the caret only when it is possible to save it
e-util/e-html-editor-selection.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index 87138dc..3fcdad8 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -5746,6 +5746,8 @@ e_html_editor_selection_scroll_to_caret (EHTMLEditorSelection *selection)
WebKitDOMElement *caret;
caret = e_html_editor_selection_save_caret_position (selection);
+ if (!caret)
+ return;
view = e_html_editor_selection_ref_html_editor_view (selection);
document = webkit_web_view_get_dom_document (WEBKIT_WEB_VIEW (view));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]