private static int getLineWidth(String text) {
		// value may be mutiple lines
		return text.lines()
				.map(String::stripLeading)
				.mapToInt(String::length)
				.max()
				.getAsInt();
	}
Computes the max line width for the provided multi-line text

@param text the text
@return the max line width
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/RstTableBuilder.java