[evolution] EHTMLEditorSelection - Remove unneeded code



commit ceab0ac1a8edf4339049a90eee1339011ea182b6
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Aug 25 10:22:30 2015 +0200

    EHTMLEditorSelection - Remove unneeded code
    
    Remove the leftover code that expected the old caret position.

 e-util/e-html-editor-selection.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index 3f56ffe..0863a67 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -6236,11 +6236,6 @@ wrap_lines (EHTMLEditorSelection *selection,
                        return WEBKIT_DOM_ELEMENT (block);
 
                block_clone = webkit_dom_node_clone_node (block, TRUE);
-               element = webkit_dom_element_query_selector (
-                       WEBKIT_DOM_ELEMENT (block_clone),
-                       "span#-x-evo-caret-position",
-                       NULL);
-
                /* When we wrap, we are wrapping just the text after caret, text
                 * before the caret is already wrapped, so unwrap the text after
                 * the caret position */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]