Function: xwidget-webkit-isearch-mode

xwidget-webkit-isearch-mode is an interactive and byte-compiled function defined in xwidget.el.gz.

Signature

(xwidget-webkit-isearch-mode &optional ARG)

Documentation

Minor mode for performing incremental search inside WebKit buffers.

This resembles the regular incremental search, but it does not support recursive edits.

If this mode is activated with \<xwidget-webkit-isearch-mode-map>M-x xwidget-webkit-isearch-backward (xwidget-webkit-isearch-backward), then the search will by default start in the reverse direction.

To navigate around the search results, type C-s (xwidget-webkit-isearch-forward) to move forward, and C-r (xwidget-webkit-isearch-backward) to move backward.

To insert the string at the front of the kill ring into the search query, type C-y (xwidget-webkit-isearch-yank-kill).

Press C-z (xwidget-webkit-isearch-exit) to exit incremental search.

This is a minor mode. If called interactively, toggle the Xwidget-Webkit-Isearch mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate the variable xwidget-webkit-isearch-mode(var)/xwidget-webkit-isearch-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

View in manual

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(define-minor-mode xwidget-webkit-isearch-mode
  "Minor mode for performing incremental search inside WebKit buffers.

This resembles the regular incremental search, but it does not
support recursive edits.

If this mode is activated with `\\<xwidget-webkit-isearch-mode-map>\\[xwidget-webkit-isearch-backward]', then the search will by default
start in the reverse direction.

To navigate around the search results, type
\\<xwidget-webkit-isearch-mode-map>\\[xwidget-webkit-isearch-forward] to move forward, and
\\<xwidget-webkit-isearch-mode-map>\\[xwidget-webkit-isearch-backward] to move backward.

To insert the string at the front of the kill ring into the
search query, type \\<xwidget-webkit-isearch-mode-map>\\[xwidget-webkit-isearch-yank-kill].

Press \\<xwidget-webkit-isearch-mode-map>\\[xwidget-webkit-isearch-exit] to exit incremental search."
  :keymap xwidget-webkit-isearch-mode-map
  (if xwidget-webkit-isearch-mode
      (progn
        (setq xwidget-webkit-isearch--string "")
        (setq xwidget-webkit-isearch--is-reverse (eq last-command-event ?\C-r))
        (xwidget-webkit-isearch--update))
    (xwidget-webkit-finish-search (xwidget-webkit-current-session))))