diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-19 08:17:34 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-19 08:17:34 -0700 |
commit | 76dbb4bd1eee8c650ccc5bd94f95666045032285 (patch) | |
tree | ce4b877ccac896fe6f99136c84a04a41080fe8a4 | |
parent | 6a5864e38224dda35fac0dcffd302d199bc4409b (diff) | |
download | lines.love-76dbb4bd1eee8c650ccc5bd94f95666045032285.tar.gz |
drop unused arg
-rw-r--r-- | text.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua index a2cfecb..1b78251 100644 --- a/text.lua +++ b/text.lua @@ -200,7 +200,7 @@ function Text.in_line(line, x,y) return x >= 16 and y >= line.y and y < line.y+15*Zoom end -function Text.move_cursor(line_index, line, x, hint) +function Text.move_cursor(line_index, line, x) Cursor_line = line_index Cursor_pos = Text.nearest_cursor_pos(line.data, x) end |