I’m curious if there is a way to get the highest line number being displayed in a textarea.
Lets say for example you have a textarea that is set to 30 rows, yet there is 40 rows (lines) of text in it and you’re viewing the 40th line of text. This means lines 1-10 wouldn’t be visible and the scroll bar would appear. Following me?
Is there a way to know that the 40th line of text is currently visible in the textarea? Strange question I know!