Hey, really thank you Andrei! It’s a way simple, and i thing i can understand yours hehe the main problem is that select only one word and the same problem as the Fabrice: it select all the words if alone! I think it’s simple to change for you guys who understand that. Also, i would like to increment it, if it’s possible. Using the old and ugly code of mine (sorry bout it), and following a pal in facebook group (that i think you’re in too), trying to avoid errors in writing the selected word or sentence to highlight, maybe surround the word or sentence with a special character, like in the image could help. It works better, i think and avoid re-write the thing and errors.
Following the image, there are 2 layers: one with the original text and the second as a “container” that will show us the final result.
The first break the text in 3 parts, wich the second one is inside the special character (in this case, “//”).
Now, it works with one single word and a full sentence, but not with a multiline sentence and it give an error (i didn’t tested in premiere pro yet). It must have a better way to make this work. Also, if could make the sourceText.split code better, it would be awesome too!!