65 wxLogDebug(
"%s", sInput.c_str());
72 tm.
printOutput(sInput.substr(0, sInput.find_first_of(
"\n\r\t")));
75 size_t nPos = sInput.find_first_of(
"\n\r\t");
78 if (nPos != std::string::npos)
96 sInput.erase(0, nPos + 1);
104 while (sInput.length());
150 std::string sNameSpace;
494 while (sHistory.length())
549 while (sHistory.length())
std::string toLowerCase(const std::string &)
Converts uppercase to lowercase letters.
bool cursor_up()
Either moves the cursor up or performs a history jump.
bool del()
Perform a delete key operation.
void clear_mode_flag(int flag)
Clears a mode flag (mainly used to make the cursor visible again).
void erase_line()
Erases the current line in the internal buffer.
bool cursor_right()
Moves the cursor to the right.
void tab()
Evaluate the tab key (do not insert a tab character but try to autocomplete the current input).
void move_cursor(int x, int y)
bool cursor_down()
Either moves the cursor down or performs a history jump.
void resetAutoComp(int mode)
Reset the current autocompletion list and the corresponding variables.
bool cursor_left()
Moves the cursor to the left.
bool end()
Moves the cursor to the rightmost position in the current line.
bool back()
Moves the cursor to the rightmost position in the whole input.
std::string getProcNameSpace()
This member function evalutes the procedure signature and returns its namespace. Will only be called ...
bool home()
Moves the cursor to the leftmost position in the current line.
bool delSelected()
Delete a selected block.
bool ctrl_left()
Moves the cursor one word to the left.
void cr()
Insert a carriage return.
void handle_calltip(int x, int y)
Check, whether a calltip is needed and select the corresponding text from the CallTipProvider.
void clear_area(int start_x, int start_y, int end_x, int end_y)
std::string sAutoCompWordStart
void bell()
Perform a bell sound (not used).
int nCursorUpDownStartPos
bool bs()
Perform a backspace operation.
bool front()
Moves the cursor to the leftmost position in the whole input.
void reset()
Resets the terminal, so that it starts with an empty buffer.
void erase_usercontent_line()
Erases alle user-written contents from the current line.
void ff()
Insert a form feed (not used).
void normal_output()
This member function is for printing the kernel's output to the console.
bool ctrl_right()
Moves the cursor one word to the right.
void lf()
Insert a line feed.
std::string sAutoCompList
std::string getAutoCompList(std::string sFirstChars, bool useSmartSense=false)
This function returns the autocompletion list for the editor.
std::string getProcAutoCompList(std::string sFirstChars, std::string sBaseNameSpace, std::string sSelectedNameSpace)
This function will return the autocompletion list for the procedures based upon the provided procedur...
bool clearRange(const ViewCursor &cursor1, const ViewCursor &cursor2)
Clears the range between two view cursors.
void printOutput(const std::string &sLine)
This is the read-only print function.
unsigned short GetColorAdjusted(int y, int x) const
size_t tab()
Insert a tab character at the current position.
void insertInput(const std::string &sLine, size_t logicalpos=std::string::npos)
This is the user input function.
void newLine()
Adds a new line to the current managed text.
void backspace(const LogicalCursor &logCursor)
Performs a backspace operation.
ViewCursor toViewCursor(const LogicalCursor &logCursor) const
Convert a logical cursor to a view cursor.
char GetCharAdjusted(int y, int x) const
bool IsEditableLogical(const LogicalCursor &logCursor) const
Determines, whether the character at the logical position is editable text.
char GetCharLogical(const LogicalCursor &cursor) const
Returns the character at the logical position.
std::string GetInputHistory(bool vcursorup=true)
Get the next history line.
void eraseLine()
Erase the current line.
ViewCursor getCurrentViewPos() const
Returns the current cursor position as view cursor.
bool IsEditable(int y, int x) const
Determines, whether the character at (x,y) is editable text.
std::string GetTextRange(int y, int x0, int x1) const
Extracts the text between the positions.
void ResetVirtualCursorLine()
bool isSelected(const ViewCursor &viewCursor) const
Determines, whether the pointed character is selected.
std::string GetWordStartAt(int y, int x) const
Returns the word start at the passed position.
LogicalCursor toLogicalCursor(const ViewCursor &viewCursor) const
Convert a view cursor into a logical cursor.
LogicalCursor getCurrentLogicalPos() const
Returns the current cursor position as logical cursor.
std::string getCurrentInputLine() const
Returns the contents of the input line.
bool isSelectedLogical(const LogicalCursor &cursor) const
Determines, whether the pointed character is selected.
Cursor, which is used in the TextManager to identify the actual line and position in the m_text varia...
Cursor, which is used in the terminal. The TextManager is able to convert this cursor into a LogicalC...