@girs/gtksource-4 4.0.0-3.2.8 → 4.0.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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gtksource-4)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GtkSource-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
8
+ GJS TypeScript type definitions for GtkSource-4, generated from library version 4.0.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
 
@@ -4,9 +4,5 @@ declare module 'gi://GtkSource?version=4' {
4
4
  export default GtkSource4;
5
5
  }
6
6
 
7
- declare module 'gi://GtkSource' {
8
- import GtkSource4 from '@girs/gtksource-4';
9
- export default GtkSource4;
10
- }
11
7
 
12
8
 
package/gtksource-4.d.cts CHANGED
@@ -1392,7 +1392,7 @@ export interface Buffer {
1392
1392
  * is %NULL it returns all marks at `iter`.
1393
1393
  * @param iter an iterator.
1394
1394
  * @param category category to search for, or %NULL
1395
- * @returns a newly allocated #GSList.
1395
+ * @returns a newly allocated #GSList.
1396
1396
  */
1397
1397
  get_source_marks_at_iter(iter: Gtk.TextIter, category: string | null): Mark[]
1398
1398
  /**
@@ -1400,7 +1400,7 @@ export interface Buffer {
1400
1400
  * If `category` is %NULL, all marks at `line` are returned.
1401
1401
  * @param line a line number.
1402
1402
  * @param category category to search for, or %NULL
1403
- * @returns a newly allocated #GSList.
1403
+ * @returns a newly allocated #GSList.
1404
1404
  */
1405
1405
  get_source_marks_at_line(line: number, category: string | null): Mark[]
1406
1406
  /**
@@ -1922,7 +1922,7 @@ export interface Completion extends Gtk.Buildable {
1922
1922
  /**
1923
1923
  * Get list of providers registered on `completion`. The returned list is owned
1924
1924
  * by the completion and should not be freed.
1925
- * @returns list of #GtkSourceCompletionProvider.
1925
+ * @returns list of #GtkSourceCompletionProvider.
1926
1926
  */
1927
1927
  get_providers(): CompletionProvider[]
1928
1928
  /**
@@ -1951,7 +1951,7 @@ export interface Completion extends Gtk.Buildable {
1951
1951
  * Another solution is to add providers with
1952
1952
  * gtk_source_completion_add_provider(), and implement
1953
1953
  * gtk_source_completion_provider_match() for each provider.
1954
- * @param providers a list of #GtkSourceCompletionProvider, or %NULL.
1954
+ * @param providers a list of #GtkSourceCompletionProvider, or %NULL.
1955
1955
  * @param context The #GtkSourceCompletionContext with which to start the completion.
1956
1956
  * @returns %TRUE if it was possible to the show completion window.
1957
1957
  */
@@ -4193,7 +4193,7 @@ export interface Language {
4193
4193
  * Returns the globs associated to this language. This is just
4194
4194
  * an utility wrapper around gtk_source_language_get_metadata() to
4195
4195
  * retrieve the "globs" metadata property and split it into an array.
4196
- * @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().
4196
+ * @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().
4197
4197
  */
4198
4198
  get_globs(): string[] | null
4199
4199
  /**
@@ -4214,7 +4214,7 @@ export interface Language {
4214
4214
  * an utility wrapper around gtk_source_language_get_metadata() to
4215
4215
  * retrieve the "mimetypes" metadata property and split it into an
4216
4216
  * array.
4217
- * @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().
4217
+ * @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().
4218
4218
  */
4219
4219
  get_mime_types(): string[] | null
4220
4220
  /**
@@ -4242,7 +4242,7 @@ export interface Language {
4242
4242
  get_style_fallback(style_id: string): string | null
4243
4243
  /**
4244
4244
  * Returns the ids of the styles defined by this `language`.
4245
- * @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().
4245
+ * @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().
4246
4246
  */
4247
4247
  get_style_ids(): string[] | null
4248
4248
  /**
@@ -4321,7 +4321,7 @@ export interface LanguageManager {
4321
4321
  get_language(id: string): Language | null
4322
4322
  /**
4323
4323
  * Returns the ids of the available languages.
4324
- * @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.
4324
+ * @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.
4325
4325
  */
4326
4326
  get_language_ids(): string[] | null
4327
4327
  /**
@@ -4380,7 +4380,7 @@ export interface LanguageManager {
4380
4380
  * you have to call this function right after creating it.
4381
4381
  * </para>
4382
4382
  * </note>
4383
- * @param dirs a %NULL-terminated array of strings or %NULL.
4383
+ * @param dirs a %NULL-terminated array of strings or %NULL.
4384
4384
  */
4385
4385
  set_search_path(dirs: string[] | null): void
4386
4386
 
@@ -7408,7 +7408,7 @@ export interface StyleSchemeManager {
7408
7408
  get_scheme(scheme_id: string): StyleScheme | null
7409
7409
  /**
7410
7410
  * Returns the ids of the available style schemes.
7411
- * @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.
7411
+ * @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.
7412
7412
  */
7413
7413
  get_scheme_ids(): string[] | null
7414
7414
  /**
@@ -7428,7 +7428,7 @@ export interface StyleSchemeManager {
7428
7428
  * Sets the list of directories where the `manager` looks for
7429
7429
  * style scheme files.
7430
7430
  * If `path` is %NULL, the search path is reset to default.
7431
- * @param path a %NULL-terminated array of strings or %NULL.
7431
+ * @param path a %NULL-terminated array of strings or %NULL.
7432
7432
  */
7433
7433
  set_search_path(path: string[] | null): void
7434
7434
 
package/gtksource-4.d.ts CHANGED
@@ -1394,7 +1394,7 @@ interface Buffer {
1394
1394
  * is %NULL it returns all marks at `iter`.
1395
1395
  * @param iter an iterator.
1396
1396
  * @param category category to search for, or %NULL
1397
- * @returns a newly allocated #GSList.
1397
+ * @returns a newly allocated #GSList.
1398
1398
  */
1399
1399
  get_source_marks_at_iter(iter: Gtk.TextIter, category: string | null): Mark[]
1400
1400
  /**
@@ -1402,7 +1402,7 @@ interface Buffer {
1402
1402
  * If `category` is %NULL, all marks at `line` are returned.
1403
1403
  * @param line a line number.
1404
1404
  * @param category category to search for, or %NULL
1405
- * @returns a newly allocated #GSList.
1405
+ * @returns a newly allocated #GSList.
1406
1406
  */
1407
1407
  get_source_marks_at_line(line: number, category: string | null): Mark[]
1408
1408
  /**
@@ -1924,7 +1924,7 @@ interface Completion extends Gtk.Buildable {
1924
1924
  /**
1925
1925
  * Get list of providers registered on `completion`. The returned list is owned
1926
1926
  * by the completion and should not be freed.
1927
- * @returns list of #GtkSourceCompletionProvider.
1927
+ * @returns list of #GtkSourceCompletionProvider.
1928
1928
  */
1929
1929
  get_providers(): CompletionProvider[]
1930
1930
  /**
@@ -1953,7 +1953,7 @@ interface Completion extends Gtk.Buildable {
1953
1953
  * Another solution is to add providers with
1954
1954
  * gtk_source_completion_add_provider(), and implement
1955
1955
  * gtk_source_completion_provider_match() for each provider.
1956
- * @param providers a list of #GtkSourceCompletionProvider, or %NULL.
1956
+ * @param providers a list of #GtkSourceCompletionProvider, or %NULL.
1957
1957
  * @param context The #GtkSourceCompletionContext with which to start the completion.
1958
1958
  * @returns %TRUE if it was possible to the show completion window.
1959
1959
  */
@@ -4195,7 +4195,7 @@ interface Language {
4195
4195
  * Returns the globs associated to this language. This is just
4196
4196
  * an utility wrapper around gtk_source_language_get_metadata() to
4197
4197
  * retrieve the "globs" metadata property and split it into an array.
4198
- * @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().
4198
+ * @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().
4199
4199
  */
4200
4200
  get_globs(): string[] | null
4201
4201
  /**
@@ -4216,7 +4216,7 @@ interface Language {
4216
4216
  * an utility wrapper around gtk_source_language_get_metadata() to
4217
4217
  * retrieve the "mimetypes" metadata property and split it into an
4218
4218
  * array.
4219
- * @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().
4219
+ * @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().
4220
4220
  */
4221
4221
  get_mime_types(): string[] | null
4222
4222
  /**
@@ -4244,7 +4244,7 @@ interface Language {
4244
4244
  get_style_fallback(style_id: string): string | null
4245
4245
  /**
4246
4246
  * Returns the ids of the styles defined by this `language`.
4247
- * @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().
4247
+ * @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().
4248
4248
  */
4249
4249
  get_style_ids(): string[] | null
4250
4250
  /**
@@ -4323,7 +4323,7 @@ interface LanguageManager {
4323
4323
  get_language(id: string): Language | null
4324
4324
  /**
4325
4325
  * Returns the ids of the available languages.
4326
- * @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.
4326
+ * @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.
4327
4327
  */
4328
4328
  get_language_ids(): string[] | null
4329
4329
  /**
@@ -4382,7 +4382,7 @@ interface LanguageManager {
4382
4382
  * you have to call this function right after creating it.
4383
4383
  * </para>
4384
4384
  * </note>
4385
- * @param dirs a %NULL-terminated array of strings or %NULL.
4385
+ * @param dirs a %NULL-terminated array of strings or %NULL.
4386
4386
  */
4387
4387
  set_search_path(dirs: string[] | null): void
4388
4388
 
@@ -7410,7 +7410,7 @@ interface StyleSchemeManager {
7410
7410
  get_scheme(scheme_id: string): StyleScheme | null
7411
7411
  /**
7412
7412
  * Returns the ids of the available style schemes.
7413
- * @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.
7413
+ * @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.
7414
7414
  */
7415
7415
  get_scheme_ids(): string[] | null
7416
7416
  /**
@@ -7430,7 +7430,7 @@ interface StyleSchemeManager {
7430
7430
  * Sets the list of directories where the `manager` looks for
7431
7431
  * style scheme files.
7432
7432
  * If `path` is %NULL, the search path is reset to default.
7433
- * @param path a %NULL-terminated array of strings or %NULL.
7433
+ * @param path a %NULL-terminated array of strings or %NULL.
7434
7434
  */
7435
7435
  set_search_path(path: string[] | null): void
7436
7436
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtksource-4",
3
- "version": "4.0.0-3.2.8",
3
+ "version": "4.0.0-3.3.0",
4
4
  "description": "GJS TypeScript type definitions for GtkSource-4, generated from library version 4.0.0",
5
5
  "type": "module",
6
6
  "module": "gtksource-4.js",
@@ -31,20 +31,20 @@
31
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtksource-4.d.cts"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.45.1-3.2.8",
35
- "@girs/cairo-1.0": "^1.0.0-3.2.8",
36
- "@girs/freetype2-2.0": "^2.0.0-3.2.8",
37
- "@girs/gdk-3.0": "^3.24.39-3.2.8",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
39
- "@girs/gio-2.0": "^2.77.0-3.2.8",
40
- "@girs/gjs": "^3.2.8",
41
- "@girs/glib-2.0": "^2.77.0-3.2.8",
42
- "@girs/gmodule-2.0": "^2.0.0-3.2.8",
43
- "@girs/gobject-2.0": "^2.77.0-3.2.8",
44
- "@girs/gtk-3.0": "^3.24.39-3.2.8",
45
- "@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
46
- "@girs/pango-1.0": "^1.51.0-3.2.8",
47
- "@girs/xlib-2.0": "^2.0.0-3.2.8"
34
+ "@girs/atk-1.0": "^2.50.1-3.3.0",
35
+ "@girs/cairo-1.0": "^1.0.0-3.3.0",
36
+ "@girs/freetype2-2.0": "^2.0.0-3.3.0",
37
+ "@girs/gdk-3.0": "^3.24.41-3.3.0",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.3.0",
39
+ "@girs/gio-2.0": "^2.78.0-3.3.0",
40
+ "@girs/gjs": "^3.3.0",
41
+ "@girs/glib-2.0": "^2.78.0-3.3.0",
42
+ "@girs/gmodule-2.0": "^2.0.0-3.3.0",
43
+ "@girs/gobject-2.0": "^2.78.0-3.3.0",
44
+ "@girs/gtk-3.0": "^3.24.41-3.3.0",
45
+ "@girs/harfbuzz-0.0": "^8.2.1-3.3.0",
46
+ "@girs/pango-1.0": "^1.51.0-3.3.0",
47
+ "@girs/xlib-2.0": "^2.0.0-3.3.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "*"