aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-07-15 19:59:36 +0800
committerTomas Popela <tpopela@redhat.com>2014-07-15 19:59:36 +0800
commitd3dde016fdf785be204766f6b6a967525c957170 (patch)
tree00d9ad88a454b293cd62d4338c0784664e01880d
parent77a03ce2823fa8b80802d3f0f12ba4f7bca4c21f (diff)
downloadgsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar.gz
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar.bz2
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar.lz
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar.xz
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.tar.zst
gsoc2013-evolution-d3dde016fdf785be204766f6b6a967525c957170.zip
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.
-rw-r--r--e-util/e-html-editor-view.c2
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 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 (