Function: combobulate-query-builder-fontify-query

combobulate-query-builder-fontify-query is a natively compiled function defined in combobulate-query.el.

Signature

(combobulate-query-builder-fontify-query QUERY-STRING PARSER)

Documentation

Fontify QUERY-STRING using Combobulate's query font locking rules.

Argument PARSER sets the buffer to the parser instance to use for fontifying.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-query.el
(defun combobulate-query-builder-fontify-query (query-string parser)
  "Fontify QUERY-STRING using Combobulate's query font locking rules.
Argument PARSER sets the buffer to the parser instance to use for fontifying."
  (with-temp-buffer
    (let ((combobulate-query-builder-parser parser)) (insert query-string)
         (combobulate-query-mode)
         (font-lock-default-function 1)
         (font-lock-default-fontify-region (point-min) (point-max) nil)
         (buffer-string))))