public void positionCursor(int offset) {
		if (offset < 0) {
			offset = 0;
		}
		cursorHandler.scrollToCursor();
		int newOffset = getCursorOffset();
		int scrollAmount = newOffset - offset;
		if (layouts.size() == 0) {
			return;
		}
		scrollView(scrollAmount);
	}
Scrolls the view so that the cursor is at the given offset from the top of the screen

@param offset the pixel distance from the top of the screen at which to scroll the display
           such that the cursor is at that offset.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java