Home
last modified time | relevance | path

Searched refs:CursorLocation (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DEditline.cpp363 int Editline::GetLineIndexForLocation(CursorLocation location, int cursor_row) { in GetLineIndexForLocation()
365 if (location == CursorLocation::EditingPrompt || in GetLineIndexForLocation()
366 location == CursorLocation::BlockEnd || in GetLineIndexForLocation()
367 location == CursorLocation::EditingCursor) { in GetLineIndexForLocation()
371 if (location == CursorLocation::EditingCursor) { in GetLineIndexForLocation()
373 } else if (location == CursorLocation::BlockEnd) { in GetLineIndexForLocation()
384 void Editline::MoveCursor(CursorLocation from, CursorLocation to) { in MoveCursor()
401 if (to == CursorLocation::EditingCursor) { in MoveCursor()
404 } else if (to == CursorLocation::BlockEnd && !m_input_lines.empty()) { in MoveCursor()
507 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in RecallHistory()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h125 enum class CursorLocation { enum
271 int GetLineIndexForLocation(CursorLocation location, int cursor_row);
275 void MoveCursor(CursorLocation from, CursorLocation to);