]> git.lyx.org Git - lyx.git/blobdiff - src/Color.cpp
Update cursor idx after grid paste if columns are appended
[lyx.git] / src / Color.cpp
index dd95e28f70742a99f4666692f77fec657486a0ba..d865765be93bcdca4505af8c26faef323a6b1194 100644 (file)
@@ -254,6 +254,10 @@ ColorSet::ColorSet()
        { Color_command, N_("command inset"), "command", "black", "command" },
        { Color_commandbg, N_("command inset background"), "commandbg", "azure", "commandbg" },
        { Color_commandframe, N_("command inset frame"), "commandframe", "black", "commandframe" },
+       { Color_command_broken, N_("command inset (broken reference)"), "command", "white", "command_broken" },
+       { Color_buttonbg_broken, N_("button background (broken reference)"), "commandbg", "Red", "commandbg_broken" },
+       { Color_buttonframe_broken, N_("button frame (broken reference)"), "commandframe", "Red", "commandframe_broken" },
+       { Color_buttonhoverbg_broken, N_("button background (broken reference) under focus"), "buttonhoverbg", "#DB0B0B", "buttonhoverbg_broken" },
        { Color_special, N_("special character"), "special", "RoyalBlue", "special" },
        { Color_math, N_("math"), "math", "DarkBlue", "math" },
        { Color_mathbg, N_("math background"), "mathbg", "linen", "mathbg" },
@@ -299,7 +303,7 @@ ColorSet::ColorSet()
        { Color_inherit, N_("inherit"), "inherit", "black", "inherit" },
        { Color_regexpframe, N_("regexp frame"), "regexpframe", "green", "regexpframe" },
        { Color_ignore, N_("ignore"), "ignore", "black", "ignore" },
-       { Color_ignore, 0, 0, 0, 0 }
+       { Color_ignore, nullptr, nullptr, nullptr, nullptr }
        };
 
        for (int i = 0; items[i].guiname; ++i)