             return
           }
 
+          if self?.isForwardSearchAutomatically == true {
+            self?.ignoreNextForwardSearch = true
+          }
+
           self?.flow.publish(
             event: PreviewRendererAction.reverseSearch(to: Position(row: lineBegin, column: columnBegin))
           )

    refresh.autoPinEdge(.right, to: .left, of: reverse)
  }

  fileprivate func addReactions() {
    self.webviewMessageHandler.flow.sink
      .throttle(0.5, latest: true, scheduler: self.scheduler)
      .filter { $0 is WebviewMessageHandler.Action }
      .map { $0 as! WebviewMessageHandler.Action }
      .subscribe(onNext: { [weak self] action in

  fileprivate let refreshOnWriteMenuItem = NSMenuItem(title: "Refresh on Write", action: nil, keyEquivalent: "")

  fileprivate let webview: WKWebView

  fileprivate var ignoreNextForwardSearch = false;

  fileprivate var currentUrl: URL?
  fileprivate var currentPreviewPosition = Position(row: 0, column: 0)
