about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-21 14:26:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-21 14:26:50 -0700
commit61eb87b03c5bbabfb57206362a2096c8c0da0f13 (patch)
tree5c039dcd1e5ad78deab16d70aa548db4ef681824 /main.lua
parent13f67fa851acdba4563d0dca24701c5f97a6a55f (diff)
downloadview.love-61eb87b03c5bbabfb57206362a2096c8c0da0f13.tar.gz
correct a comment
We no longer have undo history directly in globals.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
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)