mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Use bold instead of underlining to mark the characters we're matching.
This commit is contained in:
parent
1410eeb10e
commit
4b716dd63d
@ -270,7 +270,7 @@ QString CCItemDelegate::underlineFilter(QString const & s) const
|
|||||||
return s;
|
return s;
|
||||||
QString r(s);
|
QString r(s);
|
||||||
QRegExp pattern(charFilterRegExpC(f));
|
QRegExp pattern(charFilterRegExpC(f));
|
||||||
r.replace(pattern, "<u>\\1</u>");
|
r.replace(pattern, "<b>\\1</b>");
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -301,7 +301,7 @@ QString LayoutItemDelegate::underlineFilter(QString const & s) const
|
|||||||
return s;
|
return s;
|
||||||
QString r(s);
|
QString r(s);
|
||||||
QRegExp pattern(charFilterRegExpC(f));
|
QRegExp pattern(charFilterRegExpC(f));
|
||||||
r.replace(pattern, "<u>\\1</u>");
|
r.replace(pattern, "<b>\\1</b>");
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user