forked from qt-creator/qt-creator
Reverse the order of FakeVim setting pages
Reviewed-by: hjk
This commit is contained in:
@@ -163,7 +163,6 @@ void CommandMappings::filterChanged(const QString &f)
|
|||||||
|
|
||||||
bool CommandMappings::filter(const QString &f, const QTreeWidgetItem *item)
|
bool CommandMappings::filter(const QString &f, const QTreeWidgetItem *item)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (QTreeWidgetItem *parent = item->parent()) {
|
if (QTreeWidgetItem *parent = item->parent()) {
|
||||||
if (parent->text(0).contains(f, Qt::CaseInsensitive))
|
if (parent->text(0).contains(f, Qt::CaseInsensitive))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -100,8 +100,8 @@ const char * const INSTALL_HANDLER = "TextEditor.FakeVimHandler";
|
|||||||
const char * const MINI_BUFFER = "TextEditor.FakeVimMiniBuffer";
|
const char * const MINI_BUFFER = "TextEditor.FakeVimMiniBuffer";
|
||||||
const char * const INSTALL_KEY = "Alt+V,Alt+V";
|
const char * const INSTALL_KEY = "Alt+V,Alt+V";
|
||||||
const char * const SETTINGS_CATEGORY = "D.FakeVim";
|
const char * const SETTINGS_CATEGORY = "D.FakeVim";
|
||||||
const char * const SETTINGS_ID = "General";
|
const char * const SETTINGS_ID = "A.General";
|
||||||
const char * const SETTINGS_EX_CMDS_ID = "ExCommands";
|
const char * const SETTINGS_EX_CMDS_ID = "B.ExCommands";
|
||||||
const char * const CMD_FILE_NEXT = "FakeVim.SwitchFileNext";
|
const char * const CMD_FILE_NEXT = "FakeVim.SwitchFileNext";
|
||||||
const char * const CMD_FILE_PREV = "FakeVim.SwitchFilePrev";
|
const char * const CMD_FILE_PREV = "FakeVim.SwitchFilePrev";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user