From d3dde016fdf785be204766f6b6a967525c957170 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 15 Jul 2014 13:59:36 +0200 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'e-util/e-html-editor-view.c') diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 8b805b8b37..f5418cadcb 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 ( -- cgit v1.2.3