diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-10-01 15:25:11 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-10-01 15:25:21 -0700 |
| commit | 1a3137a210f7886677c6672c26081152318252a3 (patch) | |
| tree | f5ab5f3dc300b191a0a6f1452c387423e4be0d26 /containers.lua | |
| parent | 0c982d2aa285e6c095470667c1d0c21999ddad58 (diff) | |
Fixed some misnamed functions.
Diffstat (limited to 'containers.lua')
| -rw-r--r-- | containers.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/containers.lua b/containers.lua index b51b133..ab8647e 100644 --- a/containers.lua +++ b/containers.lua @@ -399,7 +399,7 @@ do return List(lines(self)) end, line_1 = line, - wrap_to_1 = function(self, maxlen) + wrapped_to_1 = function(self, maxlen) local _lines = { } local _list_0 = self:lines() for _index_0 = 1, #_list_0 do @@ -418,10 +418,10 @@ do line_at_1 = function(self, i) return (line_at(self, i)) end, - line_number_of_1 = function(self, i) + line_number_at_1 = function(self, i) return select(2, line_at(self, i)) end, - line_position_of_1 = function(self, i) + line_position_at_1 = function(self, i) return select(3, line_at(self, i)) end, matches_1 = function(self, patt) |
