示例#1
0
        public void TestBug586125()
        {
            TextEditorData data = Create(@"$1234567890
1234567890");

            MiscActions.MoveBlockUp(data);
        }
示例#2
0
        public void TestMoveBlockUpSelection()
        {
            var data = Create(@"aaaaaaaaa
bbbbbbbbbb
ccc<-ccccccc
dddddd->$dddd
eeeeeeeeee
ffffffffff");

            MiscActions.MoveBlockUp(data);
            Check(data, @"aaaaaaaaa
ccc<-ccccccc
dddddd->$dddd
bbbbbbbbbb
eeeeeeeeee
ffffffffff");
        }
示例#3
0
        public void TestMoveBlockUp()
        {
            var data = Create(@"aaaaaaaaa
bbbbbbbbbb
cccccccccc
dddddd$dddd
eeeeeeeeee
ffffffffff");

            MiscActions.MoveBlockUp(data);
            Check(data, @"aaaaaaaaa
bbbbbbbbbb
dddddd$dddd
cccccccccc
eeeeeeeeee
ffffffffff");
        }