Finding the screen position of a textlabel letter with TextWrapped

I have utilized this module for a custom syntax highlighting module
(How to find screen position of textlabel letter - #5 by kercig):

However there is a problem, it doesnt support TextWrapped, and i need it to in order for me to have the flexibility that I need, I cant quite wrap my head with how to tune it so if anyone could help id be glad.

maybe this could help
BasePlayerGui | Documentation - Roblox Creator Hub