formatting

This commit is contained in:
Kartik K. Agaram 2022-07-16 19:27:58 -07:00
parent f61d4269f5
commit 0ac44f0756
2 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ function App.open_for_writing(filename)
end
end,
close = function(self)
end
end,
}
end
@ -314,7 +314,7 @@ function App.open_for_reading(filename)
return App.filesystem[filename]:gmatch('[^\n]+')
end,
close = function(self)
end
end,
}
end

View File

@ -142,7 +142,7 @@ function edit.draw(State)
end
schedule_save(State)
record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)})
end
end,
})
if State.search_term == nil then
if line_index == State.cursor1.line then