diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-02-24 19:05:10 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-02-27 18:56:28 +0100 |
| commit | 234e1b1579e92f66e75720a04e1179288831f231 (patch) | |
| tree | 567992737c3d3d9e9c5be4469e8afd2d94318409 /text-motions.h | |
| parent | e655f312a15fedca7beb1e7bbe57a1a3bf9933e1 (diff) | |
| download | vis-234e1b1579e92f66e75720a04e1179288831f231.tar.gz vis-234e1b1579e92f66e75720a04e1179288831f231.tar.xz | |
text-motion: implement text_line_blank_{prev,next}
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/text-motions.h b/text-motions.h index e5f76bd..a51fd08 100644 --- a/text-motions.h +++ b/text-motions.h @@ -55,6 +55,9 @@ size_t text_line_char_prev(Text*, size_t pos); /* move to the next/previous empty line */ size_t text_line_empty_next(Text*, size_t pos); size_t text_line_empty_prev(Text*, size_t pos); +/* move to start of next/previous blank line */ +size_t text_line_blank_next(Text*, size_t pos); +size_t text_line_blank_prev(Text*, size_t pos); /* move to same offset in previous/next line */ size_t text_line_up(Text*, size_t pos); size_t text_line_down(Text*, size_t pos); |
