Update ace.d.ts

add config functions, reference https://github.com/ajaxorg/ace/wiki/Configuring-Ace
also support $blockscrolling variable; reference https://github.com/ajaxorg/ace/issues/2499
This commit is contained in:
shaban
2015-06-21 22:45:11 +02:00
parent 84dfeeac37
commit 19fc8fa756
+25
View File
@@ -1063,6 +1063,31 @@ declare module AceAjax {
onChangeMode(e?);
execCommand(command:string, args?: any);
/**
* Sets a Configuration Option
**/
setOption(optionName: any, optionValue: any);
/**
* Sets Configuration Options
**/
setOptions(keyValueTuples: any);
/**
* Get a Configuration Option
**/
getOption(name: any):any;
/**
* Get Configuration Options
**/
getOptions():any;
/**
* Get rid of console warning by setting this to Infinity
**/
$blockScrolling:number;
/**
* Sets a new key handler, such as "vim" or "windows".