From fcaae0353773eaf3aebc61359bc5d7c47ba20866 Mon Sep 17 00:00:00 2001 From: leen Date: Wed, 11 Oct 2023 04:03:40 +0800 Subject: Fix default color of ATTR_GRAMMAR/ATTR_SPELLING (#790) --- src/Fl_Text_Display.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 029d7fef9..090c79ca0 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -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; -- cgit v1.2.3