ide: Refactoring find/replace GUI

git-svn-id: svn://ultimatepp.org/upp/trunk@7473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-06-30 14:11:13 +00:00
commit b553f91451
11 changed files with 191 additions and 141 deletions

View file

@ -363,4 +363,9 @@ void RestoreKeys(const String& data)
catch(CParser::Error) {}
}
String GetDesc(const KeyInfo& f, bool parenthesis)
{
return f.key[0] ? parenthesis ? "(" + GetKeyDesc(f.key[0]) + ")" : GetKeyDesc(f.key[0]) : String();
}
END_UPP_NAMESPACE