Highlight a word without selection #2214
Answered
by
Priestch
balbinott
asked this question in
Questions & Help
-
Hi, I'm trying to highlight a word without preselection, but I don't want to select it via code, set highlighting, deselect... is there any way to do this using only range or something like that ? |
Beta Was this translation helpful? Give feedback.
Answered by
Priestch
Dec 1, 2021
Replies: 1 comment
-
@balbinott The selection just give you a certain range for highlight, so if you already know the range, you can use transaction to a create decorations. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
balbinott
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@balbinott The selection just give you a certain range for highlight, so if you already know the range, you can use transaction to a create decorations.