@@ -89,7 +89,7 @@ suite('FindController', () => {
8989 assert.ok(true);
9090 return;
9191 }
92- let findController = editor.registerAndInstantiateContribution<TestFindController> (TestFindController.ID, TestFindController);
92+ let findController = editor.registerAndInstantiateContribution(TestFindController.ID, TestFindController);
9393 let startFindAction = new StartFindAction();
9494 // I select ABC on the first line
9595 editor.setSelection(new Selection(1, 1, 1, 4));
@@ -115,7 +115,7 @@ suite('FindController', () => {
115115 return;
116116 }
117117
118- let findController = editor.registerAndInstantiateContribution<TestFindController> (TestFindController.ID, TestFindController);
118+ let findController = editor.registerAndInstantiateContribution(TestFindController.ID, TestFindController);
119119 let findState = findController.getState();
120120 let nextMatchFindAction = new NextMatchFindAction();
121121
@@ -141,7 +141,7 @@ suite('FindController', () => {
141141 return;
142142 }
143143
144- let findController = editor.registerAndInstantiateContribution<TestFindController> (TestFindController.ID, TestFindController);
144+ let findController = editor.registerAndInstantiateContribution(TestFindController.ID, TestFindController);
145145 let findState = findController.getState();
146146
147147 findState.change({ searchString: 'ABC' }, true);
@@ -161,7 +161,7 @@ suite('FindController', () => {
161161 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
162162 clipboardState = '' ;
163163 // The cursor is at the very top, of the file, at the first ABC
164- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
164+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
165165 let findState = findController . getState ( ) ;
166166 let startFindAction = new StartFindAction ( ) ;
167167 let nextMatchFindAction = new NextMatchFindAction ( ) ;
@@ -215,7 +215,7 @@ suite('FindController', () => {
215215 'import nls = require(\'vs/nls\');'
216216 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
217217 clipboardState = '' ;
218- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
218+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
219219 let nextMatchFindAction = new NextMatchFindAction ( ) ;
220220
221221 editor . setPosition ( {
@@ -240,7 +240,7 @@ suite('FindController', () => {
240240 'var z = (3 * 5)' ,
241241 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
242242 clipboardState = '' ;
243- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
243+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
244244 let startFindAction = new StartFindAction ( ) ;
245245 let nextMatchFindAction = new NextMatchFindAction ( ) ;
246246
@@ -264,7 +264,7 @@ suite('FindController', () => {
264264 'test' ,
265265 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
266266 let testRegexString = 'tes.' ;
267- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
267+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
268268 let nextMatchFindAction = new NextMatchFindAction ( ) ;
269269 let startFindReplaceAction = new StartFindReplaceAction ( ) ;
270270
@@ -294,7 +294,7 @@ suite('FindController', () => {
294294 'var z = (3 * 5)' ,
295295 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
296296 clipboardState = '' ;
297- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
297+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
298298 findController . start ( {
299299 forceRevealReplace : false ,
300300 seedSearchStringFromSelection : false ,
@@ -322,7 +322,7 @@ suite('FindController', () => {
322322 'HRESULT OnAmbientPropertyChange(DISPID dispid);'
323323 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
324324 clipboardState = '' ;
325- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
325+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
326326
327327 let startFindAction = new StartFindAction ( ) ;
328328 startFindAction . run ( null , editor ) ;
@@ -349,7 +349,7 @@ suite('FindController', () => {
349349 'line3'
350350 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
351351 clipboardState = '' ;
352- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
352+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
353353
354354 let startFindAction = new StartFindAction ( ) ;
355355 startFindAction . run ( null , editor ) ;
@@ -376,7 +376,7 @@ suite('FindController', () => {
376376 '([funny]'
377377 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
378378 clipboardState = '' ;
379- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
379+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
380380 let nextSelectionMatchFindAction = new NextSelectionMatchFindAction ( ) ;
381381
382382 // toggle regex
@@ -403,7 +403,7 @@ suite('FindController', () => {
403403 '([funny]'
404404 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
405405 clipboardState = '' ;
406- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
406+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
407407 let startFindAction = new StartFindAction ( ) ;
408408 let nextSelectionMatchFindAction = new NextSelectionMatchFindAction ( ) ;
409409
@@ -454,7 +454,7 @@ suite('FindController query options persistence', () => {
454454 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
455455 queryState = { 'editor.isRegex' : false , 'editor.matchCase' : true , 'editor.wholeWord' : false } ;
456456 // The cursor is at the very top, of the file, at the first ABC
457- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
457+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
458458 let findState = findController . getState ( ) ;
459459 let startFindAction = new StartFindAction ( ) ;
460460
@@ -481,7 +481,7 @@ suite('FindController query options persistence', () => {
481481 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
482482 queryState = { 'editor.isRegex' : false , 'editor.matchCase' : false , 'editor.wholeWord' : true } ;
483483 // The cursor is at the very top, of the file, at the first ABC
484- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
484+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
485485 let findState = findController . getState ( ) ;
486486 let startFindAction = new StartFindAction ( ) ;
487487
@@ -506,7 +506,7 @@ suite('FindController query options persistence', () => {
506506 ] , { serviceCollection : serviceCollection } , ( editor , cursor ) => {
507507 queryState = { 'editor.isRegex' : false , 'editor.matchCase' : false , 'editor.wholeWord' : true } ;
508508 // The cursor is at the very top, of the file, at the first ABC
509- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
509+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
510510 findController . toggleRegex ( ) ;
511511 assert . equal ( queryState [ 'editor.isRegex' ] , true ) ;
512512
@@ -522,7 +522,7 @@ suite('FindController query options persistence', () => {
522522 ] , { serviceCollection : serviceCollection , find : { autoFindInSelection : 'always' , globalFindClipboard : false } } , ( editor , cursor ) => {
523523 // clipboardState = '';
524524 editor . setSelection ( new Range ( 1 , 1 , 2 , 1 ) ) ;
525- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
525+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
526526
527527 findController . start ( {
528528 forceRevealReplace : false ,
@@ -545,7 +545,7 @@ suite('FindController query options persistence', () => {
545545 ] , { serviceCollection : serviceCollection , find : { autoFindInSelection : 'always' , globalFindClipboard : false } } , ( editor , cursor ) => {
546546 // clipboardState = '';
547547 editor . setSelection ( new Range ( 1 , 2 , 1 , 2 ) ) ;
548- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
548+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
549549
550550 findController . start ( {
551551 forceRevealReplace : false ,
@@ -568,7 +568,7 @@ suite('FindController query options persistence', () => {
568568 ] , { serviceCollection : serviceCollection , find : { autoFindInSelection : 'always' , globalFindClipboard : false } } , ( editor , cursor ) => {
569569 // clipboardState = '';
570570 editor . setSelection ( new Range ( 1 , 2 , 1 , 3 ) ) ;
571- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
571+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
572572
573573 findController . start ( {
574574 forceRevealReplace : false ,
@@ -592,7 +592,7 @@ suite('FindController query options persistence', () => {
592592 ] , { serviceCollection : serviceCollection , find : { autoFindInSelection : 'multiline' , globalFindClipboard : false } } , ( editor , cursor ) => {
593593 // clipboardState = '';
594594 editor . setSelection ( new Range ( 1 , 6 , 2 , 1 ) ) ;
595- let findController = editor . registerAndInstantiateContribution < TestFindController > ( TestFindController . ID , TestFindController ) ;
595+ let findController = editor . registerAndInstantiateContribution ( TestFindController . ID , TestFindController ) ;
596596
597597 findController . start ( {
598598 forceRevealReplace : false ,
0 commit comments