src/Generic/theories/Metadata.cpp
// ==================================================================
// Get the smallest span at a given offset:
// ==================================================================

Get the smallest span at a given offset.
Get the smallest span at a given offset .
Span * Metadata::getStartingSpan(EDTOffset start_offset) const
{
	KeepAllFilter filter;
	SpanList *list = getStartingSpans(start_offset, &filter);
	Span *result = getSmallestSpan(list);
	delete list;
	return result;
}
Span * Metadata :: getStartingSpan ( EDTOffset start_offset ) const { KeepAllFilter filter ; SpanList * list = getStartingSpans ( start_offset , & filter ) ; Span * result = getSmallestSpan ( list ) ; delete list ; return result ; }
Get the smallest span at a given offset:
Get the smallest span at a given offset :