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/TclThreadManager.cc

    r1434 r1441  
    632632    }
    633633
    634     std::list<std::pair<std::string, std::string> > TclThreadManager::getThreadList() const
     634    std::list<unsigned int> TclThreadManager::getThreadList() const
    635635    {
    636636        boost::mutex::scoped_lock bundles_lock(TclThreadManager::getInstance().bundlesMutex_);
    637         std::list<std::pair<std::string, std::string> > threads;
     637        std::list<unsigned int> threads;
    638638        for (std::map<unsigned int, TclInterpreterBundle*>::const_iterator it = this->interpreterBundles_.begin(); it != this->interpreterBundles_.end(); ++it)
    639         {
    640             std::string number = getConvertedValue<unsigned int, std::string>((*it).first);
    641             threads.push_back(std::pair<std::string, std::string>(number, number));
    642         }
     639            threads.push_back((*it).first);
    643640        return threads;
    644641    }
Note: See TracChangeset for help on using the changeset viewer.