Open darrenburns opened 2 weeks ago
The docs do say that this will only "move the cursor to the given node", but the method name is perhaps a bit confusing.
True - I think the problem is we're confusing the naming since we have a message called NodeSelected
which does not get posted here.
I think renaming this to something like move_cursor(node)
would be clearer.
The Tree message names make a distinction between highlighting a node and selecting a node.
This method name strongly suggests it'll select a node, but in reality it only highlights it (moves the cursor to a node).
I'd suggest renaming to something like
move_cursor(node)
.