Function to add item at specific index needed
This bug report was converted into a question: question #249338: 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.