* Color.cpp:

- use hex names for color_addedtext and color_deletedtext to prevent an assertion (bug 4814).

This has already been done for other colors. However, maybe we should rather separate x11 color names and hex names.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24585 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-05-02 16:24:50 +00:00
parent f89c7710b7
commit c149fb72e0

View File

@ -152,8 +152,8 @@ ColorSet::ColorSet()
{ Color_eolmarker, N_("end-of-line marker"), "eolmarker", "Brown", "eolmarker" },
{ Color_appendix, N_("appendix marker"), "appendix", "Brown", "appendix" },
{ Color_changebar, N_("change bar"), "changebar", "Blue", "changebar" },
{ Color_deletedtext, N_("Deleted text"), "deletedtext", "red", "deletedtext" },
{ Color_addedtext, N_("Added text"), "addedtext", "blue", "addedtext" },
{ Color_deletedtext, N_("Deleted text"), "deletedtext", "#ff0000", "deletedtext" },
{ Color_addedtext, N_("Added text"), "addedtext", "#0000ff", "addedtext" },
{ Color_added_space, N_("added space markers"), "added_space", "Brown", "added_space" },
{ Color_topline, N_("top/bottom line"), "topline", "Brown", "topline" },
{ Color_tabularline, N_("table line"), "tabularline", "black", "tabularline" },