How can I insert text to a row of my choice ? I have seen the insert(String,int) method, but how does that int translate to a row ? Thanks
How can I insert text to a row of my choice ? I have
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
insert(string,int)will insert the string at the position represented by the integer. That can be on any line (based on the size of the text area). To put text on a specific row, you can use getLineStartOffset to get the position of the beginning of the desired row and then pass that value intoinsert(string,int)