comparison src/luan_editor/menu.luan @ 92:aefa7f8bb407

better open files
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 09 Jul 2025 22:59:59 -0600
parents c3b0fba5c2bc
children 9bb0c8f5bfb9
comparison
equal deleted inserted replaced
91:ff999e959b74 92:aefa7f8bb407
38 } 38 }
39 local view_file_path = new_menu_item{ 39 local view_file_path = new_menu_item{
40 text = "File Path" 40 text = "File Path"
41 enabled = window.has_file 41 enabled = window.has_file
42 action_listener = function(_) 42 action_listener = function(_)
43 status_bar.text = window.title() 43 status_bar.text = window.title
44 end 44 end
45 } 45 }
46 local undo = new_menu_item{ 46 local undo = new_menu_item{
47 text = "Undo" 47 text = "Undo"
48 accelerator = "Z" 48 accelerator = "Z"