File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,14 +92,17 @@ module ts{
9292 }
9393
9494 function editTest ( ) {
95- var fname = testDataDir + 'editme' ;
96- var content = ts . sys . readFile ( fname ) ;
97- var lm = server . LineIndex . linesFromText ( content ) ;
98- var lines = lm . lines ;
95+ var content = `in this story:
96+ the lazy brown fox
97+ jumped over the cow
98+ that ate the grass
99+ that was purple at the tips
100+ and grew 1cm per day` ;
101+
102+ var { lines, lineMap} = server . LineIndex . linesFromText ( content ) ;
99103 if ( lines . length == 0 ) {
100104 return ;
101105 }
102- var lineMap = lm . lineMap ;
103106
104107 var lineIndex = new server . LineIndex ( ) ;
105108 lineIndex . load ( lines ) ;
@@ -420,11 +423,11 @@ module ts{
420423 }
421424 }
422425
423- function edTest ( ) {
424- editTest ( ) ;
425- tstTest ( ) ;
426- bigTest ( ) ;
427- }
426+ // function edTest() {
427+ // editTest();
428+ // tstTest();
429+ // bigTest();
430+ // }
428431
429- edTest ( ) ;
432+ // edTest();
430433}
You can’t perform that action at this time.
0 commit comments