Moves one character back and returns the found character. A newline character is returned if the cursor is placed at the beginning of the text. @return previous character, or newline
()
| 363 | * @return previous character, or newline |
| 364 | */ |
| 365 | private int prev() { |
| 366 | if(pos == 0) return '\n'; |
| 367 | while(--pos > 0 && text[pos] < -64); |
| 368 | return curr(); |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * Moves to the specified position or the end of the line. |