Mercurial Hosting > editor
comparison src/luan_editor/Window.luan @ 85:ccc7fc9636ab
drop files
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 27 Jun 2025 17:51:37 -0600 |
parents | eb6c42083100 |
children |
comparison
equal
deleted
inserted
replaced
84:eb6c42083100 | 85:ccc7fc9636ab |
---|---|
167 line_wrap = config.line_wrap | 167 line_wrap = config.line_wrap |
168 whitespace_visible = config.whitespace_visible | 168 whitespace_visible = config.whitespace_visible |
169 tab_size = config.tab_size | 169 tab_size = config.tab_size |
170 --font = { family="Monospaced", size=13 } | 170 --font = { family="Monospaced", size=13 } |
171 font_changes = { family=monospaced } | 171 font_changes = { family=monospaced } |
172 on_drop = { | |
173 files = open_files | |
174 } | |
172 } | 175 } |
173 window.text_area = text_area | 176 window.text_area = text_area |
174 local title = file and file.canonical().to_string() or "new" | 177 local title = file and file.canonical().to_string() or "new" |
175 if document ~= nil then | 178 if document ~= nil then |
176 text_area.document = document | 179 text_area.document = document |