Can you use percent_visible property for TextEdit anyhow?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By spoicat

I am making a simple code editor with some animations and I thought it would be best to use TextEdit node for that because it has built in features like Showing Line number, highlighting etc. But TextEdit doesn’t seem to have any percent_visible property for the animation I was planning to do.

:bust_in_silhouette: Reply From: MrEliptik

This property is not available for TextEdit but if you’re goal is to animate the text, you could do it yourself. You put your text into a string and you set the TextEdit text with a subset of you string. This is your way of recreating percentage visible.

That’s a good idea. Thanks pal!

spoicat | 2021-06-04 10:50