message:localize('commitMessageWarning',"{0} characters over {1} in current line",line.length-Repository.InputValidationLength,Repository.InputValidationLength),
@@ -140,18 +144,31 @@ export class ExtHostSCMInputBox implements vscode.SourceControlInputBox {
...
@@ -140,18 +144,31 @@ export class ExtHostSCMInputBox implements vscode.SourceControlInputBox {
this._placeholder=placeholder;
this._placeholder=placeholder;
}
}
private_lineWarningLength:number|undefined;
private_validateInput:IValidateInput;
getvalidateInput():IValidateInput{
if(!this._extension.enableProposedApi){
thrownewError(`[${this._extension.id}]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api ${this._extension.id}`);
thrownewError(`[${this._extension.id}]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api ${this._extension.id}`);