Lines Matching defs:lines
126 EditLineStringType CombineLines(const std::vector<EditLineStringType> &lines) {
128 for (EditLineStringType line : lines) {
392 // Determine relative starting and ending lines
444 StringList lines;
451 lines.AppendString(buffer);
453 lines.AppendString(line);
457 return lines;
506 // If we're pulling the lines from history, split them apart
641 StringList lines = GetInputAsStringList(m_current_line_index + 1);
645 lines.AppendString(buffer);
647 lines.AppendString(new_line_fragment);
650 int indent_correction = m_fix_indentation_callback(this, lines, 0);
684 auto lines = GetInputAsStringList();
685 if (!m_is_input_complete_callback(this, lines)) {
689 // The completion test is allowed to change the input lines when complete
691 for (unsigned index = 0; index < lines.GetSize(); index++) {
694 llvm::ConvertUTF8toWide(lines[index], wbuffer);
697 m_input_lines.insert(m_input_lines.end(), lines[index]);
817 StringList lines = GetInputAsStringList();
818 lines.AppendString("");
819 indentation = m_fix_indentation_callback(this, lines, 0);
863 StringList lines = GetInputAsStringList(m_current_line_index + 1);
865 m_fix_indentation_callback(this, lines, cursor_position);
872 std::string currentLine = lines.GetStringAtIndex(m_current_line_index);
1616 bool Editline::GetLines(int first_line_number, StringList &lines,
1620 // Print the initial input lines, then move the cursor back up to the start
1650 lines = GetInputAsStringList();