Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 466 Bytes

devlog.md

File metadata and controls

12 lines (12 loc) · 466 Bytes

20/09/23

  • Basic rendering implemented
  • Need to think about editing
    • Store tokens as a tree
      • How?
    • Rendered blocks turn into textarea w/ raw property
    • On unfocus, run new raw through lexer
    • Surgically update tree with new node
    • Queue a file save
      • Construct raw from 1-depth tree concat
    • Track key presses (enter, bsp, arrows)
      • Enter needs to be aware of cursor line no. in block, if enter out it needs to update DOM properly