gui: MainWindow: Also highlight unicode numbers in previews
Dieser Commit ist enthalten in:
Ursprung
bc908a1038
Commit
b71c234fb4
@ -544,7 +544,7 @@ void MainWindow::makePreviews(int page)
|
|||||||
scaleText.chop(1);
|
scaleText.chop(1);
|
||||||
|
|
||||||
QVector<QString> wordsToHighlight;
|
QVector<QString> wordsToHighlight;
|
||||||
QRegularExpression extractor(R"#("([^"]*)"|(\p{L}+))#");
|
QRegularExpression extractor(R"#("([^"]*)"|((\p{L}|\p{N})+))#");
|
||||||
for(const Token &token : this->contentSearchQuery.getTokens())
|
for(const Token &token : this->contentSearchQuery.getTokens())
|
||||||
{
|
{
|
||||||
if(token.type == FILTER_CONTENT_CONTAINS)
|
if(token.type == FILTER_CONTENT_CONTAINS)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren