• Home
  • Raw
  • Download

Lines Matching refs:CursorLocation

363 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()
509 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in RecallHistory()
526 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingPrompt); in RecallHistory()
536 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in GetCharacter()
541 MoveCursor(CursorLocation::EditingPrompt, CursorLocation::EditingCursor); in GetCharacter()
552 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in GetCharacter()
555 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingCursor); in GetCharacter()
654 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in BreakLineCommand()
659 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingPrompt); in BreakLineCommand()
697 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockEnd); in EndOrAddLineCommand()
725 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in DeleteNextCharCommand()
738 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingCursor); in DeleteNextCharCommand()
771 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingPrompt); in DeletePreviousCharCommand()
784 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in PreviousLineCommand()
881 MoveCursor(CursorLocation::EditingCursor, CursorLocation::EditingPrompt); in FixIndentationCommand()
887 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingPrompt); in FixIndentationCommand()
907 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in BufferStartCommand()
915 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockEnd); in BufferEndCommand()
917 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingPrompt); in BufferEndCommand()
1045 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingCursor); in TabCommand()
1442 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in Cancel()
1531 MoveCursor(CursorLocation::BlockEnd, CursorLocation::BlockStart); in GetLines()
1557 MoveCursor(CursorLocation::EditingCursor, CursorLocation::BlockStart); in PrintAsync()
1564 MoveCursor(CursorLocation::BlockEnd, CursorLocation::EditingCursor); in PrintAsync()