Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2008, 3:01:49 AM (16 years ago)
Author:
landauf
Message:

cool stuff: autocompletion works with filesystem (has to be tested on other systems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/ConfigFileManager.cc

    r1435 r1436  
    4242    SetConsoleCommandShortcutExtern(reloadConfig);
    4343    SetConsoleCommandShortcutExtern(cleanConfig);
    44     SetConsoleCommandShortcutExtern(loadSettings);
    45     SetConsoleCommandShortcutExtern(loadKeybindings);
     44    SetConsoleCommandShortcutExtern(loadSettings).setArgumentCompleter(0, autocompletion::files());
     45    SetConsoleCommandShortcutExtern(loadKeybindings).setArgumentCompleter(0, autocompletion::files());
    4646
    4747    bool config(const std::string& classname, const std::string& varname, const std::string& value)
Note: See TracChangeset for help on using the changeset viewer.