9.6MB is impressive, Tauri skipping the bundled Chromium is the right tradeoff for a daily-driver editor. curious how the React side handles syntax highlighting on big files, are you tokenizing and rendering the whole file or virtualizing so only visible lines get diffed, since that's usually where "lightweight editor" claims fall apart once someone opens a 5k line file and the tab-switching stops feeling instant
Actually I am using Monaco editor(library) which is the same file rendering library that is used in VS code. So it would be able to render any file despite the numbers of lines of code
Monaco makes sense, that's the safe choice for correctness on big files since it's the same engine handling huge files in VS Code itself. Does bundling Monaco eat much into the 9.6MB though, it's not exactly tiny compared to something like CodeMirror, curious what the size tradeoff looked like when you picked it.
Tarun Sharma
9.6MB is impressive, Tauri skipping the bundled Chromium is the right tradeoff for a daily-driver editor. curious how the React side handles syntax highlighting on big files, are you tokenizing and rendering the whole file or virtualizing so only visible lines get diffed, since that's usually where "lightweight editor" claims fall apart once someone opens a 5k line file and the tab-switching stops feeling instant