@knime/scripting-editor 0.0.66 → 0.0.67
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/main.js +9907 -9865
- package/dist/src/editor.d.ts +5 -2
- package/package.json +1 -1
package/dist/src/editor.d.ts
CHANGED
|
@@ -47,11 +47,14 @@ export type UseCodeEditorReturn = {
|
|
|
47
47
|
insertColumnReference: (textToInsert: string, requiredImport?: string) => void;
|
|
48
48
|
/**
|
|
49
49
|
* Inserts the specified function reference at the current cursor position in the editor.
|
|
50
|
-
* Uses snippets to give really nice insertion behavior for function arguments.
|
|
50
|
+
* Uses snippets to give really nice insertion behavior for function arguments. If the
|
|
51
|
+
* arguments are null, the function will be inserted without arguments OR brackets.
|
|
52
|
+
* If the arguments are an empty list, the function will be inserted with empty brackets.
|
|
53
|
+
*
|
|
51
54
|
* @param functionName
|
|
52
55
|
* @param functionArgs the arguments to the function.
|
|
53
56
|
*/
|
|
54
|
-
insertFunctionReference: (functionName: string, functionArgs: string[]) => void;
|
|
57
|
+
insertFunctionReference: (functionName: string, functionArgs: string[] | null) => void;
|
|
55
58
|
};
|
|
56
59
|
export type UseDiffEditorParams = ContainerParams & {
|
|
57
60
|
originalModel: monaco.editor.ITextModel;
|
package/package.json
CHANGED