Removal of this color was forgotten.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163890.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36724 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-12-04 22:41:50 +00:00
parent 28896d1bdd
commit 5f08562026
3 changed files with 1 additions and 4 deletions

View File

@ -243,7 +243,6 @@ ColorSet::ColorSet()
{ Color_previewframe, N_("preview frame"), "previewframe", "black", "previewframe"},
{ Color_inherit, N_("inherit"), "inherit", "black", "inherit" },
{ Color_regexpframe, N_("regexp frame"), "green", "green", "green" },
{ Color_misspelled, N_("misspelled marking"), "misspelled", "red", "misspelled" },
{ Color_ignore, N_("ignore"), "ignore", "black", "ignore" },
{ Color_ignore, 0, 0, 0, 0 }
};

View File

@ -189,8 +189,6 @@ enum ColorCode {
Color_paragraphmarker,
/// Preview frame color
Color_previewframe,
/// The color of the misspelled marking
Color_misspelled,
// Logical attributes

View File

@ -361,7 +361,7 @@ void RowPainter::paintMisspelledMark(double orig_x, int desc, bool changed)
// to avoid drawing at the same vertical offset
int const offset = int(1.5 * lyxrc.zoom / 100.0); // [percent]
int const y = yo_ + desc + (changed ? offset : 0) + 1;
pi_.pain.line(int(orig_x), y, int(x_), y, Color_misspelled,
pi_.pain.line(int(orig_x), y, int(x_), y, Color_error,
Painter::line_onoffdash, 2.0);
}