Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2008, 6:29:08 PM (17 years ago)
Author:
landauf
Message:

you'll love this: separated displayed strings in autocompletion from actually inserted strings, to make fancy things like a really good autocompletion for files and directories.

@bensch: this is the "better system" I was talking about

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/CommandExecutor.h

    r1434 r1441  
    3535
    3636#include "CommandEvaluation.h"
    37 
    38 #define COMMAND_EXECUTOR_CURSOR "$"
    3937
    4038namespace orxonox
     
    9593            static void createArgumentCompletionList(ConsoleCommand* command, unsigned int param);
    9694            static std::string getCommonBegin(const std::list<std::pair<const std::string*, const std::string*> >& list);
    97             static std::string getCommonBegin(const std::list<std::pair<std::string, std::string> >& list);
    98             static bool compareStringsInList(const std::pair<const std::string*, const std::string*>& first, const std::pair<const std::string*, const std::string*>& second);
    99             static bool compareStringsInList2(const std::pair<std::string, std::string>& first, const std::pair<std::string, std::string>& second);
    100 
     95            static std::string getCommonBegin(const ArgumentCompletionList& list);
    10196
    10297            CommandEvaluation evaluation_;
Note: See TracChangeset for help on using the changeset viewer.