Function: forms--parser-using-text-properties
forms--parser-using-text-properties is a byte-compiled function
defined in forms.el.gz.
Signature
(forms--parser-using-text-properties)
Documentation
Extract field info from forms when using text properties.
Source Code
;; Defined in /usr/src/emacs/lisp/forms.el.gz
(defun forms--parser-using-text-properties ()
"Extract field info from forms when using text properties."
;; Using text properties, we can simply jump to the markers, and
;; extract the information up to the following read-only segment.
(let ((i 0)
here there)
(while (< i (length forms--markers))
(goto-char (setq here (aref forms--markers i)))
(if (get-text-property here 'read-only)
(aset forms--recordv (aref forms--elements i) nil)
(if (setq there
(next-single-property-change here 'read-only))
(aset forms--recordv (aref forms--elements i)
(buffer-substring-no-properties here there))
(aset forms--recordv (aref forms--elements i)
(buffer-substring-no-properties here (point-max)))))
(setq i (1+ i)))))