• Home
  • Raw
  • Download

Lines Matching refs:Editline

306 void Editline::SetBaseLineNumber(int line_number) {  in SetBaseLineNumber()
312 std::string Editline::PromptForIndex(int line_index) { in PromptForIndex()
340 void Editline::SetCurrentLine(int line_index) { in SetCurrentLine()
345 int Editline::GetPromptWidth() { return (int)PromptForIndex(0).length(); } in GetPromptWidth()
347 bool Editline::IsEmacs() { in IsEmacs()
353 bool Editline::IsOnlySpaces() { in IsOnlySpaces()
363 int Editline::GetLineIndexForLocation(CursorLocation location, int cursor_row) { in GetLineIndexForLocation()
384 void Editline::MoveCursor(CursorLocation from, CursorLocation to) { in MoveCursor()
413 void Editline::DisplayInput(int firstIndex) { in DisplayInput()
430 int Editline::CountRowsForLine(const EditLineStringType &content) { in CountRowsForLine()
437 void Editline::SaveEditedLine() { in SaveEditedLine()
443 StringList Editline::GetInputAsStringList(int line_count) { in GetInputAsStringList()
458 unsigned char Editline::RecallHistory(HistoryOperation op) { in RecallHistory()
530 int Editline::GetCharacter(EditLineGetCharType *c) { in GetCharacter()
610 const char *Editline::Prompt() { in Prompt()
616 unsigned char Editline::BreakLineCommand(int ch) { in BreakLineCommand()
663 unsigned char Editline::EndOrAddLineCommand(int ch) { in EndOrAddLineCommand()
703 unsigned char Editline::DeleteNextCharCommand(int ch) { in DeleteNextCharCommand()
742 unsigned char Editline::DeletePreviousCharCommand(int ch) { in DeletePreviousCharCommand()
776 unsigned char Editline::PreviousLineCommand(int ch) { in PreviousLineCommand()
798 unsigned char Editline::NextLineCommand(int ch) { in NextLineCommand()
835 unsigned char Editline::PreviousHistoryCommand(int ch) { in PreviousHistoryCommand()
841 unsigned char Editline::NextHistoryCommand(int ch) { in NextHistoryCommand()
847 unsigned char Editline::FixIndentationCommand(int ch) { in FixIndentationCommand()
892 unsigned char Editline::RevertLineCommand(int ch) { in RevertLineCommand()
905 unsigned char Editline::BufferStartCommand(int ch) { in BufferStartCommand()
913 unsigned char Editline::BufferEndCommand(int ch) { in BufferEndCommand()
979 unsigned char Editline::TabCommand(int ch) { in TabCommand()
1049 unsigned char Editline::ApplyAutosuggestCommand(int ch) { in ApplyAutosuggestCommand()
1061 unsigned char Editline::TypedCharacter(int ch) { in TypedCharacter()
1095 void Editline::ConfigureEditor(bool multiline) { in ConfigureEditor()
1123 return Editline::InstanceFor(editline)->Prompt(); in ConfigureEditor()
1128 return Editline::InstanceFor(editline)->GetCharacter(c); in ConfigureEditor()
1136 return Editline::InstanceFor(editline)->BreakLineCommand(ch); in ConfigureEditor()
1141 return Editline::InstanceFor(editline)->EndOrAddLineCommand(ch); in ConfigureEditor()
1146 return Editline::InstanceFor(editline)->DeleteNextCharCommand(ch); in ConfigureEditor()
1152 return Editline::InstanceFor(editline)->DeletePreviousCharCommand(ch); in ConfigureEditor()
1157 return Editline::InstanceFor(editline)->PreviousLineCommand(ch); in ConfigureEditor()
1162 return Editline::InstanceFor(editline)->NextLineCommand(ch); in ConfigureEditor()
1167 return Editline::InstanceFor(editline)->PreviousHistoryCommand(ch); in ConfigureEditor()
1172 return Editline::InstanceFor(editline)->NextHistoryCommand(ch); in ConfigureEditor()
1177 return Editline::InstanceFor(editline)->BufferStartCommand(ch); in ConfigureEditor()
1182 return Editline::InstanceFor(editline)->BufferEndCommand(ch); in ConfigureEditor()
1187 return Editline::InstanceFor(editline)->FixIndentationCommand(ch); in ConfigureEditor()
1197 return Editline::InstanceFor(editline)->TabCommand(ch); in ConfigureEditor()
1213 return Editline::InstanceFor(editline)->ApplyAutosuggestCommand( in ConfigureEditor()
1223 return Editline::InstanceFor(editline)->TypedCharacter(ch); in ConfigureEditor()
1262 return Editline::InstanceFor(editline)->RevertLineCommand(ch); in ConfigureEditor()
1325 Editline *Editline::InstanceFor(EditLine *editline) { in InstanceFor()
1326 Editline *editor; in InstanceFor()
1331 Editline::Editline(const char *editline_name, FILE *input_file, in Editline() function in Editline
1368 Editline::~Editline() { in ~Editline()
1385 void Editline::SetPrompt(const char *prompt) { in SetPrompt()
1389 void Editline::SetContinuationPrompt(const char *continuation_prompt) { in SetContinuationPrompt()
1394 void Editline::TerminalSizeChanged() { m_terminal_size_has_changed = 1; } in TerminalSizeChanged()
1396 void Editline::ApplyTerminalSizeChange() { in ApplyTerminalSizeChange()
1423 const char *Editline::GetPrompt() { return m_set_prompt.c_str(); } in GetPrompt()
1425 uint32_t Editline::GetCurrentLine() { return m_current_line_index; } in GetCurrentLine()
1427 bool Editline::Interrupt() { in Interrupt()
1438 bool Editline::Cancel() { in Cancel()
1450 void Editline::SetSuggestionCallback(SuggestionCallbackType callback, in SetSuggestionCallback()
1456 void Editline::SetAutoCompleteCallback(CompleteCallbackType callback, in SetAutoCompleteCallback()
1462 void Editline::SetIsInputCompleteCallback(IsInputCompleteCallbackType callback, in SetIsInputCompleteCallback()
1468 bool Editline::SetFixIndentationCallback(FixIndentationCallbackType callback, in SetFixIndentationCallback()
1477 bool Editline::GetLine(std::string &line, bool &interrupted) { in GetLine()
1517 bool Editline::GetLines(int first_line_number, StringList &lines, in GetLines()
1554 void Editline::PrintAsync(Stream *stream, const char *s, size_t len) { in PrintAsync()
1568 bool Editline::CompleteCharacter(char ch, EditLineGetCharType &out) { in CompleteCharacter()