Re: [CEDET-devel] Inline completion
Brought to you by:
zappo
From: David P. <dav...@wa...> - 2004-02-03 12:14:16
|
Here is a better version of the "deep" version of `semantic-analyze-find-tags-by-prefix' ;-) (defun semantic-analyze-find-tags-by-prefix (prefix) "Attempt to find a tag with PREFIX. This is a wrapper on top of semanticdb, and semantic search functions. Almost all searches use the same arguments." (if (and (fboundp 'semanticdb-minor-mode-p) (semanticdb-minor-mode-p)) ;; Search the database ;; Concatenate all matches together. (apply 'append (mapcar 'cdr (semanticdb-deep-find-tags-for-completion prefix nil t))) ;; Search just this file because there is no DB available. (semantic-deep-find-tags-for-completion prefix (current-buffer)))) David |