about summary refs log tree commit diff stats
path: root/source.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-03-17 10:46:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-03-17 10:46:50 -0700
commitd65b7950a152cf2ffe3149707f5e2040b305d8bd (patch)
treebb035c72c40a324b1d5264c3a9ba21523184e7ba /source.lua
parente2c1bbe4e53bb0369471296caedf81ff6a059ae0 (diff)
downloadlines.love-d65b7950a152cf2ffe3149707f5e2040b305d8bd.tar.gz
state validation in source editor as well
Diffstat (limited to 'source.lua')
-rw-r--r--source.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/source.lua b/source.lua
index eeaea21..d0836cb 100644
--- a/source.lua
+++ b/source.lua
@@ -87,6 +87,7 @@ function source.initialize_edit_side()
     Editor_state.screen_top1 = {line=1, pos=1}
     Editor_state.cursor1 = {line=1, pos=1}
   end
+  edit.check_locs(Editor_state)
 
   -- We currently start out with side B collapsed.
   -- Other options: