@Override
	public void moveTo(int paragraphIndex, int columnIndex, SelectionPolicy selectionPolicy) {
		if (paragraphIndex >= 0 && paragraphIndex < getParagraphs().size())
			super.moveTo(paragraphIndex, columnIndex, selectionPolicy);
	}
Code area with additional parameter checks for some common edge cases.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/ui/control/richtext/SafeCodeArea.java