Missing InsertAfter / InsertBefore for lists

Monkey Forums/Monkey Bug Reports/Missing InsertAfter / InsertBefore for lists

Skn3(Posted 2013) [#1]
As the title says.

This is missing from lists and should definitely be a core feature.

Preferably it would work like so:



Gerry Quinn(Posted 2013) [#2]
As a sort of side issue to this, can I ask Mark why the Node stuff in List is private? Is it likely to change?

Lists would be more extensible if this were public.


Skn3(Posted 2013) [#3]
You are free to use the nodes, I do it all the time.

This is probably not going to be added to monkey but I wrote an incredibly simple sortablelist extension. It would be good if monkey got something like this so people have a bit more flexibility?

https://github.com/pub-monkey/pub/tree/develop/structures/sortablelist