@girs/gtksource-5 5.9.0-3.2.8 → 5.9.0-3.3.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/README.md +1 -1
- package/gtksource-5.d.cts +10 -10
- package/gtksource-5.d.ts +10 -10
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GtkSource-5, generated from library version 5.9.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.
|
|
8
|
+
GJS TypeScript type definitions for GtkSource-5, generated from library version 5.9.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.3.0.
|
|
9
9
|
|
|
10
10
|
GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+ widget for multiline text editing. GtkSourceView adds support for syntax highlighting, undo/redo, file loading and saving, search and replace, a completion system, printing, displaying line numbers, and other features typical of a source code editor.
|
|
11
11
|
|
package/gtksource-5.d.cts
CHANGED
|
@@ -645,7 +645,7 @@ export interface CompletionProvider {
|
|
|
645
645
|
* through similar proposals, such as overrides of methods by the same name.
|
|
646
646
|
* @param context a #GtkSourceCompletionContext
|
|
647
647
|
* @param proposal a #GtkSourceCompletionProposal
|
|
648
|
-
* @returns
|
|
648
|
+
* @returns a #GPtrArray of #GtkSourceCompletionProposal or %NULL.
|
|
649
649
|
*/
|
|
650
650
|
list_alternates(context: CompletionContext, proposal: CompletionProposal): CompletionProposal[] | null
|
|
651
651
|
/**
|
|
@@ -787,7 +787,7 @@ export interface CompletionProvider {
|
|
|
787
787
|
* @virtual
|
|
788
788
|
* @param context a #GtkSourceCompletionContext
|
|
789
789
|
* @param proposal a #GtkSourceCompletionProposal
|
|
790
|
-
* @returns
|
|
790
|
+
* @returns a #GPtrArray of #GtkSourceCompletionProposal or %NULL.
|
|
791
791
|
*/
|
|
792
792
|
vfunc_list_alternates(context: CompletionContext, proposal: CompletionProposal): CompletionProposal[] | null
|
|
793
793
|
/**
|
|
@@ -1368,7 +1368,7 @@ export interface Buffer {
|
|
|
1368
1368
|
* If `category` is %NULL it returns all marks at `iter`.
|
|
1369
1369
|
* @param iter an iterator.
|
|
1370
1370
|
* @param category category to search for, or %NULL
|
|
1371
|
-
* @returns
|
|
1371
|
+
* @returns a newly allocated #GSList.
|
|
1372
1372
|
*/
|
|
1373
1373
|
get_source_marks_at_iter(iter: Gtk.TextIter, category: string | null): Mark[]
|
|
1374
1374
|
/**
|
|
@@ -1377,7 +1377,7 @@ export interface Buffer {
|
|
|
1377
1377
|
* If `category` is %NULL, all marks at `line` are returned.
|
|
1378
1378
|
* @param line a line number.
|
|
1379
1379
|
* @param category category to search for, or %NULL
|
|
1380
|
-
* @returns
|
|
1380
|
+
* @returns a newly allocated #GSList.
|
|
1381
1381
|
*/
|
|
1382
1382
|
get_source_marks_at_line(line: number, category: string | null): Mark[]
|
|
1383
1383
|
/**
|
|
@@ -4873,7 +4873,7 @@ export interface Language {
|
|
|
4873
4873
|
*
|
|
4874
4874
|
* This is just an utility wrapper around [method`Language`.get_metadata] to
|
|
4875
4875
|
* retrieve the "globs" metadata property and split it into an array.
|
|
4876
|
-
* @returns
|
|
4876
|
+
* @returns a newly-allocated %NULL terminated array containing the globs or %NULL if no globs are found. The returned array must be freed with g_strfreev().
|
|
4877
4877
|
*/
|
|
4878
4878
|
get_globs(): string[] | null
|
|
4879
4879
|
/**
|
|
@@ -4896,7 +4896,7 @@ export interface Language {
|
|
|
4896
4896
|
* This is just an utility wrapper around [method`Language`.get_metadata] to
|
|
4897
4897
|
* retrieve the "mimetypes" metadata property and split it into an
|
|
4898
4898
|
* array.
|
|
4899
|
-
* @returns
|
|
4899
|
+
* @returns a newly-allocated %NULL terminated array containing the mime types or %NULL if no mime types are found. The returned array must be freed with g_strfreev().
|
|
4900
4900
|
*/
|
|
4901
4901
|
get_mime_types(): string[] | null
|
|
4902
4902
|
/**
|
|
@@ -4926,7 +4926,7 @@ export interface Language {
|
|
|
4926
4926
|
get_style_fallback(style_id: string): string | null
|
|
4927
4927
|
/**
|
|
4928
4928
|
* Returns the ids of the styles defined by this `language`.
|
|
4929
|
-
* @returns
|
|
4929
|
+
* @returns a newly-allocated %NULL terminated array containing ids of the styles defined by this @language or %NULL if no style is defined. The returned array must be freed with g_strfreev().
|
|
4930
4930
|
*/
|
|
4931
4931
|
get_style_ids(): string[] | null
|
|
4932
4932
|
/**
|
|
@@ -5018,7 +5018,7 @@ export interface LanguageManager {
|
|
|
5018
5018
|
get_language(id: string): Language | null
|
|
5019
5019
|
/**
|
|
5020
5020
|
* Returns the ids of the available languages.
|
|
5021
|
-
* @returns
|
|
5021
|
+
* @returns a %NULL-terminated array of strings containing the ids of the available languages or %NULL if no language is available. The array is sorted alphabetically according to the language name. The array is owned by @lm and must not be modified.
|
|
5022
5022
|
*/
|
|
5023
5023
|
get_language_ids(): string[] | null
|
|
5024
5024
|
/**
|
|
@@ -7964,7 +7964,7 @@ export interface SnippetManager {
|
|
|
7964
7964
|
*
|
|
7965
7965
|
* The result should be freed with g_free(), and the individual strings are
|
|
7966
7966
|
* owned by `self` and should never be freed by the caller.
|
|
7967
|
-
* @returns
|
|
7967
|
+
* @returns An array of strings which should be freed with g_free().
|
|
7968
7968
|
*/
|
|
7969
7969
|
list_groups(): string[]
|
|
7970
7970
|
/**
|
|
@@ -8928,7 +8928,7 @@ export interface StyleSchemeManager {
|
|
|
8928
8928
|
get_scheme(scheme_id: string): StyleScheme | null
|
|
8929
8929
|
/**
|
|
8930
8930
|
* Returns the ids of the available style schemes.
|
|
8931
|
-
* @returns
|
|
8931
|
+
* @returns a %NULL-terminated array of strings containing the ids of the available style schemes or %NULL if no style scheme is available. The array is sorted alphabetically according to the scheme name. The array is owned by the @manager and must not be modified.
|
|
8932
8932
|
*/
|
|
8933
8933
|
get_scheme_ids(): string[] | null
|
|
8934
8934
|
/**
|
package/gtksource-5.d.ts
CHANGED
|
@@ -647,7 +647,7 @@ interface CompletionProvider {
|
|
|
647
647
|
* through similar proposals, such as overrides of methods by the same name.
|
|
648
648
|
* @param context a #GtkSourceCompletionContext
|
|
649
649
|
* @param proposal a #GtkSourceCompletionProposal
|
|
650
|
-
* @returns
|
|
650
|
+
* @returns a #GPtrArray of #GtkSourceCompletionProposal or %NULL.
|
|
651
651
|
*/
|
|
652
652
|
list_alternates(context: CompletionContext, proposal: CompletionProposal): CompletionProposal[] | null
|
|
653
653
|
/**
|
|
@@ -789,7 +789,7 @@ interface CompletionProvider {
|
|
|
789
789
|
* @virtual
|
|
790
790
|
* @param context a #GtkSourceCompletionContext
|
|
791
791
|
* @param proposal a #GtkSourceCompletionProposal
|
|
792
|
-
* @returns
|
|
792
|
+
* @returns a #GPtrArray of #GtkSourceCompletionProposal or %NULL.
|
|
793
793
|
*/
|
|
794
794
|
vfunc_list_alternates(context: CompletionContext, proposal: CompletionProposal): CompletionProposal[] | null
|
|
795
795
|
/**
|
|
@@ -1370,7 +1370,7 @@ interface Buffer {
|
|
|
1370
1370
|
* If `category` is %NULL it returns all marks at `iter`.
|
|
1371
1371
|
* @param iter an iterator.
|
|
1372
1372
|
* @param category category to search for, or %NULL
|
|
1373
|
-
* @returns
|
|
1373
|
+
* @returns a newly allocated #GSList.
|
|
1374
1374
|
*/
|
|
1375
1375
|
get_source_marks_at_iter(iter: Gtk.TextIter, category: string | null): Mark[]
|
|
1376
1376
|
/**
|
|
@@ -1379,7 +1379,7 @@ interface Buffer {
|
|
|
1379
1379
|
* If `category` is %NULL, all marks at `line` are returned.
|
|
1380
1380
|
* @param line a line number.
|
|
1381
1381
|
* @param category category to search for, or %NULL
|
|
1382
|
-
* @returns
|
|
1382
|
+
* @returns a newly allocated #GSList.
|
|
1383
1383
|
*/
|
|
1384
1384
|
get_source_marks_at_line(line: number, category: string | null): Mark[]
|
|
1385
1385
|
/**
|
|
@@ -4875,7 +4875,7 @@ interface Language {
|
|
|
4875
4875
|
*
|
|
4876
4876
|
* This is just an utility wrapper around [method`Language`.get_metadata] to
|
|
4877
4877
|
* retrieve the "globs" metadata property and split it into an array.
|
|
4878
|
-
* @returns
|
|
4878
|
+
* @returns a newly-allocated %NULL terminated array containing the globs or %NULL if no globs are found. The returned array must be freed with g_strfreev().
|
|
4879
4879
|
*/
|
|
4880
4880
|
get_globs(): string[] | null
|
|
4881
4881
|
/**
|
|
@@ -4898,7 +4898,7 @@ interface Language {
|
|
|
4898
4898
|
* This is just an utility wrapper around [method`Language`.get_metadata] to
|
|
4899
4899
|
* retrieve the "mimetypes" metadata property and split it into an
|
|
4900
4900
|
* array.
|
|
4901
|
-
* @returns
|
|
4901
|
+
* @returns a newly-allocated %NULL terminated array containing the mime types or %NULL if no mime types are found. The returned array must be freed with g_strfreev().
|
|
4902
4902
|
*/
|
|
4903
4903
|
get_mime_types(): string[] | null
|
|
4904
4904
|
/**
|
|
@@ -4928,7 +4928,7 @@ interface Language {
|
|
|
4928
4928
|
get_style_fallback(style_id: string): string | null
|
|
4929
4929
|
/**
|
|
4930
4930
|
* Returns the ids of the styles defined by this `language`.
|
|
4931
|
-
* @returns
|
|
4931
|
+
* @returns a newly-allocated %NULL terminated array containing ids of the styles defined by this @language or %NULL if no style is defined. The returned array must be freed with g_strfreev().
|
|
4932
4932
|
*/
|
|
4933
4933
|
get_style_ids(): string[] | null
|
|
4934
4934
|
/**
|
|
@@ -5020,7 +5020,7 @@ interface LanguageManager {
|
|
|
5020
5020
|
get_language(id: string): Language | null
|
|
5021
5021
|
/**
|
|
5022
5022
|
* Returns the ids of the available languages.
|
|
5023
|
-
* @returns
|
|
5023
|
+
* @returns a %NULL-terminated array of strings containing the ids of the available languages or %NULL if no language is available. The array is sorted alphabetically according to the language name. The array is owned by @lm and must not be modified.
|
|
5024
5024
|
*/
|
|
5025
5025
|
get_language_ids(): string[] | null
|
|
5026
5026
|
/**
|
|
@@ -7966,7 +7966,7 @@ interface SnippetManager {
|
|
|
7966
7966
|
*
|
|
7967
7967
|
* The result should be freed with g_free(), and the individual strings are
|
|
7968
7968
|
* owned by `self` and should never be freed by the caller.
|
|
7969
|
-
* @returns
|
|
7969
|
+
* @returns An array of strings which should be freed with g_free().
|
|
7970
7970
|
*/
|
|
7971
7971
|
list_groups(): string[]
|
|
7972
7972
|
/**
|
|
@@ -8930,7 +8930,7 @@ interface StyleSchemeManager {
|
|
|
8930
8930
|
get_scheme(scheme_id: string): StyleScheme | null
|
|
8931
8931
|
/**
|
|
8932
8932
|
* Returns the ids of the available style schemes.
|
|
8933
|
-
* @returns
|
|
8933
|
+
* @returns a %NULL-terminated array of strings containing the ids of the available style schemes or %NULL if no style scheme is available. The array is sorted alphabetically according to the scheme name. The array is owned by the @manager and must not be modified.
|
|
8934
8934
|
*/
|
|
8935
8935
|
get_scheme_ids(): string[] | null
|
|
8936
8936
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtksource-5",
|
|
3
|
-
"version": "5.9.0-3.
|
|
3
|
+
"version": "5.9.0-3.3.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GtkSource-5, generated from library version 5.9.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtksource-5.js",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtksource-5.d.cts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/cairo-1.0": "^1.0.0-3.
|
|
35
|
-
"@girs/freetype2-2.0": "^2.0.0-3.
|
|
36
|
-
"@girs/gdk-4.0": "^4.0.0-3.
|
|
37
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.
|
|
38
|
-
"@girs/gio-2.0": "^2.
|
|
39
|
-
"@girs/gjs": "^3.
|
|
40
|
-
"@girs/glib-2.0": "^2.
|
|
41
|
-
"@girs/gmodule-2.0": "^2.0.0-3.
|
|
42
|
-
"@girs/gobject-2.0": "^2.
|
|
43
|
-
"@girs/graphene-1.0": "^1.0.0-3.
|
|
44
|
-
"@girs/gsk-4.0": "^4.0.0-3.
|
|
45
|
-
"@girs/gtk-4.0": "^4.12.
|
|
46
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
47
|
-
"@girs/pango-1.0": "^1.51.0-3.
|
|
48
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.
|
|
34
|
+
"@girs/cairo-1.0": "^1.0.0-3.3.0",
|
|
35
|
+
"@girs/freetype2-2.0": "^2.0.0-3.3.0",
|
|
36
|
+
"@girs/gdk-4.0": "^4.0.0-3.3.0",
|
|
37
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.3.0",
|
|
38
|
+
"@girs/gio-2.0": "^2.78.0-3.3.0",
|
|
39
|
+
"@girs/gjs": "^3.3.0",
|
|
40
|
+
"@girs/glib-2.0": "^2.78.0-3.3.0",
|
|
41
|
+
"@girs/gmodule-2.0": "^2.0.0-3.3.0",
|
|
42
|
+
"@girs/gobject-2.0": "^2.78.0-3.3.0",
|
|
43
|
+
"@girs/graphene-1.0": "^1.0.0-3.3.0",
|
|
44
|
+
"@girs/gsk-4.0": "^4.0.0-3.3.0",
|
|
45
|
+
"@girs/gtk-4.0": "^4.12.5-3.3.0",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.3.0",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.3.0",
|
|
48
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.3.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"typescript": "*"
|