Closed ftyers closed 3 years ago
Does this really close it? That looks like it toggles if a given node is empty, not a way of creating a whole new empty node? Can you post a gif of it working?
Ah, I misunderstood. Yes this toggles whether a node is empty.
I don't think that's a necessary function, we mostly need a way to add/remove empty nodes.
@kmurphy4 @keggsmurph21 Now if I use the n
shorcut twice in a row on the same token, it makes it a root. This basically allows me to make multiple roots which is not good.
@kmurphy4 @keggsmurph21 Now if I use the
n
shorcut twice in a row on the same token, it makes it a root. This basically allows me to make multiple roots which is not good.
Oops, that was a mistake by me. That behavior should be fixed in 04b5f5f.
I don't think that's a necessary function, we mostly need a way to add/remove empty nodes.
@ftyers can you check if 02b3668 does what you expect? I changed the toggling-whether-a-token-is-empty keybinding to E and bound this new one to N as you suggested.
Looks good, now we just need a way of deleting them too :D
Maybe something like click on the node that you want to make the null node under and press a key like
n
? The index of the node should be 3.1 if there are no other nodes or n+1 if there are existing nodes. The null node can have a surface form, but cannot have any basic dependencies.