public boolean isBeforeSep(int field) {
			if (field >= fieldStates.size() - 1) {
				return false;
			}
			FieldState fs = fieldStates.get(field);
			return fs.caret == fs.text.length();
		}
Figure out whether the caret in the given field immediately precedes a separator.

<p>
In other words, the caret must be to the far right, and the given field must not be the
last field. If true, the caret immediately precedes separator index {@code field}.

@param field the field index to check
@return true if the caret immediately precedes a separator.
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/TextFieldLinker.java