From b5d121dc1ca4edc0cfff888ba411f0837e6e0ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 25 Aug 2014 18:47:00 +0200 Subject: Move motion related stuff into own file --- text-objects.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 text-objects.h (limited to 'text-objects.h') 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 +#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 -- cgit v1.2.3