@@ -49,9 +49,8 @@ import { ICellRange } from 'vs/workbench/contrib/notebook/common/notebookRange';
49
49
const NLS_FIND_INPUT_LABEL = nls . localize ( 'label.find' , "Find" ) ;
50
50
const NLS_FIND_INPUT_PLACEHOLDER = nls . localize ( 'placeholder.find' , "Find" ) ;
51
51
const NLS_PREVIOUS_MATCH_BTN_LABEL = nls . localize ( 'label.previousMatchButton' , "Previous Match" ) ;
52
- // const NLS_FILTER_BTN_LABEL = nls.localize('label.findFilterButton', "Search in View");
53
52
const NLS_NEXT_MATCH_BTN_LABEL = nls . localize ( 'label.nextMatchButton' , "Next Match" ) ;
54
- const NLS_FIND_IN_CELL_SELECTION_BTN_LABEL = nls . localize ( 'label.findInCellSelectionButton ' , "Find in Cell Selection" ) ;
53
+ const NLS_TOGGLE_SELECTION_FIND_TITLE = nls . localize ( 'label.toggleSelectionFind ' , "Find in Selection" ) ;
55
54
const NLS_CLOSE_BTN_LABEL = nls . localize ( 'label.closeButton' , "Close" ) ;
56
55
const NLS_TOGGLE_REPLACE_MODE_BTN_LABEL = nls . localize ( 'label.toggleReplaceButton' , "Toggle Replace" ) ;
57
56
const NLS_REPLACE_INPUT_LABEL = nls . localize ( 'label.replace' , "Replace" ) ;
@@ -66,7 +65,7 @@ const NOTEBOOK_FIND_IN_MARKUP_PREVIEW = nls.localize('notebook.find.filter.findI
66
65
const NOTEBOOK_FIND_IN_CODE_INPUT = nls . localize ( 'notebook.find.filter.findInCodeInput' , "Code Cell Source" ) ;
67
66
const NOTEBOOK_FIND_IN_CODE_OUTPUT = nls . localize ( 'notebook.find.filter.findInCodeOutput' , "Code Cell Output" ) ;
68
67
69
- const NOTEBOOK_FIND_WIDGET_INITIAL_WIDTH = 318 ;
68
+ const NOTEBOOK_FIND_WIDGET_INITIAL_WIDTH = 419 ;
70
69
const NOTEBOOK_FIND_WIDGET_INITIAL_HORIZONTAL_PADDING = 4 ;
71
70
class NotebookFindFilterActionViewItem extends DropdownMenuActionViewItem {
72
71
constructor ( readonly filters : NotebookFindFilters , action : IAction , options : IActionViewItemOptions , actionRunner : IActionRunner , @IContextMenuService contextMenuService : IContextMenuService ) {
@@ -386,6 +385,7 @@ export abstract class SimpleFindReplaceWidget extends Widget {
386
385
null ,
387
386
this . _contextViewService ,
388
387
{
388
+ // width:FIND_INPUT_AREA_WIDTH,
389
389
label : NLS_FIND_INPUT_LABEL ,
390
390
placeholder : NLS_FIND_INPUT_PLACEHOLDER ,
391
391
validation : ( value : string ) : InputBoxMessage | null => {
@@ -462,7 +462,7 @@ export abstract class SimpleFindReplaceWidget extends Widget {
462
462
463
463
this . inSelectionToggle = this . _register ( new Toggle ( {
464
464
icon : findSelectionIcon ,
465
- title : NLS_FIND_IN_CELL_SELECTION_BTN_LABEL ,
465
+ title : NLS_TOGGLE_SELECTION_FIND_TITLE ,
466
466
isChecked : false ,
467
467
inputActiveOptionBackground : asCssVariable ( inputActiveOptionBackground ) ,
468
468
inputActiveOptionBorder : asCssVariable ( inputActiveOptionBorder ) ,
0 commit comments