From bafcf13695f80dac6d9be87b65ad6156ddc3d621 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Fri, 5 Dec 2025 12:41:31 -0700 Subject: delete functions which were exposed as unused --- text-motions.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'text-motions.h') diff --git a/text-motions.h b/text-motions.h index 4bfc6c2..95e554d 100644 --- a/text-motions.h +++ b/text-motions.h @@ -9,9 +9,6 @@ #include "text.h" #include "text-regex.h" -VIS_INTERNAL size_t text_begin(Text*, size_t pos); -VIS_INTERNAL size_t text_end(Text*, size_t pos); - /* char refers to a grapheme (might skip over multiple Unicode codepoints) */ VIS_INTERNAL size_t text_char_next(Text*, size_t pos); VIS_INTERNAL size_t text_char_prev(Text*, size_t pos); @@ -52,9 +49,6 @@ VIS_INTERNAL size_t text_line_width_set(Text*, size_t pos, int width); /* move to the next/previous grapheme on the same line */ VIS_INTERNAL size_t text_line_char_next(Text*, size_t pos); VIS_INTERNAL size_t text_line_char_prev(Text*, size_t pos); -/* move to the next/previous empty line */ -VIS_INTERNAL size_t text_line_empty_next(Text*, size_t pos); -VIS_INTERNAL size_t text_line_empty_prev(Text*, size_t pos); /* move to start of next/previous blank line */ VIS_INTERNAL size_t text_line_blank_next(Text*, size_t pos); VIS_INTERNAL size_t text_line_blank_prev(Text*, size_t pos); @@ -63,9 +57,7 @@ VIS_INTERNAL size_t text_line_up(Text*, size_t pos); VIS_INTERNAL size_t text_line_down(Text*, size_t pos); /* functions to iterate over all line beginnings in a given range */ VIS_INTERNAL size_t text_range_line_first(Text*, Filerange*); -VIS_INTERNAL size_t text_range_line_last(Text*, Filerange*); VIS_INTERNAL size_t text_range_line_next(Text*, Filerange*, size_t pos); -VIS_INTERNAL size_t text_range_line_prev(Text*, Filerange*, size_t pos); /* * A longword consists of a sequence of non-blank characters, separated with * white space. TODO?: An empty line is also considered to be a word. -- cgit v1.2.3