Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2008, 6:29:08 PM (16 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/CommandEvaluation.h

    r1434 r1441  
    3535#include <list>
    3636
     37#include "ArgumentCompletionListElement.h"
    3738#include "util/SubString.h"
    3839#include "util/MultiTypeMath.h"
     
    8283            unsigned int getStartindex() const;
    8384            static std::string dump(const std::list<std::pair<const std::string*, const std::string*> >& list);
    84             static std::string dump(const std::list<std::pair<std::string, std::string> >& list);
     85            static std::string dump(const ArgumentCompletionList& list);
    8586            static std::string dump(const ConsoleCommand* command);
    8687
     
    9697            std::list<std::pair<const std::string*, const std::string*> > listOfPossibleIdentifiers_;
    9798            std::list<std::pair<const std::string*, const std::string*> > listOfPossibleFunctions_;
    98             std::list<std::pair<std::string, std::string> > listOfPossibleArguments_;
     99            ArgumentCompletionList listOfPossibleArguments_;
    99100
    100101            Identifier* functionclass_;
Note: See TracChangeset for help on using the changeset viewer.