/* Scroll cursor to end of the current line. */
EFI_STATUS FileBufferEnd(VOID)
/* Scroll cursor to end of the current line. */
EFI_STATUS FileBufferEnd(VOID)
{
  EFI_EDITOR_LINE  *Line;
  UINTN            FRow;
  UINTN            FCol;
  Line = FileBuffer.CurrentLine;
  FRow = FileBuffer.FilePosition.Row;
  FCol = Line->Size + 1;
  FileBufferMovePosition (FRow, FCol);
  return EFI_SUCCESS;
}