()
| 144 | setText(src + sb.toString()); |
| 145 | } |
| 146 | public int getCaretPos() { |
| 147 | int pos = textbox.getCaretPosition(); |
| 148 | if (pos < 0) |
| 149 | pos = textbox.getString().length(); |
| 150 | return pos; |
| 151 | } |
| 152 | public final void setText(String body) { |
| 153 | if (body != null) { |
| 154 | if (body.length() > maxSize) |
no test coverage detected