what arthur proposed (dict-each) isn't that just @\:/: ? https://ngn.bitbucket.io/k/#cmlFbWSzlE0tbJeKzibY2oGET57x2hFqRNjrmAHuBLu7m3Pg=
@ngn what do you think about textarea{display:flex;flex:1;background:#000;color:#aaa;margin:0 2px}:focus{color:#fff} for your editor? that way it can be better seen who has focus.
@ktye i don't know i'm not much of a designer. there's this blinking thing, so i've never had problems identifying where focus is. and isn't the modern way to show focus a blue outline?
that works as well: textarea{display:flex;flex:1;background:#000;color:#aaa;margin:0 0px;border:1px solid #000;}:focus{color:#fff;border:1px solid blue}
that way, there is always a border and the text does not move by 1px when clicking inside
chat mini-poll: do you think focus needs to be indicated with anything other than a blinking cursor? if yes, would you prefer text darkening/brightening or a coloured border (blue, green, ..) or both?
a BUTTON. i'll try to make a minimalistic text-style overlay, maybe on the top right corner of the editor. why? i often click with the mouse on a overlay keyboard. pressing cntrl-enter is annoying.
@chrispsn yeh, I was thinking the same thing. I couldn't quite figure out how to use a .[m;i;:;v] when m was a matrix and i was a list of cell coordinates (e.g. (0 0;0 1;0 2)) with v being a list of values to replace with
(the latter coming from m ./: {{cell coordinates}})
@chrispsn I think this can be done somewhat succinctly with ./[y;i;:;<i:+&~^y] (dropping the < to have the "full" cell coordinates rather than the flattened indices)
(without calculating/storing the shape of the input, you'd have to preserve the structure of the input somehow)