;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require lsp-mode dash] 2) #@197 Start an `iedit' operation using RANGES. RANGES shall be a list of lsp-`&Range's. They can be acquired from various lsp protocol requests, e.g. `textDocument/documentHighlight', .... (fn RANGES) (defalias 'lsp-iedit--on-ranges #[257 "\304\305!\210\306!?\205J\307\310\"\210\311 \203\312 \210\313\314!\210\315\316!\210\317\320\314\321\311$\210\317\322\314\321\311$\210\317\323\314\321\311$\210\317\324\314\321\311$\210\325\326\327!\330\331!!#\207" [iedit-mode-occurrence-keymap iedit-occurrence-keymap iedit-mode iedit-auto-buffering require iedit seq-empty-p mapc #[257 "\301\302\303\"!\301\302\304\"!\305\"B\211\207" [iedit-occurrences-overlays lsp--position-to-point lsp-get :start :end iedit-make-occurrence-overlay] 6 "\n\n(fn INPUT0)"] t iedit-start-buffering iedit-lib-start iedit-done run-hooks iedit-mode-hook add-hook before-revert-hook nil kbd-macro-termination-hook change-major-mode-hook iedit-aborting-hook message "%d occurrences of \"%s\"" seq-length lsp--range-text lsp-seq-first] 7 (#$ . 155)]) #@214 Start an `iedit' operation on the documentHighlights at point. This can be used as a primitive `lsp-rename' replacement if the language server doesn't support renaming. See also `lsp-enable-symbol-highlighting'. (defalias 'lsp-iedit-highlights #[0 "\301\302\303 \"\304\305\306\307\310!\"!)\207" [-compare-fn lsp-request "textDocument/documentHighlight" lsp--text-document-position-params #[514 "\300\301\"\300\302\"\300\303\"\300\301\"\300\302\"\300\303\"\304\"\205#\304\"\207" [gethash "range" "start" "end" lsp--position-equal] 11 "\n\n(fn INPUT0 INPUT1)"] lsp-iedit--on-ranges mapcar lsp:document-highlight-range -distinct] 6 (#$ . 1190) nil]) #@223 Start an `evil-multiedit' operation on the documentHighlights at point. This can be used as a primitive `lsp-rename' replacement if the language server doesn't support renaming. See also `lsp-enable-symbol-highlighting'. (defalias 'lsp-evil-multiedit-highlights #[0 "\301\302!\210\303\304!\203 \304 \210\305\306 \210\307 \207" [evil-multiedit--dont-recall require evil-multiedit fboundp ahs-clear t lsp-iedit-highlights evil-multiedit-state] 2 (#$ . 1858) nil]) (defconst lsp-iedit-plist-value-when-compiled nil) (provide 'lsp-iedit)