diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-05 12:41:31 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-12-16 11:28:44 -0700 |
| commit | bafcf13695f80dac6d9be87b65ad6156ddc3d621 (patch) | |
| tree | 95c9c70928fe7b90cbf1fa66013e41d3a90c3fce /text-motions.h | |
| parent | 1d1d19ed30309b39fc5e43c830cabb4cdd004d07 (diff) | |
| download | vis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.gz vis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.xz | |
delete functions which were exposed as unused
Diffstat (limited to 'text-motions.h')
| -rw-r--r-- | text-motions.h | 8 |
1 files changed, 0 insertions, 8 deletions
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. |
