Function: semantic-edits-change-in-one-tag-p
semantic-edits-change-in-one-tag-p is a byte-compiled function defined
in edit.el.gz.
Signature
(semantic-edits-change-in-one-tag-p CHANGE HITS)
Documentation
Return non-nil if the overlay CHANGE exists solely in one leaf tag.
HITS is the list of tags that CHANGE is in. It can have more than one tag in it if the leaf tag is within a parent tag.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/edit.el.gz
(defun semantic-edits-change-in-one-tag-p (change hits)
"Return non-nil if the overlay CHANGE exists solely in one leaf tag.
HITS is the list of tags that CHANGE is in. It can have more than
one tag in it if the leaf tag is within a parent tag."
(and (< (semantic-tag-start (car hits))
(overlay-start change))
(> (semantic-tag-end (car hits))
(overlay-end change))
;; Recurse on the rest. If this change is inside all
;; of these tags, then they are all leaves or parents
;; of the smallest tag.
(or (not (cdr hits))
(semantic-edits-change-in-one-tag-p change (cdr hits))))
)