Esempio n. 1
0
 public int getCaretPosition() {
   Caret c = textView.getCaret();
   return c.getDot();
 }