-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
To mimic the extension behaviour of Rabbid (s. screenshot), Krill needs to enumerate snippets, so it is possible to retrieve the next or the previous snippet of a matching snippet via the API. This is no problem with the current default settings of Kalamar (where snippets are retrieved as token ranges), but when supporting snippets in sentence or paragraph boundaries, snippet elements need to be enumerated separately. This is possible by adding attributes to the sentence and paragraph spans in base. However - this has the requirement that snippet elements do not allow gaps.