Mercurial Hosting > editor
comparison editor.luan @ 32:15dacd8f5bfc
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 13 Apr 2025 23:29:26 -0600 |
parents | 415b7754ac55 |
children | e19ac0784287 |
comparison
equal
deleted
inserted
replaced
31:415b7754ac55 | 32:15dacd8f5bfc |
---|---|
143 new_menu_item{ | 143 new_menu_item{ |
144 text = "Select All" | 144 text = "Select All" |
145 accelerator = "meta A" | 145 accelerator = "meta A" |
146 action_listener = action_listener(window.text_area.select_all) | 146 action_listener = action_listener(window.text_area.select_all) |
147 } | 147 } |
148 separator | 148 } |
149 } | |
150 new_menu{ | |
151 text = "Find" | |
152 menu_items = { | |
149 new_check_box_menu_item{ | 153 new_check_box_menu_item{ |
150 text = "Find and Replace" | 154 text = "Find and Replace" |
151 accelerator = "meta F" | 155 accelerator = "meta F" |
152 action_listener = function(event) | 156 action_listener = function(event) |
153 window.show_find_panel(event.source.state) | 157 window.show_find_panel(event.source.state) |
154 end | 158 end |
159 } | |
160 new_menu_item{ | |
161 text = "Find Case Insensitive" | |
162 } | |
163 new_menu_item{ | |
164 text = "Convert Leading Tabs to Spaces" | |
165 } | |
166 new_menu_item{ | |
167 text = "Convert Leading Spaces to Tabs" | |
155 } | 168 } |
156 } | 169 } |
157 } | 170 } |
158 new_menu{ | 171 new_menu{ |
159 text = "View" | 172 text = "View" |
312 children = { | 325 children = { |
313 new_check_box{ | 326 new_check_box{ |
314 text = "Use Regex" | 327 text = "Use Regex" |
315 } | 328 } |
316 new_button{ | 329 new_button{ |
317 text = "Convert Leading Tabs to Spaces" | 330 text = "Learn About Regular Expressions" |
318 } | |
319 new_button{ | |
320 text = "Convert Leading Spaces to Tabs" | |
321 } | 331 } |
322 } | 332 } |
323 } | 333 } |
324 output | 334 output |
325 } | 335 } |