Lines Matching +defs:count +defs:lines
124 EditLineStringType CombineLines(const std::vector<EditLineStringType> &lines) {
126 for (EditLineStringType line : lines) {
390 // Determine relative starting and ending lines
442 StringList lines;
447 lines.AppendString(m_utf8conv.to_bytes(line));
449 lines.AppendString(line);
453 return lines;
502 // If we're pulling the lines from history, split them apart
637 StringList lines = GetInputAsStringList(m_current_line_index + 1);
639 lines.AppendString(m_utf8conv.to_bytes(new_line_fragment));
641 lines.AppendString(new_line_fragment);
644 int indent_correction = m_fix_indentation_callback(this, lines, 0);
678 auto lines = GetInputAsStringList();
679 if (!m_is_input_complete_callback(this, lines)) {
683 // The completion test is allowed to change the input lines when complete
685 for (unsigned index = 0; index < lines.GetSize(); index++) {
688 m_utf8conv.from_bytes(lines[index]));
690 m_input_lines.insert(m_input_lines.end(), lines[index]);
810 StringList lines = GetInputAsStringList();
811 lines.AppendString("");
812 indentation = m_fix_indentation_callback(this, lines, 0);
856 StringList lines = GetInputAsStringList(m_current_line_index + 1);
858 m_fix_indentation_callback(this, lines, cursor_position);
865 std::string currentLine = lines.GetStringAtIndex(m_current_line_index);
1494 int count;
1495 auto input = el_wgets(m_editline, &count);
1515 bool Editline::GetLines(int first_line_number, StringList &lines,
1519 // Print the initial input lines, then move the cursor back up to the start
1535 int count;
1539 el_wgets(m_editline, &count);
1549 lines = GetInputAsStringList();