core
core copied to clipboard
Could add mechanism to find if anything is currently selected within window, to update active status of copy / cut
Currently, paste is updated based on clipboard having something.
Copy and Cut are not updated and always show as enabled (active).
Probably most reliable mechanism is to just search tree for any selected items, and have a generic method called "HasSelection" that each element can report back about.
Trying to have a global flag on window that is updated with selection / deselection events seems doomed to fail -- would need a counter of some sort, and it might be tough to ensure each selection is balanced by appropriate deselection etc. This would be faster but the tree crawl likely wins due to robustness and wouldn't be very slow really, on the scale of when menus are updated.
probably not worth it -- putting at lowpri.