reactive-vscode 0.0.1-beta.3 → 0.0.1-beta.4
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/dist/composables/useNotebookEditorSelection.d.ts +2 -1
- package/dist/composables/useNotebookEditorSelections.d.ts +2 -1
- package/dist/composables/useNotebookEditorVisibleRanges.d.ts +2 -1
- package/dist/composables/useTextEditorSelection.d.ts +4 -2
- package/dist/composables/useTextEditorSelections.d.ts +4 -2
- package/dist/composables/useTextEditorViewColumn.d.ts +2 -1
- package/dist/composables/useTextEditorVisibleRanges.d.ts +2 -1
- package/dist/index.js +586 -579
- package/dist/utils/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { NotebookEditor } from 'vscode';
|
|
2
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @reactive `NotebookEditor.selection`
|
|
5
6
|
* @category editor
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare function useNotebookEditorSelection(notebookEditor: MaybeNullableRefOrGetter<NotebookEditor>): import('@vue/reactivity').WritableComputedRef<import('vscode').NotebookRange>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { NotebookEditor } from 'vscode';
|
|
2
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @reactive `NotebookEditor.selections`
|
|
5
6
|
* @category editor
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare function useNotebookEditorSelections(notebookEditor: MaybeNullableRefOrGetter<NotebookEditor>): import('@vue/reactivity').WritableComputedRef<readonly import('vscode').NotebookRange[]>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { NotebookEditor } from 'vscode';
|
|
2
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @reactive `NotebookEditor.visibleRanges`
|
|
5
6
|
* @category editor
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare function useNotebookEditorVisibleRanges(notebookEditor: MaybeNullableRefOrGetter<NotebookEditor>): import('@vue/reactivity').ComputedRef<readonly import('vscode').NotebookRange[]>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { TextEditor } from 'vscode';
|
|
1
|
+
import { TextEditor, TextEditorSelectionChangeKind } from 'vscode';
|
|
2
|
+
import { MaybeRefOrGetter } from '../reactivity';
|
|
3
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* @reactive `TextEditor.selection`
|
|
5
7
|
* @category editor
|
|
6
8
|
*/
|
|
7
|
-
export declare
|
|
9
|
+
export declare function useTextEditorSelection(textEditor: MaybeNullableRefOrGetter<TextEditor>, acceptKind?: MaybeRefOrGetter<(TextEditorSelectionChangeKind | undefined)[]>): import('@vue/reactivity').WritableComputedRef<import('vscode').Selection>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { TextEditor } from 'vscode';
|
|
1
|
+
import { TextEditor, TextEditorSelectionChangeKind } from 'vscode';
|
|
2
|
+
import { MaybeRefOrGetter } from '../reactivity';
|
|
3
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* @reactive `TextEditor.selections`
|
|
5
7
|
* @category editor
|
|
6
8
|
*/
|
|
7
|
-
export declare
|
|
9
|
+
export declare function useTextEditorSelections(textEditor: MaybeNullableRefOrGetter<TextEditor>, acceptKind?: MaybeRefOrGetter<(TextEditorSelectionChangeKind | undefined)[]>): import('@vue/reactivity').WritableComputedRef<readonly import('vscode').Selection[]>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TextEditor } from 'vscode';
|
|
2
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @reactive `TextEditor.viewColumn`
|
|
5
6
|
* @category editor
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare function useTextEditorViewColumn(textEditor: MaybeNullableRefOrGetter<TextEditor>): import('@vue/reactivity').ComputedRef<import('vscode').ViewColumn | undefined>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TextEditor } from 'vscode';
|
|
2
|
+
import { MaybeNullableRefOrGetter } from '../utils';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @reactive `TextEditor.visibleRanges`
|
|
5
6
|
* @category editor
|
|
6
7
|
*/
|
|
7
|
-
export declare
|
|
8
|
+
export declare function useTextEditorVisibleRanges(textEditor: MaybeNullableRefOrGetter<TextEditor>): import('@vue/reactivity').ComputedRef<readonly import('vscode').Range[]>;
|