Highlight some words in generated text with defined location

any components could achieve this?

i am creating a text viewer which loads a text body from a datastore. my web client will retrieve a text body and a set of required highlighting locations of the text body.

the UI should allow the user to select a set from a combo box and submit a request to the server for the updated highlighting locations, and update the view.

There is no ready to use component for such task
Technically, the task which you describe doesn’t require any special component. It can be implemented with plain HTML and little bit of scripting