;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307DD\310\311\312\313\314&\210\303\315\305\306\316DD\317\311\320\313\314&\210\303\321\305\306\322DD\323\311\324\313\314&\210\303\325\305\306\326DD\327\311\330\313\314&\207" [require lsp-mode lsp-dart-protocol custom-declare-variable lsp-dart-closing-labels funcall function #[0 "\300\207" [t] 1] "Enable the analysis server closing labels feature.\nWhen set to non-nil, dart/textDocument/publishClosingLabel notifications will\nbe sent with information to render editor closing labels." :type boolean :group lsp-dart lsp-dart-closing-labels-prefix #[0 "\300\207" [#1=""] 1 #1#] "The prefix string to be concatenated with the closing label." string lsp-dart-closing-labels-size #[0 "\300\207" [0.9] 1] "The font size factor to be multiplied by the closing labels font size." float lsp-dart-closing-labels-arrived-hook #[0 "\300\207" [nil] 1] "Hooks to run after a closing labels notification arrive.\nThe hook will receive the notification data as argument." hook] 8) #@51 Closing labels notification handler. (fn INPUT0) (defalias 'lsp-dart--closing-labels-check #[257 "\300\301\"\300\302\"\303\304!!\211\205$r\211q\210\305ed\306\307$\210\310\311\312\"\")\207" [gethash "uri" "labels" find-buffer-visiting lsp--uri-to-path remove-overlays lsp-dart-closing-labels t seq-do make-closure #[257 "\212\303\304!!\211A\262\242\211b\210\305 \306\300#\307\310\311#\210\307\312\313 \314\315\f!Q\316\317\nDC\320\311\321\322&#\266\205)\207" [V0 lsp-dart-closing-labels-prefix lsp-dart-closing-labels-size lsp--range-to-region lsp:closing-label-range line-end-position make-overlay overlay-put lsp-dart-closing-labels t after-string propertize " " lsp:closing-label-label display height cursor font-lock-face font-lock-comment-face] 17 "\n\n(fn LABEL)"]] 9 (#$ . 1113)]) #@125 Non-nil if Lsp-Dart-Closing-Labels mode is enabled. Use the command `lsp-dart-closing-labels-mode' to change this variable. (defvar lsp-dart-closing-labels-mode nil (#$ . 1923)) (make-variable-buffer-local 'lsp-dart-closing-labels-mode) #@659 Mode for displaying flutter closing labels on the end of methods/contructors. This is a minor mode. If called interactively, toggle the `Lsp-Dart-Closing-Labels 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 `lsp-dart-closing-labels-mode'. The mode's hook is called both when the mode is enabled and when it is disabled. (fn &optional ARG) (defalias 'lsp-dart-closing-labels-mode #[256 "\302 \303=\203 ?\202\247\203\304W\203\305\202\306\307\301!\2031\310\300 \"\2031\300 B\203?\311\312\313\305\306$\210\202L\314ed\315\306$\210\316\312\313\306#\210\317\320\203V\321\202W\322\"\210\323\324!\203y\302 \203k\211\302 \232\203y\325\326\203u\327\202v\330\331#\210\210\332 \210\207" [lsp-dart-closing-labels-mode local-minor-modes current-message toggle 1 nil t boundp delq add-hook lsp-dart-closing-labels-arrived-hook lsp-dart--closing-labels-check remove-overlays lsp-dart-closing-labels remove-hook run-hooks lsp-dart-closing-labels-mode-hook lsp-dart-closing-labels-mode-on-hook lsp-dart-closing-labels-mode-off-hook called-interactively-p any message "Lsp-Dart-Closing-Labels mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update] 7 (#$ . 2167) (byte-code "\203\n\301!\202 \302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)]) (defvar lsp-dart-closing-labels-mode-hook nil) (byte-code "\301\302N\204\f\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205#\310\211%\210\314\315!\207" [lsp-dart-closing-labels-mode-map lsp-dart-closing-labels-mode-hook variable-documentation put "Hook run after entering or leaving `lsp-dart-closing-labels-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode lsp-dart-closing-labels-mode boundp provide lsp-dart-closing-labels] 6)