Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/lib/shell/shell_input.h


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_input.h

    r7858 r9869  
    3030  class ShellInput : public Text,  public EventListener
    3131  {
     32    ObjectListDeclaration(ShellInput);
    3233
    3334  public:
     
    3637
    3738    /** @returns the inputLine */
    38     const std::string& getInput() const { return this->inputLine; };
     39    std::string getInput() const { return this->inputLineBegin + this->inputLineEnd; };
    3940
    4041    // InputLine
     
    5455    void historyMoveDown();
    5556
     57    void moveCursor(int chars);
     58
    5659    void help(const std::string& className = "", const std::string& function = "");
    5760
     
    6366    ShellCompletion                   completion;       //!< The Completion Interface.
    6467
    65     std::string                       inputLine;        //!< the Char-Array of the Buffer
     68    std::string                       inputLineBegin;   //!< The Line up to the cursor.
     69    std::string                       inputLineEnd;     //!< The Line from the cursor on
     70
    6671    float                             repeatRate;       //!< The Repeat-Delay.
    6772    float                             repeatDelay;      //!< The delay of the first Character of a given Character.
Note: See TracChangeset for help on using the changeset viewer.