disconcision / fructure

a structured interaction engine 🗜️ ⚗️
https://fructure-editor.tumblr.com/
Apache License 2.0
453 stars 12 forks source link

add ability to descend into identifiers #3

Open disconcision opened 5 years ago

disconcision commented 5 years ago

edit: previously: stop default traversal of identifier/literal letters in nav mode

generally unfuck nav, as far as can be gone without spatial data.

proposal: bind 'select first child' to C-down. you normally don't need to use this but you can use it to force things that you normally can't descend into, like the titular things and maybe staged items in melt mode. probably not some other things though like captures.

while we're at it, bind 'select parent' to C-up too.

proposal continued: add a separate flag to specify can't-descend during traversal. abstract whatever i'm doing for captures, but maybe don't change the capture code.

disconcision commented 5 years ago

this is particularly bad in the case of single-char id/lits. both selection states look the same, so it feels like it just ignores every second navigation command.

gonna want to show one of these selections outline-style anyway i guess?

disconcision commented 5 years ago

titular issue closed by https://github.com/disconcision/fructure/commit/11a9688303b71ecace84f8e86fcf6cfa633c7a8e. rework this ticket