未验证 提交 fd94d159 编写于 作者: S Sandeep Somavarapu 提交者: GitHub

Merge branch 'master' into sandy081/web-playground/login

......@@ -90,6 +90,7 @@ function stopPropagationForMultiLineDownwards(event: IKeyboardEvent, value: stri
}
export class SearchWidget extends Widget {
private static readonly INPUT_MAX_HEIGHT = 134;
private static readonly REPLACE_ALL_DISABLED_LABEL = nls.localize('search.action.replaceAll.disabled.label', "Replace All (Submit Search to Enable)");
private static readonly REPLACE_ALL_ENABLED_LABEL = (keyBindingService2: IKeybindingService): string => {
......@@ -309,7 +310,7 @@ export class SearchWidget extends Widget {
appendRegexLabel: appendKeyBindingLabel('', this.keyBindingService.lookupKeybinding(Constants.ToggleRegexCommandId), this.keyBindingService),
history: options.searchHistory,
flexibleHeight: true,
flexibleMaxHeight: 134
flexibleMaxHeight: SearchWidget.INPUT_MAX_HEIGHT
};
const searchInputContainer = dom.append(parent, dom.$('.search-container.input-box'));
......@@ -393,7 +394,8 @@ export class SearchWidget extends Widget {
label: nls.localize('label.Replace', 'Replace: Type replace term and press Enter to preview or Escape to cancel'),
placeholder: nls.localize('search.replace.placeHolder', "Replace"),
history: options.replaceHistory,
flexibleHeight: true
flexibleHeight: true,
flexibleMaxHeight: SearchWidget.INPUT_MAX_HEIGHT
}, this.contextKeyService, true));
this._register(this.replaceInput.onDidOptionChange(viaKeyboard => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册