Function: combobulate-cursor-edit-node-by-text-dwim

combobulate-cursor-edit-node-by-text-dwim is an interactive and natively compiled function defined in combobulate-cursor.el.

Signature

(combobulate-cursor-edit-node-by-text-dwim ARG)

Documentation

Edit nodes with the same text by node locus.

This looks for nodes of of any type found in combobulate-navigable-nodes that have the same text as the node at point.

Key Bindings

combobulate-cursor-edit-key-map x combobulate-key-map C-c o t x combobulate-options-key-map t x

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-cursor.el
(defun combobulate-cursor-edit-node-by-text-dwim (arg)
  "Edit nodes with the same text by node locus.

This looks for nodes of of any type found in
`combobulate-navigable-nodes' that have the same text as
the node at point."
  (interactive "P")
  (if-let ((node (combobulate-node-at-point nil t)))
      (combobulate-cursor-edit-identical-nodes
       node (combobulate-cursor-edit-node-determine-action arg)
       (lambda (tree-node) (equal (combobulate-node-text tree-node)
                             (combobulate-node-text node))))
    (error "Cannot find any editable nodes here")))