@Nullable
  public FindResult firstOccurrenceBeforeCaret() {
    int offset = getEditor().getCaretModel().getOffset();
    return firstOccurrenceBeforeOffset(offset);
  }
@Nullable
  public FindResult firstOccurrenceBeforeCaret()