Question by
gagarinroyvictor · May 23 at 01:51 PM ·
uiscrollingtext editor
match line count text with input field
hello, i wanted to make a simple text editor inside unity. i made a TMP_inputfield that has a TMP_Text on left side to represents the line count, i got the line count working by getting the inputfield's linecount. Now the problem is whenever i scroll through my code, the line count didn't match the inputfield. how can make it work by matching the inputfield with the linecount whenever i navigate through my code?
i tried giving both inputfield and linecount text with scrollbars but it doesn't seem to work. any help would be appreciated. thank you very much :)
Comment