about summary refs log tree commit diff stats
path: root/source_text.lua
diff options
context:
space:
mode:
Diffstat (limited to 'source_text.lua')
-rw-r--r--source_text.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/source_text.lua b/source_text.lua
index 3e70343..71f4f7b 100644
--- a/source_text.lua
+++ b/source_text.lua
@@ -353,7 +353,7 @@ function Text.compute_fragmentsB(State, line_index, x)
   end
 end
 
-function Text.textinput(State, t)
+function Text.text_input(State, t)
   if App.mouse_down(1) then return end
   if App.ctrl_down() or App.alt_down() or App.cmd_down() then return end
   local before = snapshot(State, State.cursor1.line)
@@ -381,8 +381,8 @@ function Text.insert_at_cursor(State, t)
   end
 end
 
--- Don't handle any keys here that would trigger love.textinput above.
-function Text.keychord_pressed(State, chord)
+-- Don't handle any keys here that would trigger text_input above.
+function Text.keychord_press(State, chord)
 --?   print('chord', chord, State.selection1.line, State.selection1.pos)
   --== shortcuts that mutate text
   if chord == 'return' then