private int lookupText(String text) {
		if (text == null) {
			return -1;
		}

		int row = getCurrentRow();
		if (row >= 0 && row < getRowCount() - 1) {
			if (text.length() == 1) {
				// fresh search; ignore the current row, could be from a previous match
				++row;
			}

			int col = lookupColumn;
			if (textMatches(text, row, col)) {
				return row;
			}
		}

		if (canBinarySearchColumn(lookupColumn)) {
			return autoLookupBinary(text);
		}
		return autoLookupLinear(text);
	}
Clients call this method when the user types keys

@param e the key event
Ghidra/Framework/Docking/src/main/java/docking/widgets/AutoLookup.java