| 814 | } |
| 815 | |
| 816 | void TextEditConsole::appendColorBold(const QString& text, const QColor color) { |
| 817 | appendFormatted(text, [=](QTextCharFormat& fmt) { |
| 818 | fmt.setForeground(color); |
| 819 | fmt.setFontWeight(QFont::Bold); |
| 820 | }); |
| 821 | } |
| 822 | |
| 823 | void TextEditConsole::appendColorUnderline(const QString &text, const QColor color) { |
| 824 | appendFormatted(text, [=](QTextCharFormat& fmt) { |