@@ -56,21 +56,22 @@ Full featured cm6 extension for json, including `@codemirror/lang-json`
56
56
57
57
#### Defined in
58
58
59
- [ bundled.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/bundled.ts#L14 )
59
+ [ bundled.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/bundled.ts#L14 )
60
60
61
61
## Codemirror Extensions
62
62
63
63
### jsonCompletion
64
64
65
- ▸ ** jsonCompletion** (` schema ` ): (` ctx ` : ` CompletionContext ` ) => ` CompletionResult `
65
+ ▸ ** jsonCompletion** (` schema ` , ` opts? ` ): (` ctx ` : ` CompletionContext ` ) => ` CompletionResult `
66
66
67
67
provides a JSON schema enabled autocomplete extension for codemirror
68
68
69
69
#### Parameters
70
70
71
- | Name | Type |
72
- | :------- | :------------ |
73
- | ` schema ` | ` JSONSchema7 ` |
71
+ | Name | Type |
72
+ | :------- | :---------------------- |
73
+ | ` schema ` | ` JSONSchema7 ` |
74
+ | ` opts ` | ` JSONCompletionOptions ` |
74
75
75
76
#### Returns
76
77
@@ -90,7 +91,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
90
91
91
92
#### Defined in
92
93
93
- [ json-completion.ts:762 ] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-completion.ts#L762 )
94
+ [ json-completion.ts:806 ] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-completion.ts#L806 )
94
95
95
96
---
96
97
@@ -127,7 +128,7 @@ provides a JSON schema enabled tooltip extension for codemirror
127
128
128
129
#### Defined in
129
130
130
- [ json-hover.ts:38] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-hover.ts#L38 )
131
+ [ json-hover.ts:38] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-hover.ts#L38 )
131
132
132
133
---
133
134
@@ -162,7 +163,7 @@ Helper for simpler class instantiaton
162
163
163
164
#### Defined in
164
165
165
- [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-validation.ts#L35 )
166
+ [ json-validation.ts:35] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-validation.ts#L35 )
166
167
167
168
## Utilities
168
169
@@ -185,7 +186,7 @@ retrieve a Map of all the json pointers in a document
185
186
186
187
#### Defined in
187
188
188
- [ utils/jsonPointers.ts:56] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/jsonPointers.ts#L56 )
189
+ [ utils/jsonPointers.ts:56] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/jsonPointers.ts#L56 )
189
190
190
191
---
191
192
@@ -209,7 +210,7 @@ retrieve a JSON pointer for a given position in the editor
209
210
210
211
#### Defined in
211
212
212
- [ utils/jsonPointers.ts:44] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/jsonPointers.ts#L44 )
213
+ [ utils/jsonPointers.ts:44] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/jsonPointers.ts#L44 )
213
214
214
215
---
215
216
@@ -236,7 +237,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
236
237
237
238
#### Defined in
238
239
239
- [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/parseJSONDocument.ts#L23 )
240
+ [ utils/parseJSONDocument.ts:23] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/parseJSONDocument.ts#L23 )
240
241
241
242
---
242
243
@@ -263,7 +264,7 @@ Return parsed data and json pointers for a given codemirror EditorState
263
264
264
265
#### Defined in
265
266
266
- [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/parseJSONDocument.ts#L9 )
267
+ [ utils/parseJSONDocument.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/parseJSONDocument.ts#L9 )
267
268
268
269
## Functions
269
270
@@ -284,7 +285,7 @@ Return parsed data and json pointers for a given codemirror EditorState
284
285
285
286
#### Defined in
286
287
287
- [ utils/jsonPointers.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/jsonPointers.ts#L12 )
288
+ [ utils/jsonPointers.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/jsonPointers.ts#L12 )
288
289
289
290
## Type Aliases
290
291
@@ -301,7 +302,7 @@ Return parsed data and json pointers for a given codemirror EditorState
301
302
302
303
#### Defined in
303
304
304
- [ json-hover.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-hover.ts#L12 )
305
+ [ json-hover.ts:12] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-hover.ts#L12 )
305
306
306
307
---
307
308
@@ -311,7 +312,7 @@ Return parsed data and json pointers for a given codemirror EditorState
311
312
312
313
#### Defined in
313
314
314
- [ json-hover.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-hover.ts#L14 )
315
+ [ json-hover.ts:14] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-hover.ts#L14 )
315
316
316
317
---
317
318
@@ -329,7 +330,7 @@ Return parsed data and json pointers for a given codemirror EditorState
329
330
330
331
#### Defined in
331
332
332
- [ json-hover.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-hover.ts#L18 )
333
+ [ json-hover.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-hover.ts#L18 )
333
334
334
335
---
335
336
@@ -339,7 +340,7 @@ Return parsed data and json pointers for a given codemirror EditorState
339
340
340
341
#### Defined in
341
342
342
- [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/utils/jsonPointers.ts#L8 )
343
+ [ utils/jsonPointers.ts:8] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/utils/jsonPointers.ts#L8 )
343
344
344
345
---
345
346
@@ -356,7 +357,7 @@ Return parsed data and json pointers for a given codemirror EditorState
356
357
357
358
#### Defined in
358
359
359
- [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/types.ts#L4 )
360
+ [ types.ts:4] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/types.ts#L4 )
360
361
361
362
---
362
363
@@ -375,7 +376,7 @@ Return parsed data and json pointers for a given codemirror EditorState
375
376
376
377
#### Defined in
377
378
378
- [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/types.ts#L9 )
379
+ [ types.ts:9] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/types.ts#L9 )
379
380
380
381
---
381
382
@@ -385,7 +386,7 @@ Return parsed data and json pointers for a given codemirror EditorState
385
386
386
387
#### Defined in
387
388
388
- [ types.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/types.ts#L18 )
389
+ [ types.ts:18] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/types.ts#L18 )
389
390
390
391
---
391
392
@@ -402,4 +403,4 @@ Return parsed data and json pointers for a given codemirror EditorState
402
403
403
404
#### Defined in
404
405
405
- [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/8d7fa57 /src/json-validation.ts#L24 )
406
+ [ json-validation.ts:24] ( https://github.com/acao/codemirror-json-schema/blob/14a26f8 /src/json-validation.ts#L24 )
0 commit comments