Porting a text editor to Rust - Improved Config Files and Screen Resizing

preview_player
Показать описание


First part of the stream is hacking together code that will allow "sections" in the init file. This was complicated a bit by the fact that the default values also have to follow the same rules.

Once I got that working, we quickly added some code to detect a window resize, although it's a bit more awkward that I would have wanted.

The last part of the stream starts looking at how to handle "soft" wrapping (wrapping long lines to the beginning of the next row). I get a bit lost in the weeds here, and end up not completing it. Cliffhanger!

Come enjoy my beginner rust programming skills!

#rust #rustlang #texteditor #nvim
Рекомендации по теме