mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
28896d1bdd
commit
5f08562026
@ -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 }
|
||||
};
|
||||
|
@ -189,8 +189,6 @@ enum ColorCode {
|
||||
Color_paragraphmarker,
|
||||
/// Preview frame color
|
||||
Color_previewframe,
|
||||
/// The color of the misspelled marking
|
||||
Color_misspelled,
|
||||
|
||||
// Logical attributes
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user