Conversation

Was trying to define interaction semantics for a textual canvas for writing SRS prompts. Surprisingly hard to define coherent semantics for complex structure editors! Really helped to realize that you want to maintain invariants; e.g.: S + return + delete = S S + cut + paste = S
Quote Tweet
I spent the last week or so trying to create a continuous textual canvas for Orbit's list editor, so that you can move and select freely across prompt boundaries as if it were a "normal" text editor. Doable, I think, but just too painful to implement. I give up for now!
Replying to
Once I realized that I needed to maintain those invariants, the behavior for "pressing return when you have a range R selected" was almost fully constrained. But of course *implementing* these semantics is still awful. :)
1
7
The presence of all these inversion invariants makes me think there's some "primitive" way to define the interaction semantics for a given schema, from which you could derive the rest. But text editing is full of all kinds of edge cases, so probably not possible in practice.
1
4