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.cpp379 int Editline::GetLineIndexForLocation(CursorLocation location, int cursor_row) { in GetLineIndexForLocation()
381 if (location == CursorLocation::EditingPrompt || in GetLineIndexForLocation()
382 location == CursorLocation::BlockEnd || in GetLineIndexForLocation()
383 location == CursorLocation::EditingCursor) { in GetLineIndexForLocation()
387 if (location == CursorLocation::EditingCursor) { in GetLineIndexForLocation()
389 } else if (location == CursorLocation::BlockEnd) { in GetLineIndexForLocation()
400 void Editline::MoveCursor(CursorLocation from, CursorLocation to) { in MoveCursor()
419 if (to == CursorLocation::EditingCursor) { in MoveCursor()
422 } else if (to == CursorLocation::BlockEnd && !m_input_lines.empty()) { in MoveCursor()
529 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in RecallHistory()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h125 enum class CursorLocation { enum
299 int GetLineIndexForLocation(CursorLocation location, int cursor_row);
303 void MoveCursor(CursorLocation from, CursorLocation to);