@codingame/monaco-vscode-search-service-override 20.1.1 → 20.2.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-search-service-override",
3
- "version": "20.1.1",
3
+ "version": "20.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - search service-override",
6
6
  "keywords": [],
@@ -15,21 +15,21 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "20.1.1",
19
- "@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "20.1.1",
20
- "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "20.1.1",
21
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.1.1",
22
- "@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "20.1.1",
23
- "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "20.1.1",
24
- "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "20.1.1",
25
- "@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "20.1.1",
26
- "@codingame/monaco-vscode-a17e9d37-b6c1-5556-8402-5db73960fae3-common": "20.1.1",
27
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "20.1.1",
28
- "@codingame/monaco-vscode-api": "20.1.1",
29
- "@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "20.1.1",
30
- "@codingame/monaco-vscode-bd0792ac-6043-5ec3-a41a-54ccb922a1f4-common": "20.1.1",
31
- "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "20.1.1",
32
- "@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "20.1.1"
18
+ "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "20.2.0",
19
+ "@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "20.2.0",
20
+ "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "20.2.0",
21
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.2.0",
22
+ "@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "20.2.0",
23
+ "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "20.2.0",
24
+ "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "20.2.0",
25
+ "@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "20.2.0",
26
+ "@codingame/monaco-vscode-a17e9d37-b6c1-5556-8402-5db73960fae3-common": "20.2.0",
27
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "20.2.0",
28
+ "@codingame/monaco-vscode-api": "20.2.0",
29
+ "@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "20.2.0",
30
+ "@codingame/monaco-vscode-bd0792ac-6043-5ec3-a41a-54ccb922a1f4-common": "20.2.0",
31
+ "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "20.2.0",
32
+ "@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "20.2.0"
33
33
  },
34
34
  "main": "index.js",
35
35
  "module": "index.js",
@@ -17,5 +17,11 @@ export interface IFindInFilesArgs {
17
17
  useExcludeSettingsAndIgnoreFiles?: boolean;
18
18
  onlyOpenEditors?: boolean;
19
19
  }
20
+ /**
21
+ * Returns element to focus after removing the given element
22
+ */
20
23
  export declare function getElementToFocusAfterRemoved(viewer: WorkbenchCompressibleAsyncDataTree<ISearchResult, RenderableMatch>, element: RenderableMatch, elementsToRemove: RenderableMatch[]): Promise<RenderableMatch | undefined>;
24
+ /***
25
+ * Finds the last element in the tree with the same type as `element`
26
+ */
21
27
  export declare function getLastNodeFromSameType(viewer: WorkbenchCompressibleAsyncDataTree<ISearchResult, RenderableMatch>, element: RenderableMatch): Promise<RenderableMatch | undefined>;
@@ -9,9 +9,29 @@ export declare class ReplacePattern {
9
9
  get hasParameters(): boolean;
10
10
  get pattern(): string;
11
11
  get regExp(): RegExp;
12
+ /**
13
+ * Returns the replace string for the first match in the given text.
14
+ * If text has no matches then returns null.
15
+ */
12
16
  getReplaceString(text: string, preserveCase?: boolean): string | null;
17
+ /**
18
+ * replaceWithCaseOperations applies case operations to relevant replacement strings and applies
19
+ * the affected $N arguments. It then passes unaffected $N arguments through to string.replace().
20
+ *
21
+ * \u => upper-cases one character in a match.
22
+ * \U => upper-cases ALL remaining characters in a match.
23
+ * \l => lower-cases one character in a match.
24
+ * \L => lower-cases ALL remaining characters in a match.
25
+ */
13
26
  private replaceWithCaseOperations;
14
27
  buildReplaceString(matches: string[] | null, preserveCase?: boolean): string;
28
+ /**
29
+ * \n => LF
30
+ * \t => TAB
31
+ * \\ => \
32
+ * $0 => $& (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter)
33
+ * everything else stays untouched
34
+ */
15
35
  private parseReplaceString;
16
36
  private between;
17
37
  }