protected void goTo(BigInteger index, int fieldNum, int row, int col,
			boolean alwaysCenterCursor, EventTrigger trigger) {

		if (!cursorHandler.doSetCursorPosition(index, fieldNum, row, col, trigger)) {
			return;
		}

		int beforeOffset = getCursorOffset();
		cursorHandler.scrollToCursor();
		int afterOffset = getCursorOffset();

		if (alwaysCenterCursor || beforeOffset != afterOffset) {
			scrollView(afterOffset - getHeight() / 2);
		}
		repaint();
	}
Sets the cursor to the given Field location and attempts to show that location in the center
of the screen.

@param index the index of the line to go to.
@param fieldNum the field on the line to go to.
@param row the row in the field to go to.
@param col the column in the field to go to.
@param alwaysCenterCursor if true, centers cursor on screen. Otherwise, only centers cursor
           if cursor is offscreen.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java