Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Conversation

@rdvdijk
Copy link

@rdvdijk rdvdijk commented Nov 12, 2011

Hi,

I noticed that when using :below and :above does not move items if the given item is already below or above the target item. So:

    [1 2 3 4 5]

Moving '2' above '4' would do nothing, since '2' is already above '4'. However, I feel that moving '2' above '4' should place it directly above it, and resulting in:

    [1 3 2 4 5]

Same holds for :below. I've created tests for these cases and altered the code.

Kind regards,
Roel

@rdvdijk
Copy link
Author

rdvdijk commented Aug 7, 2012

Does anyone ever look at this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant