mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
input box length warnings
introduces scm.inputCounter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user