I would like to know if it's possible to edit specific rows from inside a textarea in a java swing application. So if I had a text area that held the following content:
And I had a command like this:
Then I would want a result like this:
I would like to know when there is a break after each line, if there is a break, it should increment an int. i.e.