Function: semantic-changes-in-region
semantic-changes-in-region is a byte-compiled function defined in
edit.el.gz.
Signature
(semantic-changes-in-region START END &optional BUFFER)
Documentation
Find change overlays which exist in whole or in part between START and END.
Optional argument BUFFER is the buffer to search for changes in.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/edit.el.gz
(defun semantic-changes-in-region (start end &optional buffer)
"Find change overlays which exist in whole or in part between START and END.
Optional argument BUFFER is the buffer to search for changes in."
(save-excursion
(if buffer (set-buffer buffer))
(let ((ol (overlays-in (max start (point-min))
(min end (point-max))))
(ret nil))
(while ol
(when (overlay-get (car ol) 'semantic-change)
(setq ret (cons (car ol) ret)))
(setq ol (cdr ol)))
(sort ret (lambda (a b) (< (overlay-start a)
(overlay-start b)))))))