substance-legacy icon indicating copy to clipboard operation
substance-legacy copied to clipboard

Think about a highlight api for surface (implemented by text-property)

Open michael opened this issue 9 years ago • 2 comments

We would need such a system when we do a workflow. E.g. when tagging an entity we want to visually preserve the selection while typing into a different search field.

michael avatar Apr 10 '15 09:04 michael

Do we have this now? We are have done this getAnnotations/highlights refactor, which lets the app provide highlights.

obuchtala avatar Apr 22 '15 08:04 obuchtala

not directly... what we have is highlighting the text fragments of a multi-annotation, which must exist as a node in the doc. however what would be also nice to have is a way to programmatically highlight some text, e.g. in our tag entity workflow where we use the current selection. Not high priority but we should talk about this some time.

michael avatar Apr 22 '15 08:04 michael