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



commit 66dfe09e0ed6036963c01569043ff268070f377b
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]