https://futureofcoding.org/ logo
#devlog-together
Title
# devlog-together
o

Oleksandr Kryvonos

01/02/2024, 9:38 PM
I built a bare-minimum in-browser text editor, it saves files immediately on every key press, I also created a history of revisions but realised I do not need them, git works good enough for now.
s

Stephan Kreutzer

01/07/2024, 11:45 PM
Several years ago, I've programmed a similar editor (main task is the event bindings) that's keystroke-logging/autosaving https://rumble.com/vg2w21-hypertext-components-visualizing-tracked-text-changes.html just 1. not in-browser (sandobx) but native (one Java Swing and one in C++/Qt while not fully working), 2. creating revision history and visualizing it (no git). No variants/branching (because no merging), not Ink&Switch so-called "local-first" CRDTs (because these are depending on, assuming, WWW SaaS and trapped inside localStorage WWW browser sandbox). May one day calculate/resolve merging/conflicts myself (hopefully). Obviously, next directions naturally would be proper buffer editing (standoff, structural, treesitter, other), streaming to HDD + remote server, and so on. Not sure why this isn't the standard/default for all edit controls in GUI toolkits, and instead limited to just isolated specialized apps :-(
o

Oleksandr Kryvonos

01/13/2024, 7:18 PM
looks great, I like how you done animation of changes, if you are in Germany there is a channel here #in-germany
3 Views