I did this too and I count the number of lines...
I wrote the attached subvi for this purpose.
The first output goes to the string indicator, the
second to a property node "Text.ScrollPos".
Best regards
Gerd
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019