Re: Building a text editor in LÖVE
Posted: Sat Jun 18, 2022 11:05 am
You are need the timer, that can be nil. After saving set it to nil, but after first editing (when timer is nil) run the timer until the given autosave time.
Pro: no edited text will be saved just once.
Pro: no edited text will be saved just once.