mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Add warningLength to SourceControlInputBox
This commit is contained in:
@@ -391,4 +391,14 @@ export class MainThreadSCM implements MainThreadSCMShape {
|
||||
|
||||
repository.input.placeholder = placeholder;
|
||||
}
|
||||
|
||||
$setWarningLength(sourceControlHandle: number, warningLength: number): void {
|
||||
const repository = this._repositories[sourceControlHandle];
|
||||
|
||||
if (!repository) {
|
||||
return;
|
||||
}
|
||||
|
||||
repository.input.warningLength = warningLength;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user