private Function getContainingFunction(ProgramLocation cursorLocation) {
		if (cursorLocation == null) {
			return null;
		}
		Address address = cursorLocation.getAddress();
		if (address == null) {
			return null;
		}
		return blockModel.getProgram().getFunctionManager().getFunctionContaining(address);
	}
Set the maximum number of code lines which will be used per block when
showCode is enabled.
@param maxLines maximum number of code lines
Ghidra/Features/ProgramGraph/src/main/java/ghidra/graph/program/BlockGraphTask.java