[Vimoutliner] Bug in sorting

Claus Atzenbeck claus.atzenbeck at freenet.de
Wed May 23 03:07:10 EDT 2007


Hi all,

I just want to report a bug when sorting.
Consider the following structure:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test structure
	Subtree 1
		aaa
			aaa2
			aaa1
		bbb
		ccc
			ccc2
			ccc1
	Subtree 2
		ddd
		eee
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Then move the cursor to "bbb" and press ",,S". This is the result:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test structure
	Subtree 1
	Subtree 2
		ddd
		ccc
			ccc2
			ccc1
		bbb
		aaa
			aaa2
			aaa1
		eee
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I would expect that only "aaa", "bbb", and "ccc" would be sorted, but
Subtree 2 would be completely untouched. This works perfect if "aaa1",
"aaa2", etc. would not exist.

Bug or feature? :)

Cheers,
Claus


More information about the VimOutliner mailing list