I have an index(int) and an offset(int) related to body element, and I want to highlight those characters.
I don't know how to do this.
I've tried windows.getSelection()
, but it is so complex
I have an index(int) and an offset(int) related to body element, and I want to highlight those characters.
I don't know how to do this.
I've tried windows.getSelection()
, but it is so complex