Function: semantic-symref-find-text
semantic-symref-find-text is an autoloaded, interactive and
byte-compiled function defined in symref.el.gz.
Signature
(semantic-symref-find-text TEXT &optional SCOPE)
Documentation
Find a list of occurrences of TEXT in the current project.
TEXT is a regexp formatted for use with grep -E.
Optional SCOPE specifies which file set to search. Defaults to project.
Refers to semantic-symref-tool, to determine the reference tool to use
for the current buffer.
Returns an object of class semantic-symref-result(var)/semantic-symref-result(fun).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref.el.gz
;;;###autoload
(defun semantic-symref-find-text (text &optional scope)
"Find a list of occurrences of TEXT in the current project.
TEXT is a regexp formatted for use with grep -E.
Optional SCOPE specifies which file set to search. Defaults to `project'.
Refers to `semantic-symref-tool', to determine the reference tool to use
for the current buffer.
Returns an object of class `semantic-symref-result'."
(interactive "sGrep -E style Regexp: ")
(let* ((inst (semantic-symref-instantiate
:searchfor text
:searchtype 'regexp
:searchscope (or scope 'project)
:resulttype 'line))
(result (semantic-symref-get-result inst)))
(prog1
(setq semantic-symref-last-result result)
(when (called-interactively-p 'interactive)
(semantic-symref-data-debug-last-result))))
)