@girs/gtksource-5 5.9.0-3.2.0 → 5.9.0-3.2.2

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-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.2.0.
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.2.2.
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
@@ -1245,6 +1245,14 @@ export interface Buffer {
1245
1245
  */
1246
1246
  implicit_trailing_newline: boolean
1247
1247
  language: Language
1248
+ /**
1249
+ * The "loading" property denotes that a `GtkSourceFileLoader` is
1250
+ * currently loading the buffer.
1251
+ *
1252
+ * Applications may want to use this setting to avoid doing work
1253
+ * while the buffer is loading such as spellchecking.
1254
+ */
1255
+ readonly loading: boolean
1248
1256
  /**
1249
1257
  * Style scheme. It contains styles for syntax highlighting, optionally
1250
1258
  * foreground, background, cursor color, current line color, and matching
@@ -1353,6 +1361,7 @@ export interface Buffer {
1353
1361
  * @returns the [class@Language] associated with the buffer, or %NULL.
1354
1362
  */
1355
1363
  get_language(): Language | null
1364
+ get_loading(): boolean
1356
1365
  /**
1357
1366
  * Returns the list of marks of the given category at `iter`.
1358
1367
  *
@@ -1541,6 +1550,9 @@ export interface Buffer {
1541
1550
  connect(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1542
1551
  connect_after(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1543
1552
  emit(sigName: "notify::language", ...args: any[]): void
1553
+ connect(sigName: "notify::loading", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1554
+ connect_after(sigName: "notify::loading", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1555
+ emit(sigName: "notify::loading", ...args: any[]): void
1544
1556
  connect(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1545
1557
  connect_after(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1546
1558
  emit(sigName: "notify::style-scheme", ...args: any[]): void
@@ -8527,6 +8539,9 @@ export interface StyleSchemeChooserButton extends Gtk.Accessible, Gtk.Actionable
8527
8539
 
8528
8540
  // Class property signals of GtkSource-5.GtkSource.StyleSchemeChooserButton
8529
8541
 
8542
+ connect(sigName: "notify::can-shrink", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8543
+ connect_after(sigName: "notify::can-shrink", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8544
+ emit(sigName: "notify::can-shrink", ...args: any[]): void
8530
8545
  connect(sigName: "notify::child", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8531
8546
  connect_after(sigName: "notify::child", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8532
8547
  emit(sigName: "notify::child", ...args: any[]): void
package/gtksource-5.d.ts CHANGED
@@ -1247,6 +1247,14 @@ interface Buffer {
1247
1247
  */
1248
1248
  implicit_trailing_newline: boolean
1249
1249
  language: Language
1250
+ /**
1251
+ * The "loading" property denotes that a `GtkSourceFileLoader` is
1252
+ * currently loading the buffer.
1253
+ *
1254
+ * Applications may want to use this setting to avoid doing work
1255
+ * while the buffer is loading such as spellchecking.
1256
+ */
1257
+ readonly loading: boolean
1250
1258
  /**
1251
1259
  * Style scheme. It contains styles for syntax highlighting, optionally
1252
1260
  * foreground, background, cursor color, current line color, and matching
@@ -1355,6 +1363,7 @@ interface Buffer {
1355
1363
  * @returns the [class@Language] associated with the buffer, or %NULL.
1356
1364
  */
1357
1365
  get_language(): Language | null
1366
+ get_loading(): boolean
1358
1367
  /**
1359
1368
  * Returns the list of marks of the given category at `iter`.
1360
1369
  *
@@ -1543,6 +1552,9 @@ interface Buffer {
1543
1552
  connect(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1544
1553
  connect_after(sigName: "notify::language", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1545
1554
  emit(sigName: "notify::language", ...args: any[]): void
1555
+ connect(sigName: "notify::loading", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1556
+ connect_after(sigName: "notify::loading", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1557
+ emit(sigName: "notify::loading", ...args: any[]): void
1546
1558
  connect(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1547
1559
  connect_after(sigName: "notify::style-scheme", callback: (($obj: Buffer, pspec: GObject.ParamSpec) => void)): number
1548
1560
  emit(sigName: "notify::style-scheme", ...args: any[]): void
@@ -8529,6 +8541,9 @@ interface StyleSchemeChooserButton extends Gtk.Accessible, Gtk.Actionable, Gtk.B
8529
8541
 
8530
8542
  // Class property signals of GtkSource-5.GtkSource.StyleSchemeChooserButton
8531
8543
 
8544
+ connect(sigName: "notify::can-shrink", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8545
+ connect_after(sigName: "notify::can-shrink", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8546
+ emit(sigName: "notify::can-shrink", ...args: any[]): void
8532
8547
  connect(sigName: "notify::child", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8533
8548
  connect_after(sigName: "notify::child", callback: (($obj: StyleSchemeChooserButton, pspec: GObject.ParamSpec) => void)): number
8534
8549
  emit(sigName: "notify::child", ...args: any[]): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtksource-5",
3
- "version": "5.9.0-3.2.0",
3
+ "version": "5.9.0-3.2.2",
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",
@@ -25,21 +25,21 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtksource-5.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/cairo-1.0": "^1.0.0-3.2.0",
29
- "@girs/freetype2-2.0": "^2.0.0-3.2.0",
30
- "@girs/gdk-4.0": "^4.0.0-3.2.0",
31
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.0",
32
- "@girs/gio-2.0": "^2.76.1-3.2.0",
33
- "@girs/gjs": "^3.2.0",
34
- "@girs/glib-2.0": "^2.76.1-3.2.0",
35
- "@girs/gmodule-2.0": "^2.0.0-3.2.0",
36
- "@girs/gobject-2.0": "^2.76.1-3.2.0",
37
- "@girs/graphene-1.0": "^1.0.0-3.2.0",
38
- "@girs/gsk-4.0": "^4.0.0-3.2.0",
39
- "@girs/gtk-4.0": "^4.10.4-3.2.0",
40
- "@girs/harfbuzz-0.0": "^7.1.0-3.2.0",
41
- "@girs/pango-1.0": "^1.50.14-3.2.0",
42
- "@girs/pangocairo-1.0": "^1.0.0-3.2.0"
28
+ "@girs/cairo-1.0": "^1.0.0-3.2.2",
29
+ "@girs/freetype2-2.0": "^2.0.0-3.2.2",
30
+ "@girs/gdk-4.0": "^4.0.0-3.2.2",
31
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.2",
32
+ "@girs/gio-2.0": "^2.77.0-3.2.2",
33
+ "@girs/gjs": "^3.2.2",
34
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
35
+ "@girs/gmodule-2.0": "^2.0.0-3.2.2",
36
+ "@girs/gobject-2.0": "^2.77.0-3.2.2",
37
+ "@girs/graphene-1.0": "^1.0.0-3.2.2",
38
+ "@girs/gsk-4.0": "^4.0.0-3.2.2",
39
+ "@girs/gtk-4.0": "^4.12.0-3.2.2",
40
+ "@girs/harfbuzz-0.0": "^7.1.0-3.2.2",
41
+ "@girs/pango-1.0": "^1.51.0-3.2.2",
42
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./gtksource-5.d.ts","./gtksource-5-ambient.d.ts","./gtksource-5-import.d.ts"],
2
+ "entryPoints": ["./gtksource-5.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "GtkSource-5",
5
5
  "tsconfig": "./tsconfig.json"