diff options
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 |
