Flutter-Bounty-Hunters / inception

A code editing toolkit for Flutter
MIT License
4 stars 0 forks source link

IDE: Render code with line widgets #7

Open matthew-carroll opened 1 week ago

matthew-carroll commented 1 week ago

Currently we display code in a single rich text widget, so that we can apply syntax highlighting computed by a package we added.

I think we'll want to render code per line, which allows us to add line numbers on the left, break points and other widgets on the left per line, and also lets us use a lazy scrolling system to avoid building line widgets that are offscreen.

For this ticket, get the existing styled text structured as a lazy scrollable with per-line widgets.