Tree multiselect with shift up & down arrow keys

This commit is contained in:
dugramen
2025-02-27 21:45:01 -05:00
parent e37c6261ea
commit eb973015d6
2 changed files with 61 additions and 4 deletions

View File

@ -464,6 +464,7 @@ private:
TreeItem *popup_edited_item = nullptr;
TreeItem *selected_item = nullptr;
TreeItem *edited_item = nullptr;
TreeItem *shift_anchor = nullptr;
TreeItem *popup_pressing_edited_item = nullptr; // Candidate.
int popup_pressing_edited_item_column = -1;
@ -743,6 +744,7 @@ private:
void _go_right();
void _go_down();
void _go_up();
void _shift_select_range(TreeItem *new_item);
bool _scroll(bool p_horizontal, float p_pages);