mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +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;
|
||||
QString r(s);
|
||||
QRegExp pattern(charFilterRegExpC(f));
|
||||
r.replace(pattern, "<u>\\1</u>");
|
||||
r.replace(pattern, "<b>\\1</b>");
|
||||
return r;
|
||||
}
|
||||
|
||||
|
@ -301,7 +301,7 @@ QString LayoutItemDelegate::underlineFilter(QString const & s) const
|
||||
return s;
|
||||
QString r(s);
|
||||
QRegExp pattern(charFilterRegExpC(f));
|
||||
r.replace(pattern, "<u>\\1</u>");
|
||||
r.replace(pattern, "<b>\\1</b>");
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user