correct a comment
We no longer have undo history directly in globals.
This commit is contained in:
parent
13f67fa851
commit
61eb87b03c
2
main.lua
2
main.lua
|
@ -122,7 +122,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