// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package com.intellij.find.impl;

import com.intellij.find.FindResult;

public final class FindResultImpl extends FindResult {
  private final boolean isStringFound;

  public FindResultImpl(int startOffset, int endOffset) {
    super(startOffset, endOffset);
    isStringFound = true;
  }

  public FindResultImpl() {
    super(0, 0);
    isStringFound = false;
  }

  @Override
  public boolean isStringFound() {
    return isStringFound;
  }
}



