aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-23 08:28:22 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-23 08:28:22 +0100
commite61118a9d79a389ab8aa1ca921abe50381383748 (patch)
tree304bde267baecbd830a1bbd01ccaa26997f2fdc0 /text-objects.h
parent4c14edb208293c89decc8de7e1e19c55a217ff2d (diff)
downloadvis-e61118a9d79a389ab8aa1ca921abe50381383748.tar.gz
vis-e61118a9d79a389ab8aa1ca921abe50381383748.tar.xz
text-object: remove text_object_number
This was only used by the number increment/decrement action. The same functionality (and more) can be implemented in lua using something like: vis:textobject_new("in", function(win, pos) return win.file:match_at(vis.lexers.integer + vis.lexers.float, pos, 64) end, "Number text object")
Diffstat (limited to 'text-objects.h')
-rw-r--r--text-objects.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/text-objects.h b/text-objects.h
index b36515f..9b7e9de 100644
--- a/text-objects.h
+++ b/text-objects.h
@@ -41,8 +41,6 @@ Filerange text_object_single_quote(Text*, size_t pos);
Filerange text_object_backtick(Text*, size_t pos);
/* text object delimited by arbitrary chars for which isboundary returns non-zero */
Filerange text_object_range(Text*, size_t pos, int (*isboundary)(int));
-/* a number in either decimal, hex or octal format */
-Filerange text_object_number(Text*, size_t pos);
Filerange text_object_filename(Text*, size_t pos);
/* match a search term in either forward or backward direction */
Filerange text_object_search_forward(Text*, size_t pos, Regex*);