mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-23 13:20:30 -04:00
Merge VS Code 1.23.1 (#1520)
This commit is contained in:
@@ -345,14 +345,20 @@ export class CommonFindController extends Disposable implements editorCommon.IEd
|
||||
}
|
||||
|
||||
public getGlobalBufferTerm(): string {
|
||||
if (this._editor.getConfiguration().contribInfo.find.globalFindClipboard && this._clipboardService) {
|
||||
if (this._editor.getConfiguration().contribInfo.find.globalFindClipboard
|
||||
&& this._clipboardService
|
||||
&& !this._editor.getModel().isTooLargeForSyncing()
|
||||
) {
|
||||
return this._clipboardService.readFindText();
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public setGlobalBufferTerm(text: string) {
|
||||
if (this._editor.getConfiguration().contribInfo.find.globalFindClipboard && this._clipboardService) {
|
||||
if (this._editor.getConfiguration().contribInfo.find.globalFindClipboard
|
||||
&& this._clipboardService
|
||||
&& !this._editor.getModel().isTooLargeForSyncing()
|
||||
) {
|
||||
this._clipboardService.writeFindText(text);
|
||||
}
|
||||
}
|
||||
@@ -440,8 +446,8 @@ export class StartFindWithSelectionAction extends EditorAction {
|
||||
constructor() {
|
||||
super({
|
||||
id: FIND_IDS.StartFindWithSelection,
|
||||
label: nls.localize('startFindAction', "Find"),
|
||||
alias: 'Find',
|
||||
label: nls.localize('startFindWithSelectionAction', "Find With Selection"),
|
||||
alias: 'Find With Selection',
|
||||
precondition: null,
|
||||
kbOpts: {
|
||||
kbExpr: null,
|
||||
|
||||
Reference in New Issue
Block a user