[evolution/wip/webkit-composer] EEditorSelection: Show caret position node and change its color to red



commit 9bdef2225cd78fe57b3d7910f41dc9eb090021f6
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jan 30 11:58:19 2014 +0100

    EEditorSelection: Show caret position node and change its color to red
    
    Caret position node should be never visible to user, but when it is visible,
    something went wrong.

 e-util/e-editor-selection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index ba0821a..c5709b2 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -3350,7 +3350,7 @@ e_editor_selection_get_caret_position_node (WebKitDOMDocument *document)
        element = webkit_dom_document_create_element (document, "SPAN", NULL);
        webkit_dom_element_set_id (element, "-x-evo-caret-position");
        webkit_dom_element_set_attribute (
-               element, "style", "display: none", NULL);
+               element, "style", "color: red", NULL);
        webkit_dom_html_element_set_inner_html (
                WEBKIT_DOM_HTML_ELEMENT (element), "*", NULL);
 


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