/* Advance/Retreat lines and set CurrentLine in FileBuffer to it */
EFI_EDITOR_LINE* MoveCurrentLine(IN INTN Count)
/* Advance/Retreat lines and set CurrentLine in FileBuffer to it */
EFI_EDITOR_LINE* MoveCurrentLine(IN INTN Count)
{
  EFI_EDITOR_LINE  *Line;
  UINTN            AbsCount;
  if (Count <= 0) {
    AbsCount = (UINTN)ABS (Count);
    Line     = InternalEditorMiscLineRetreat (AbsCount, MainEditor.FileBuffer->CurrentLine, MainEditor.FileBuffer->ListHead);
  } else {
    Line = InternalEditorMiscLineAdvance ((UINTN)Count, MainEditor.FileBuffer->CurrentLine, MainEditor.FileBuffer->ListHead);
  }
  if (Line == NULL) {
    return NULL;
  }
  MainEditor.FileBuffer->CurrentLine = Line;
  return Line;
}