Keywords: xcoral

Next: goto_line Up: Change position Previous: goto_next_line

### goto_previous_line

`void goto_previous_line();`

Changes the current position to go to the same column of the previous line when possible. If the current line is the first, goes to the beginning of file. If the current position is the beginning of file position, does nothing. If the length of the previous line is shorter than the length of the current line, goes to the end of the previous line.