Results for console tab-completion are now color-coded. CCMDs appear blue, CVars green and aliases red.
This commit is contained in:
parent
775ecdeebb
commit
48a29b769f
3 changed files with 20 additions and 1 deletions
|
|
@ -955,6 +955,11 @@ bool FConsoleCommand::AddToHash (FConsoleCommand **table)
|
|||
return true;
|
||||
}
|
||||
|
||||
FConsoleCommand* FConsoleCommand::FindByName (const char* name)
|
||||
{
|
||||
return FindNameInHashTable (Commands, name, strlen (name));
|
||||
}
|
||||
|
||||
FConsoleCommand::FConsoleCommand (const char *name, CCmdRun runFunc)
|
||||
: m_RunFunc (runFunc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue