-
Style a single word in a text layer?
Hi all. I have a text layer that has a blinking cursor (based on this YT tutorial: https://www.youtube.com/watch?v=uitRUjAd_0I). This is fine as far as it goes (I did fix it so it’ll still work on newlines), but I have a text layer that has an italic variant at one point, and the above script makes everything the same font as the initial font in the layer.
The script splits the text apart and gradually rebuilds it: it’s my hope that there’s some magical variant of setStyle that allows you to specify start and stop indexes for where to apply a different style? Or am I just straight out of luck? Thanks!
Of course, if there’s a better way to create a cursor effect in the first place, I’d love to know that, too!!!
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.