Lines Matching defs:lines
247 error.SetErrorString("already getting lines");
281 Editline::GetLines(const std::string &end_line, StringList &lines)
291 error.SetErrorString("already getting lines");
305 lines.Clear();
313 if (line_idx >= lines.GetSize())
314 lines.SetSize(m_lines_curr_line);
315 m_lines_max_line = lines.GetSize();
318 std::string &line = lines[line_idx];
332 lines,
346 // we were editing previous lines, then populate the line
348 if (line_idx+1 < lines.GetSize() && !lines[line_idx+1].empty())
350 const_cast<char*>(lines[line_idx+1].c_str()));
356 // two lines ("ESC[2A").
363 //::fprintf (out_file, "\033[1A\033[%uD\033[2K", (uint32_t)(m_lines_prompt.size() + lines[line_idx].size())); // Make cursor go up a line and clear that line
365 if (!lines[line_idx-1].empty())
367 const_cast<char*>(lines[line_idx-1].c_str()));
374 //::fprintf (out_file, "\033[1B\033[%uD\033[2K", (uint32_t)(m_lines_prompt.size() + lines[line_idx].size()));
376 if (line_idx+1 < lines.GetSize() && !lines[line_idx+1].empty())
378 const_cast<char*>(lines[line_idx+1].c_str()));
387 // user know the lines are complete
390 lines,