[evolution] Bug 733140 - Backspace removes too much when editing quotation
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 733140 - Backspace removes too much when editing quotation
- Date: Tue, 15 Jul 2014 11:59:54 +0000 (UTC)
commit d3dde016fdf785be204766f6b6a967525c957170
Author: Tomas Popela <tpopela redhat com>
Date: Tue Jul 15 13:59:36 2014 +0200
Bug 733140 - Backspace removes too much when editing quotation
We have to ask for the previous sibling of element that marks the selection
start instead of the end.
e-util/e-html-editor-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 8b805b8..f5418ca 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2051,7 +2051,7 @@ change_quoted_block_to_normal (EHTMLEditorView *view)
webkit_dom_node_normalize (WEBKIT_DOM_NODE (block));
prev_sibling = webkit_dom_node_get_previous_sibling (
- WEBKIT_DOM_NODE (selection_end_marker));
+ WEBKIT_DOM_NODE (selection_start_marker));
if (WEBKIT_DOM_IS_ELEMENT (prev_sibling))
success = element_has_class (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]