ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / document.annotation / Span / <init>

<init>

Span(begin: Int, end: Int, text: String? = null)

A span is a single piece of a string, expressed by begin and end.

When reading annotations, you can either extract the referenced substring by using the begin and end values, or use the copy of the substring text directly.