fakevim: don't send ':set ic' and ':set noic' to handler in order to avoid warning about unsupported option

Merge-request: 190
Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
Martin Aumüller
2010-10-26 10:56:32 +02:00
committed by hjk
parent 9f99bdb6f1
commit c12c9635cd

View File

@@ -1005,10 +1005,10 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
} else if (cmd.args == "ic" || cmd.args == "ignorecase") {
// :set noic
setActionChecked(Find::Constants::CASE_SENSITIVE, false);
*handled = false; // Let the handler see it as well.
} else if (cmd.args == "noic" || cmd.args == "noignorecase") {
// :set noic
setActionChecked(Find::Constants::CASE_SENSITIVE, true);
} else {
*handled = false; // Let the handler see it as well.
}
} else if (cmd.matches("n", "next")) {