@lvce-editor/text-search-view 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3642,6 +3642,7 @@ const handleUpdateFull = async (state, update) => {
3642
3642
  root,
3643
3643
  scheme,
3644
3644
  threads,
3645
+ useIgnoreFiles: hasUseIgnoreFiles(flags),
3645
3646
  usePullBasedSearch: shouldUsePullBasedSearch,
3646
3647
  useRegularExpression: Boolean(flags & UseRegularExpression$2)
3647
3648
  }, assetDir, platform, searchId, uid);
@@ -3783,6 +3784,7 @@ const handleUpdateIncremental = async (state, update) => {
3783
3784
  root,
3784
3785
  scheme,
3785
3786
  threads,
3787
+ useIgnoreFiles: hasUseIgnoreFiles(flags),
3786
3788
  usePullBasedSearch: usePullBasedSearch,
3787
3789
  useRegularExpression: Boolean(flags & UseRegularExpression$2)
3788
3790
  }, assetDir, platform, searchId, uid);
@@ -3840,6 +3842,7 @@ const handleUpdatePullBased = async (state, update) => {
3840
3842
  root,
3841
3843
  scheme,
3842
3844
  threads,
3845
+ useIgnoreFiles: hasUseIgnoreFiles(flags),
3843
3846
  usePullBasedSearch: shouldUsePullBasedSearch,
3844
3847
  useRegularExpression: Boolean(flags & UseRegularExpression$2)
3845
3848
  }, assetDir, platform, searchId, uid);
@@ -5424,6 +5427,7 @@ const restoreState = savedState => {
5424
5427
 
5425
5428
  const loadContent = async (state, savedState) => {
5426
5429
  const {
5430
+ defaultExcludes: currentDefaultExcludes,
5427
5431
  limitHitWarning,
5428
5432
  width
5429
5433
  } = state;
@@ -5436,11 +5440,13 @@ const loadContent = async (state, savedState) => {
5436
5440
  savedValue,
5437
5441
  threads
5438
5442
  } = restoreState(savedState);
5443
+ const defaultExcludes = await getSearchExcludes(currentDefaultExcludes);
5439
5444
  const usePullBasedSearch = await getUsePullBasedSearch();
5440
5445
  const warningHeight = await getSearchWarningMessageHeight(limitHitWarning, width);
5441
5446
  const headerHeight = getTopHeight(flags) + warningHeight;
5442
5447
  const update = {
5443
5448
  collapsedPaths: savedCollapsedPaths,
5449
+ defaultExcludes,
5444
5450
  excludeValue,
5445
5451
  flags,
5446
5452
  focus: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/text-search-view",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Text Search View",
5
5
  "keywords": [
6
6
  "text-search"