Commit c12c9635 authored by Martin Aumüller's avatar Martin Aumüller Committed by hjk
Browse files

fakevim: don't send ':set ic' and ':set noic' to handler in order to avoid...


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

Merge-request: 190
Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
parent 9f99bdb6
......@@ -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")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment