M edit.lua => edit.lua +0 -1
@@ 230,7 230,6 @@ function edit.quit(State)
end
function edit.mouse_press(State, x,y, mouse_button)
- love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
if State.search_term then return end
State.mouse_down = mouse_button
--? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos))
M main.lua => main.lua +0 -1
@@ 116,7 116,6 @@ function check_love_version_for_tests()
end
function App.initialize(arg)
- love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
love.keyboard.setKeyRepeat(true)
love.graphics.setBackgroundColor(1,1,1)
M run.lua => run.lua +1 -0
@@ 142,6 142,7 @@ end
function run.mouse_press(x,y, mouse_button)
Cursor_time = 0 -- ensure cursor is visible immediately after it moves
+ love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
return edit.mouse_press(Editor_state, x,y, mouse_button)
end
M source.lua => source.lua +1 -0
@@ 285,6 285,7 @@ end
function source.mouse_press(x,y, mouse_button)
Cursor_time = 0 -- ensure cursor is visible immediately after it moves
+ love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
--? print('mouse click', x, y)
--? print(Editor_state.left, Editor_state.right)
--? print(Log_browser_state.left, Log_browser_state.right)
M source_edit.lua => source_edit.lua +0 -1
@@ 234,7 234,6 @@ function edit.quit(State)
end
function edit.mouse_press(State, x,y, mouse_button)
- love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
if State.search_term then return end
State.mouse_down = mouse_button
--? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos))