Function to add item at specific index needed
I've been poking around in the rapid paste plugin branch. Got it working with the current version Diodon. After getting it working I noticed it did not work as I would have expected. First press it pastes the first item, second press pastes the second item and moves it to top, third press pastes the third item and moves it to the top, and so on. I would have expected the first press to paste the first item and move it to the bottom, second press to paste the first item and move it to the bottom, and so on. After some digging I discovered that the only way to move an item to the bottom is to remove all the items then re-add them in the new order. A function that could add an item at a specific index would be very useful in this situation. Also I could definitely see it being useful in other plugins as well.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Diodon Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #1323440.