input box length warnings

introduces scm.inputCounter
This commit is contained in:
Joao Moreno
2017-12-12 17:54:28 +01:00
parent 7b4bb1ed2b
commit 946d872acb
9 changed files with 58 additions and 31 deletions

View File

@@ -392,13 +392,13 @@ export class MainThreadSCM implements MainThreadSCMShape {
repository.input.placeholder = placeholder;
}
$setWarningLength(sourceControlHandle: number, warningLength: number): void {
$setLineWarningLength(sourceControlHandle: number, lineWarningLength: number): void {
const repository = this._repositories[sourceControlHandle];
if (!repository) {
return;
}
repository.input.warningLength = warningLength;
repository.input.lineWarningLength = lineWarningLength;
}
}