diff options
| author | leen <i@leenzhu.com> | 2023-10-11 04:03:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-10 22:03:40 +0200 |
| commit | fcaae0353773eaf3aebc61359bc5d7c47ba20866 (patch) | |
| tree | 0c843cd2791a72ad9c036b70ccce492c2c1a4309 /src | |
| parent | bb7e1635adb15d685a94e96b015d4bfd09cf2f05 (diff) | |
Fix default color of ATTR_GRAMMAR/ATTR_SPELLING (#790)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
