|
a/src/qtgui/restable.cpp |
|
b/src/qtgui/restable.cpp |
|
... |
|
... |
61 |
// Restable hiliter: to highlight search term in the table. This is actually
|
61 |
// Restable hiliter: to highlight search term in the table. This is actually
|
62 |
// the same as reslist's, could be shared.
|
62 |
// the same as reslist's, could be shared.
|
63 |
class PlainToRichQtReslist : public PlainToRich {
|
63 |
class PlainToRichQtReslist : public PlainToRich {
|
64 |
public:
|
64 |
public:
|
65 |
virtual ~PlainToRichQtReslist() {}
|
65 |
virtual ~PlainToRichQtReslist() {}
|
66 |
virtual string startMatch() {
|
66 |
virtual string startMatch(int)
|
|
|
67 |
{
|
67 |
return string("<span style='color: ")
|
68 |
return string("<span style='color: ")
|
68 |
+ string((const char *)prefs.qtermcolor.toAscii()) + string("'>");
|
69 |
+ string((const char *)prefs.qtermcolor.toAscii()) + string("'>");
|
69 |
}
|
70 |
}
|
70 |
virtual string endMatch() {return string("</span>");}
|
71 |
virtual string endMatch() {return string("</span>");}
|
71 |
};
|
72 |
};
|