-
Setting different styles for specific parts of a text layer using expressions
Hello everyone!
I have this project where I have to create a template where they want to have a single text layer where they can write the sentence they want, including the string “//” everytime they want to drop the line.
That’s because this layer is only going to be a guide, the actual layers will be other that are already animated , one per line. So I’ll feed the SourceText of those with the Guide text using split(“//”). This part is already solved, now the hard part.
They want to also have a way to determine what part of the text is with another style of the font, like in the image I’m attaching. I can do that in two ways: either extracting the styles from the source text where they write, or setting a new style for a selected part of the text. But I’m not finding a way to do any of this things. Do you think there’s some better way to approach it? And if not, any hint about how to actually do it??
Thank you so much in advance!!