Porting a text editor to Rust - Part 7

Опубликовано: 05 Август 2026
на канале: Uncle Scientist
289
5

This is the seventh stream in a series of videos to port a basic text editor to Rust. You can find the C tutorial here: https://viewsourcecode.org/snaptoken/...

I'm going to be on twitch   / unclescientist   usually five times a week doing various streaming things.

Chapter 7 - Syntax highlighting! We started by figuring out how to set highlights for numbers (in red, no less), and then update it to handle the interactive-search feature, highlighting matched text in blue. It took some refactoring work, but we go tthere in the end.

Coming up next is going to be file-type detection and keyword highlighting, which I'm very much looking forward to.

The repo is here: https://github.com/UncleScientist/kil...



Come enjoy my beginner rust programming skills!

#rust #rustlang #texteditor #nvim