vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.
GNU General Public License v3.0
1.34k stars 78 forks source link

Multiple quick fixes #152

Closed lubiedo closed 1 year ago

lubiedo commented 1 year ago

Fixes:

Sorry if this is kind of messy.

medvednikov commented 1 year ago

Thanks a lot and sorry for the delay!

medvednikov commented 1 year ago

I had to revert the move_to_line(0) change though because it broke switching between files. Ved saves the location, so that when you go back to the file, you go back to the line that's being edited.