diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-08-21 14:26:50 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-08-21 14:26:50 -0700 |
commit | 61eb87b03c5bbabfb57206362a2096c8c0da0f13 (patch) | |
tree | 5c039dcd1e5ad78deab16d70aa548db4ef681824 | |
parent | 13f67fa851acdba4563d0dca24701c5f97a6a55f (diff) | |
download | view.love-61eb87b03c5bbabfb57206362a2096c8c0da0f13.tar.gz |
correct a comment
We no longer have undo history directly in globals.
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua index 64d0584..74928c1 100644 --- a/main.lua +++ b/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) |