Fix default color of ATTR_GRAMMAR/ATTR_SPELLING (#790)

This commit is contained in:
leen 2023-10-11 04:03:40 +08:00 committed by GitHub
parent bb7e1635ad
commit fcaae03537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,8 +168,8 @@ Fl_Text_Display::Fl_Text_Display(int X, int Y, int W, int H, const char* l)
textfont_ = FL_HELVETICA; // textfont()
textsize_ = FL_NORMAL_SIZE; // textsize()
textcolor_ = FL_FOREGROUND_COLOR; // textcolor()
grammar_underline_color_ = FL_RED;
spelling_underline_color_ = FL_BLUE;
grammar_underline_color_ = FL_BLUE;
spelling_underline_color_ = FL_RED;
secondary_selection_color_ = FL_GRAY;
mLineNumLeft = 0; // XXX: UNUSED
mLineNumWidth = 0;