2023-11-15 14:06:56 +00:00
|
|
|
on.text_input = function(t)
|
2024-01-01 00:21:21 +00:00
|
|
|
if Show_code then
|
|
|
|
if Show_file_dialog then
|
|
|
|
text_input_on_file_dialog(t)
|
|
|
|
elseif Current_pane.editor_state.cursor_x then
|
2023-11-22 03:17:49 +00:00
|
|
|
edit.text_input(Current_pane.editor_state, t)
|
|
|
|
end
|
|
|
|
else
|
2023-11-22 05:10:38 +00:00
|
|
|
if car.text_input then
|
|
|
|
call_protected(car.text_input, t)
|
|
|
|
end
|
|
|
|
if car.textinput then
|
|
|
|
call_protected(car.textinput, t)
|
|
|
|
end
|
2023-11-20 18:26:14 +00:00
|
|
|
end
|
2023-11-15 14:06:56 +00:00
|
|
|
end
|