File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/vs/workbench/contrib/search/browser Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class SearchFindInput extends ContextScopedFindInput {
63
63
// filter is checked if it's in a non-default state
64
64
this . _filterChecked =
65
65
! this . filters . markupInput ||
66
- this . filters . markupPreview ||
66
+ ! this . filters . markupPreview ||
67
67
! this . filters . codeInput ||
68
68
! this . filters . codeOutput ;
69
69
Original file line number Diff line number Diff line change @@ -2010,13 +2010,15 @@ export class SearchView extends ViewPane {
2010
2010
const isInNotebookCellInput = this . searchWidget . getNotebookFilters ( ) . codeInput ;
2011
2011
const isInNotebookCellOutput = this . searchWidget . getNotebookFilters ( ) . codeOutput ;
2012
2012
const isInNotebookMarkdownInput = this . searchWidget . getNotebookFilters ( ) . markupInput ;
2013
+ const isInNotebookMarkdownPreview = this . searchWidget . getNotebookFilters ( ) . markupPreview ;
2013
2014
2014
2015
this . viewletState [ 'query.contentPattern' ] = contentPattern ;
2015
2016
this . viewletState [ 'query.regex' ] = isRegex ;
2016
2017
this . viewletState [ 'query.wholeWords' ] = isWholeWords ;
2017
2018
this . viewletState [ 'query.caseSensitive' ] = isCaseSensitive ;
2018
2019
2019
2020
this . viewletState [ 'query.isInNotebookMarkdownInput' ] = isInNotebookMarkdownInput ;
2021
+ this . viewletState [ 'query.isInNotebookMarkdownPreview' ] = isInNotebookMarkdownPreview ;
2020
2022
this . viewletState [ 'query.isInNotebookCellInput' ] = isInNotebookCellInput ;
2021
2023
this . viewletState [ 'query.isInNotebookCellOutput' ] = isInNotebookCellOutput ;
2022
2024
}
You can’t perform that action at this time.
0 commit comments