@@ -655,7 +655,7 @@ declare namespace AtomCore {
655655 bufferRangeForBufferRow ( row :any , options :any ) :TextBuffer . IRange ;
656656 lineForBufferRow ( row :number ) :string ;
657657 lineLengthForBufferRow ( row :number ) :number ;
658- scan ( ) :any ;
658+ scan ( regex : RegExp , callback : Function ) :any ;
659659 scanInBufferRange ( ) :any ;
660660 backwardsScanInBufferRange ( ) :any ;
661661 isModified ( ) :boolean ;
@@ -762,7 +762,7 @@ declare namespace AtomCore {
762762 getSelectionsOrderedByBufferPosition ( ) :ISelection [ ] ;
763763 getLastSelectionInBuffer ( ) :ISelection ;
764764 selectionIntersectsBufferRange ( bufferRange :any ) :any ;
765- setCursorScreenPosition ( position :TextBuffer . IPoint , options ?:any ) :any ;
765+ setCursorScreenPosition ( position :TextBuffer . IPoint | number [ ] , options ?:any ) :any ;
766766 getCursorScreenPosition ( ) :TextBuffer . IPoint ;
767767 getCursorScreenRow ( ) :number ;
768768 setCursorBufferPosition ( position :any , options ?:any ) :any ;
@@ -1091,6 +1091,7 @@ declare namespace AtomCore {
10911091 openSync ( uri :string , options :any ) :any ;
10921092 openUriInPane ( uri : string , pane : any , options : any ) : Q . Promise < View > ;
10931093 observeTextEditors ( callback : Function ) : Disposable ;
1094+ onDidOpen ( callback : Function ) : any ;
10941095 reopenItemSync ( ) :any ;
10951096 registerOpener ( opener :( urlToOpen :string ) => any ) :void ;
10961097 unregisterOpener ( opener :Function ) :void ;
0 commit comments