- ed->StyleSetFont(wxSTC_STYLE_DEFAULT, font);
- ed->StyleClearAll();
-
- ed->StyleSetForeground(0, wxColour(0x80, 0x80, 0x80));
- ed->StyleSetForeground(1, wxColour(0x00, 0x7f, 0x00));
- //ed->StyleSetForeground(2, wxColour(0x00, 0x7f, 0x00));
- ed->StyleSetForeground(3, wxColour(0x7f, 0x7f, 0x7f));
- ed->StyleSetForeground(4, wxColour(0x00, 0x7f, 0x7f));
- ed->StyleSetForeground(5, wxColour(0x00, 0x00, 0x7f));
- ed->StyleSetForeground(6, wxColour(0x7f, 0x00, 0x7f));
- ed->StyleSetForeground(7, wxColour(0x7f, 0x00, 0x7f));
- ed->StyleSetForeground(8, wxColour(0x00, 0x7f, 0x7f));
- ed->StyleSetForeground(9, wxColour(0x7f, 0x7f, 0x7f));
- ed->StyleSetForeground(10, wxColour(0x00, 0x00, 0x00));
- ed->StyleSetForeground(11, wxColour(0x00, 0x00, 0x00));
- ed->StyleSetBold(5, TRUE);
- ed->StyleSetBold(10, TRUE);
+ StyleSetFont(wxSTC_STYLE_DEFAULT, font);
+ StyleClearAll();
+
+ StyleSetForeground(0, wxColour(0x80, 0x80, 0x80));
+ StyleSetForeground(1, wxColour(0x00, 0x7f, 0x00));
+ //StyleSetForeground(2, wxColour(0x00, 0x7f, 0x00));
+ StyleSetForeground(3, wxColour(0x7f, 0x7f, 0x7f));
+ StyleSetForeground(4, wxColour(0x00, 0x7f, 0x7f));
+ StyleSetForeground(5, wxColour(0x00, 0x00, 0x7f));
+ StyleSetForeground(6, wxColour(0x7f, 0x00, 0x7f));
+ StyleSetForeground(7, wxColour(0x7f, 0x00, 0x7f));
+ StyleSetForeground(8, wxColour(0x00, 0x7f, 0x7f));
+ StyleSetForeground(9, wxColour(0x7f, 0x7f, 0x7f));
+ StyleSetForeground(10, wxColour(0x00, 0x00, 0x00));
+ StyleSetForeground(11, wxColour(0x00, 0x00, 0x00));
+ StyleSetBold(5, TRUE);
+ StyleSetBold(10, TRUE);