commit
e2077858f7
|
@ -75,6 +75,9 @@ Updates to it can be downloaded from the following mirrors:
|
|||
|
||||
Further forks are encouraged. If you show me your fork, I'll link to it here.
|
||||
|
||||
* https://codeberg.org/akkartik/view.love -- a stripped down version without
|
||||
support for modifying files; useful starting point for some forks.
|
||||
|
||||
## Feedback
|
||||
|
||||
[Most appreciated.](http://akkartik.name/contact)
|
||||
|
|
2
main.lua
2
main.lua
|
@ -119,7 +119,7 @@ function App.filedropped(file)
|
|||
save_to_disk(Editor_state)
|
||||
end
|
||||
-- clear the slate for the new file
|
||||
App.initialize_globals() -- in particular, forget all undo history
|
||||
App.initialize_globals()
|
||||
Editor_state.filename = file:getFilename()
|
||||
file:open('r')
|
||||
Editor_state.lines = load_from_file(file)
|
||||
|
|
Loading…
Reference in New Issue