*** The new functions next-char-property-change and
previous-char-property-change scan through the buffer looking for a place where either a text property or an overlay might change. The functions take two arguments, POSITION and LIMIT. POSITION is the starting position for the scan. LIMIT says where to stop the scan.

If no property change is found before LIMIT, the value is LIMIT. If LIMIT is nil, scan goes to the beginning or end of the accessible part of the buffer. If no property change is found, the value is the position of the beginning or end of the buffer.