Mercurial Hosting > editor
comparison src/luan_editor/menu.luan @ 55:77ee3a37475a
paste files
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 27 May 2025 22:31:32 -0600 |
| parents | ca5ae0a36db7 |
| children | 6059b4e22d47 |
comparison
equal
deleted
inserted
replaced
| 54:dcd7d082196f | 55:77ee3a37475a |
|---|---|
| 95 new_menu_item{ | 95 new_menu_item{ |
| 96 text = "Print" | 96 text = "Print" |
| 97 action_listener = action_listener(text_area.print) | 97 action_listener = action_listener(text_area.print) |
| 98 } | 98 } |
| 99 revert | 99 revert |
| 100 new_menu_item{ | |
| 101 text = "Paste File(s)" | |
| 102 action_listener = function(_) | |
| 103 if not window.paste_files() then | |
| 104 show_message_dialog(nil,"No files to paste") | |
| 105 end | |
| 106 end | |
| 107 } | |
| 100 --[[ | 108 --[[ |
| 101 new_menu_item{ | 109 new_menu_item{ |
| 102 text = "Test" | 110 text = "Test" |
| 103 action_listener = function(_) | 111 action_listener = function(_) |
| 104 local location = window.frame.location | 112 local location = window.frame.location |
