From 61eb87b03c5bbabfb57206362a2096c8c0da0f13 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 21 Aug 2022 14:26:50 -0700 Subject: correct a comment We no longer have undo history directly in globals. --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.lua') 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) -- cgit 1.4.1-2-gfad0