diff --git a/companion/src/simulation/debugoutput.cpp b/companion/src/simulation/debugoutput.cpp index f894767df..dafd871c4 100644 --- a/companion/src/simulation/debugoutput.cpp +++ b/companion/src/simulation/debugoutput.cpp @@ -67,7 +67,7 @@ DebugOutput::DebugOutput(QWidget * parent, SimulatorInterface *simulator): QStringList stockFilters; stockFilters << "^lua[A-Z].*"; stockFilters << "/(error|warning|-(E|W)-)/i"; - stockFilters << "!^(GC Use|(play|load|write|find(True)?)File|convert(To|From)Simu|\\tfound( in map)?:|eeprom |f_[a-z]+\\(|(push|(p|P)op(up)?|chain)? ?Menu( .+ display)?|RamBackup).+$"; + stockFilters << "!^(GC Use|(play|load|write|find(True)?)File|convert(To|From)Simu|\\t(not )?found( in map)?:?|eeprom |f_[a-z]+\\(|(push|(p|P)op(up)?|chain)? ?Menu( .+ display)?|RamBackup).+$"; foreach (const QString & fltr, stockFilters) ui->filterText->addItem(fltr, "no_delete"); @@ -267,9 +267,9 @@ void DebugOutput::on_actionClearScr_triggered() void DebugOutput::on_actionShowFilterHelp_triggered() { // TODO : find some place better for this. - QString help = \ - "" - "

The filter supports two syntax types: basic matching with common wildcards and well as full Perl-style (pcre) Regular Expressions.

" + QString help = tr( \ + "" + "

The filter supports two syntax types: basic matching with common wildcards as well as full Perl-style (pcre) Regular Expressions.

" "

By default a filter will only show lines which match (inclusive). To make an exclusive filter which removes matching lines, " "prefix the filter expression with a ! (exclamation mark).

" "

To use Regular Expressions (RegEx), prefix the filter text with a / (slash) or ^ (up caret). " @@ -280,8 +280,9 @@ void DebugOutput::on_actionShowFilterHelp_triggered() "

  • If the RegEx is invalid, the filter edit field should show a red border and you will not be able to enable the filter.
  • " "
  • A useful resource for testing REs (with a full reference) can be found at http://www.regexr.com/
  • " "

    " - "

    To use basic matching just type any text. Wildcards * (asterisk) matches any text and ? (question mark) matches any single character." + "

    To use basic matching just type any text." "