diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-08-25 18:47:00 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-08-25 18:47:00 +0200 |
| commit | b5d121dc1ca4edc0cfff888ba411f0837e6e0ebc (patch) | |
| tree | 35a3aef6d494c93674922f6b5500e0d273cb0848 /text-objects.h | |
| parent | bc0f09dce9fb9420ea1d5c10ebfacf50916b10af (diff) | |
| download | vis-b5d121dc1ca4edc0cfff888ba411f0837e6e0ebc.tar.gz vis-b5d121dc1ca4edc0cfff888ba411f0837e6e0ebc.tar.xz | |
Move motion related stuff into own file
Diffstat (limited to 'text-objects.h')
| -rw-r--r-- | text-objects.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/text-objects.h b/text-objects.h new file mode 100644 index 0000000..62d30e5 --- /dev/null +++ b/text-objects.h @@ -0,0 +1,13 @@ +#ifndef TEXT_OBJECTS_H +#define TEXT_OBJECTS_H + +#include <stddef.h> +#include "text.h" + +Filerange text_object_word(Text*, size_t pos); +Filerange text_object_word_boundry(Text*, size_t pos, int (*isboundry)(int)); +Filerange text_object_char(Text*, size_t pos, char c); +Filerange text_object_sentence(Text*, size_t pos); +Filerange text_object_paragraph(Text*, size_t pos); + +#endif |
