@@ -453,17 +453,17 @@ export namespace Ace {
453
453
setBreakpoint ( row : number , className : string ) : void ;
454
454
clearBreakpoint ( row : number ) : void ;
455
455
addMarker ( range : Range ,
456
- clazz : string ,
457
- type : MarkerRenderer | string ,
458
- inFront : boolean ) : number ;
456
+ className : string ,
457
+ type : "fullLine" | "screenLine" | "text" | MarkerRenderer ,
458
+ inFront ? : boolean ) : number ;
459
459
addDynamicMarker ( marker : MarkerLike , inFront : boolean ) : MarkerLike ;
460
460
removeMarker ( markerId : number ) : void ;
461
461
getMarkers ( inFront ?: boolean ) : MarkerLike [ ] ;
462
462
highlight ( re : RegExp ) : void ;
463
463
highlightLines ( startRow : number ,
464
- endRow : number ,
465
- clazz : string ,
466
- inFront ?: boolean ) : Range ;
464
+ endRow : number ,
465
+ className : string ,
466
+ inFront ?: boolean ) : Range ;
467
467
setAnnotations ( annotations : Annotation [ ] ) : void ;
468
468
getAnnotations ( ) : Annotation [ ] ;
469
469
clearAnnotations ( ) : void ;
@@ -752,6 +752,7 @@ export namespace Ace {
752
752
textInput : TextInput ;
753
753
754
754
on ( name : 'blur' , callback : ( e : Event ) => void ) : void ;
755
+ on ( name : 'input' , callback : ( ) => void ) : void ;
755
756
on ( name : 'change' , callback : ( delta : Delta ) => void ) : void ;
756
757
on ( name : 'changeSelectionStyle' , callback : ( obj : { data : string } ) => void ) : void ;
757
758
on ( name : 'changeSession' ,
@@ -770,7 +771,7 @@ export namespace Ace {
770
771
getOption < T extends keyof EditorOptions > ( name : T ) : EditorOptions [ T ] ;
771
772
772
773
setKeyboardHandler ( keyboardHandler : string , callback ?: ( ) => void ) : void ;
773
- setKeyboardHandler ( keyboardHandler : KeyboardHandler ) : void ;
774
+ setKeyboardHandler ( keyboardHandler : KeyboardHandler | null ) : void ;
774
775
getKeyboardHandler ( ) : string ;
775
776
setSession ( session : EditSession ) : void ;
776
777
getSession ( ) : EditSession ;
0 commit comments