Exemple #1
0
        public void TestDuplicateSelectedText()
        {
            var data = Create(@"aaaaaaaaa
bbbbbbbbbb
cccccccc<-cc
dddddd->$dddd
eeeeeeeeee
ffffffffff");

            MiscActions.DuplicateLine(data);
            Check(data, @"aaaaaaaaa
bbbbbbbbbb
cccccccccc
ddddddcc
dddddd$dddd
eeeeeeeeee
ffffffffff");
        }
Exemple #2
0
        public void TestDuplicateLines()
        {
            var data = Create(@"aaaaaaaaa
bbbbbbbbbb
cccccccccc
dddddd$dddd
eeeeeeeeee
ffffffffff");

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