@girs/gtksource-5 4.4.0 → 4.6.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/gtksource-5.d.ts CHANGED
@@ -48,19 +48,19 @@ export namespace GtkSource {
48
48
  /**
49
49
  * same color as drawn spaces
50
50
  */
51
- NONE,
51
+ NONE = 0,
52
52
  /**
53
53
  * same as the diff:changed-line foreground color
54
54
  */
55
- WARNING,
55
+ WARNING = 1,
56
56
  /**
57
57
  * same as the diff:removed-line foreground color
58
58
  */
59
- ERROR,
59
+ ERROR = 2,
60
60
  /**
61
61
  * same as the diff:added-line foreground color
62
62
  */
63
- ACCENT,
63
+ ACCENT = 3,
64
64
  }
65
65
 
66
66
 
@@ -78,11 +78,11 @@ export namespace GtkSource {
78
78
  /**
79
79
  * no pattern
80
80
  */
81
- NONE,
81
+ NONE = 0,
82
82
  /**
83
83
  * grid pattern
84
84
  */
85
- GRID,
85
+ GRID = 1,
86
86
  }
87
87
 
88
88
 
@@ -100,20 +100,20 @@ export namespace GtkSource {
100
100
  /**
101
101
  * there is no bracket to match.
102
102
  */
103
- NONE,
103
+ NONE = 0,
104
104
  /**
105
105
  * matching a bracket
106
106
  * failed because the maximum range was reached.
107
107
  */
108
- OUT_OF_RANGE,
108
+ OUT_OF_RANGE = 1,
109
109
  /**
110
110
  * a matching bracket was not found.
111
111
  */
112
- NOT_FOUND,
112
+ NOT_FOUND = 2,
113
113
  /**
114
114
  * a matching bracket was found.
115
115
  */
116
- FOUND,
116
+ FOUND = 3,
117
117
  }
118
118
 
119
119
 
@@ -131,19 +131,19 @@ export namespace GtkSource {
131
131
  /**
132
132
  * change case to lowercase.
133
133
  */
134
- LOWER,
134
+ LOWER = 0,
135
135
  /**
136
136
  * change case to uppercase.
137
137
  */
138
- UPPER,
138
+ UPPER = 1,
139
139
  /**
140
140
  * toggle case of each character.
141
141
  */
142
- TOGGLE,
142
+ TOGGLE = 2,
143
143
  /**
144
144
  * capitalize each word.
145
145
  */
146
- TITLE,
146
+ TITLE = 3,
147
147
  }
148
148
 
149
149
 
@@ -158,9 +158,9 @@ export namespace GtkSource {
158
158
  * @gir-type Enum
159
159
  */
160
160
  enum CompletionActivation {
161
- NONE,
162
- INTERACTIVE,
163
- USER_REQUESTED,
161
+ NONE = 0,
162
+ INTERACTIVE = 1,
163
+ USER_REQUESTED = 2,
164
164
  }
165
165
 
166
166
 
@@ -175,12 +175,12 @@ export namespace GtkSource {
175
175
  * @gir-type Enum
176
176
  */
177
177
  enum CompletionColumn {
178
- ICON,
179
- BEFORE,
180
- TYPED_TEXT,
181
- AFTER,
182
- COMMENT,
183
- DETAILS,
178
+ ICON = 0,
179
+ BEFORE = 1,
180
+ TYPED_TEXT = 2,
181
+ AFTER = 3,
182
+ COMMENT = 4,
183
+ DETAILS = 5,
184
184
  }
185
185
 
186
186
 
@@ -198,11 +198,11 @@ export namespace GtkSource {
198
198
  /**
199
199
  * plain text.
200
200
  */
201
- NONE,
201
+ NONE = 0,
202
202
  /**
203
203
  * gzip compression.
204
204
  */
205
- GZIP,
205
+ GZIP = 1,
206
206
  }
207
207
 
208
208
 
@@ -283,15 +283,15 @@ export namespace GtkSource {
283
283
  /**
284
284
  * The full cell.
285
285
  */
286
- CELL,
286
+ CELL = 0,
287
287
  /**
288
288
  * The first line.
289
289
  */
290
- FIRST,
290
+ FIRST = 1,
291
291
  /**
292
292
  * The last line.
293
293
  */
294
- LAST,
294
+ LAST = 2,
295
295
  }
296
296
 
297
297
 
@@ -309,16 +309,16 @@ export namespace GtkSource {
309
309
  /**
310
310
  * line feed, used on UNIX.
311
311
  */
312
- LF,
312
+ LF = 0,
313
313
  /**
314
314
  * carriage return, used on Mac.
315
315
  */
316
- CR,
316
+ CR = 1,
317
317
  /**
318
318
  * carriage return followed by a line feed, used
319
319
  * on Windows.
320
320
  */
321
- CR_LF,
321
+ CR_LF = 2,
322
322
  }
323
323
 
324
324
 
@@ -336,24 +336,24 @@ export namespace GtkSource {
336
336
  /**
337
337
  * smart-home-end disabled.
338
338
  */
339
- DISABLED,
339
+ DISABLED = 0,
340
340
  /**
341
341
  * move to the first/last
342
342
  * non-whitespace character on the first press of the HOME/END keys and
343
343
  * to the beginning/end of the line on the second press.
344
344
  */
345
- BEFORE,
345
+ BEFORE = 1,
346
346
  /**
347
347
  * move to the beginning/end of the
348
348
  * line on the first press of the HOME/END keys and to the first/last
349
349
  * non-whitespace character on the second press.
350
350
  */
351
- AFTER,
351
+ AFTER = 2,
352
352
  /**
353
353
  * always move to the first/last
354
354
  * non-whitespace character when the HOME/END keys are pressed.
355
355
  */
356
- ALWAYS,
356
+ ALWAYS = 3,
357
357
  }
358
358
 
359
359
 
@@ -372,12 +372,12 @@ export namespace GtkSource {
372
372
  * the gutter position of the lines
373
373
  * renderer
374
374
  */
375
- LINES,
375
+ LINES = -30,
376
376
  /**
377
377
  * the gutter position of the marks
378
378
  * renderer
379
379
  */
380
- MARKS,
380
+ MARKS = -20,
381
381
  }
382
382
 
383
383
 
@@ -385,6 +385,7 @@ export namespace GtkSource {
385
385
  * Like `gtk_source_get_major_version()`, but from the headers used at
386
386
  * application compile time, rather than from the library linked
387
387
  * against at application run time.
388
+ * @default 5
388
389
  */
389
390
  const MAJOR_VERSION: number;
390
391
 
@@ -392,6 +393,7 @@ export namespace GtkSource {
392
393
  * Like `gtk_source_get_micro_version()`, but from the headers used at
393
394
  * application compile time, rather than from the library linked
394
395
  * against at application run time.
396
+ * @default 0
395
397
  */
396
398
  const MICRO_VERSION: number;
397
399
 
@@ -399,6 +401,7 @@ export namespace GtkSource {
399
401
  * Like `gtk_source_get_minor_version()`, but from the headers used at
400
402
  * application compile time, rather than from the library linked
401
403
  * against at application run time.
404
+ * @default 21
402
405
  */
403
406
  const MINOR_VERSION: number;
404
407
 
@@ -595,19 +598,19 @@ export namespace GtkSource {
595
598
  /**
596
599
  * No flags.
597
600
  */
598
- NONE,
601
+ NONE = 0,
599
602
  /**
600
603
  * Ignore invalid characters.
601
604
  */
602
- IGNORE_INVALID_CHARS,
605
+ IGNORE_INVALID_CHARS = 1,
603
606
  /**
604
607
  * Save file despite external modifications.
605
608
  */
606
- IGNORE_MODIFICATION_TIME,
609
+ IGNORE_MODIFICATION_TIME = 2,
607
610
  /**
608
611
  * Create a backup before saving the file.
609
612
  */
610
- CREATE_BACKUP,
613
+ CREATE_BACKUP = 4,
611
614
  }
612
615
 
613
616
 
@@ -625,25 +628,26 @@ export namespace GtkSource {
625
628
  /**
626
629
  * no flags specified
627
630
  */
628
- NONE,
631
+ NONE = 0,
629
632
  /**
630
633
  * case sensitive sort
631
634
  */
632
- CASE_SENSITIVE,
635
+ CASE_SENSITIVE = 1,
633
636
  /**
634
637
  * sort in reverse order
635
638
  */
636
- REVERSE_ORDER,
639
+ REVERSE_ORDER = 2,
637
640
  /**
638
641
  * remove duplicates
639
642
  */
640
- REMOVE_DUPLICATES,
643
+ REMOVE_DUPLICATES = 4,
641
644
  /**
642
645
  * improved sorting for filenames.
643
646
  *
644
647
  * see {@link GLib.utf8_collate_key_for_filename}
648
+ * @since 5.16
645
649
  */
646
- FILENAME,
650
+ FILENAME = 8,
647
651
  }
648
652
 
649
653
 
@@ -665,24 +669,24 @@ export namespace GtkSource {
665
669
  /**
666
670
  * No flags.
667
671
  */
668
- NONE,
672
+ NONE = 0,
669
673
  /**
670
674
  * Leading white spaces on a line, i.e. the
671
675
  * indentation.
672
676
  */
673
- LEADING,
677
+ LEADING = 1,
674
678
  /**
675
679
  * White spaces inside a line of text.
676
680
  */
677
- INSIDE_TEXT,
681
+ INSIDE_TEXT = 2,
678
682
  /**
679
683
  * Trailing white spaces on a line.
680
684
  */
681
- TRAILING,
685
+ TRAILING = 4,
682
686
  /**
683
687
  * White spaces anywhere.
684
688
  */
685
- ALL,
689
+ ALL = 7,
686
690
  }
687
691
 
688
692
 
@@ -701,29 +705,29 @@ export namespace GtkSource {
701
705
  /**
702
706
  * No flags.
703
707
  */
704
- NONE,
708
+ NONE = 0,
705
709
  /**
706
710
  * Space character.
707
711
  */
708
- SPACE,
712
+ SPACE = 1,
709
713
  /**
710
714
  * Tab character.
711
715
  */
712
- TAB,
716
+ TAB = 2,
713
717
  /**
714
718
  * Line break character. If the
715
719
  * {@link GtkSource.Buffer.implicit_trailing_newline} property is `true`,
716
720
  * {@link GtkSource.SpaceDrawer} also draws a line break at the end of the buffer.
717
721
  */
718
- NEWLINE,
722
+ NEWLINE = 4,
719
723
  /**
720
724
  * Non-breaking space character.
721
725
  */
722
- NBSP,
726
+ NBSP = 8,
723
727
  /**
724
728
  * All white spaces.
725
729
  */
726
- ALL,
730
+ ALL = 15,
727
731
  }
728
732
 
729
733
 
@@ -967,6 +971,7 @@ export namespace GtkSource {
967
971
  * @param result
968
972
  * @returns `true` if successful; otherwise `false` and `error` is set.
969
973
  * @since 5.18
974
+ * @throws GLib.Error
970
975
  */
971
976
  populate_hover_finish(result: Gio.AsyncResult): boolean;
972
977
 
@@ -1070,7 +1075,7 @@ export namespace GtkSource {
1070
1075
  * @signal
1071
1076
  * @run-last
1072
1077
  */
1073
- "bracket-matched": (arg0: Gtk.TextIter | null, arg1: BracketMatchType) => void;
1078
+ "bracket-matched": (iter: Gtk.TextIter | null, state: BracketMatchType) => void;
1074
1079
  /**
1075
1080
  * The "cursor-moved" signal is emitted when then insertion mark has moved.
1076
1081
  * @signal
@@ -1084,14 +1089,14 @@ export namespace GtkSource {
1084
1089
  * @signal
1085
1090
  * @run-last
1086
1091
  */
1087
- "highlight-updated": (arg0: Gtk.TextIter, arg1: Gtk.TextIter) => void;
1092
+ "highlight-updated": (start: Gtk.TextIter, end: Gtk.TextIter) => void;
1088
1093
  /**
1089
1094
  * The ::source-mark-updated signal is emitted each time
1090
1095
  * a mark is added to, moved or removed from the `buffer`.
1091
1096
  * @signal
1092
1097
  * @run-last
1093
1098
  */
1094
- "source-mark-updated": (arg0: Gtk.TextMark) => void;
1099
+ "source-mark-updated": (mark: Gtk.TextMark) => void;
1095
1100
  "notify::highlight-matching-brackets": (pspec: GObject.ParamSpec) => void;
1096
1101
  "notify::highlight-syntax": (pspec: GObject.ParamSpec) => void;
1097
1102
  "notify::implicit-trailing-newline": (pspec: GObject.ParamSpec) => void;
@@ -1626,14 +1631,14 @@ export namespace GtkSource {
1626
1631
  * @signal
1627
1632
  * @run-last
1628
1633
  */
1629
- "provider-added": (arg0: CompletionProvider) => void;
1634
+ "provider-added": (provider: CompletionProvider) => void;
1630
1635
  /**
1631
1636
  * The "provided-removed" signal is emitted when a provider has
1632
1637
  * been removed from the completion.
1633
1638
  * @signal
1634
1639
  * @run-last
1635
1640
  */
1636
- "provider-removed": (arg0: CompletionProvider) => void;
1641
+ "provider-removed": (provider: CompletionProvider) => void;
1637
1642
  /**
1638
1643
  * The "show" signal is emitted when the completion window should
1639
1644
  * be shown.
@@ -2425,7 +2430,7 @@ export namespace GtkSource {
2425
2430
 
2426
2431
  namespace CompletionContext {
2427
2432
  // Signal signatures
2428
- interface SignalSignatures extends GObject.Object.SignalSignatures {
2433
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Gio.ListModel.SignalSignatures {
2429
2434
  /**
2430
2435
  * Emitted when a provider changes a model.
2431
2436
  *
@@ -2436,7 +2441,7 @@ export namespace GtkSource {
2436
2441
  * @since 5.6
2437
2442
  * @run-last
2438
2443
  */
2439
- "provider-model-changed": (arg0: CompletionProvider, arg1: Gio.ListModel | null) => void;
2444
+ "provider-model-changed": (provider: CompletionProvider, model: Gio.ListModel | null) => void;
2440
2445
  "notify::busy": (pspec: GObject.ParamSpec) => void;
2441
2446
  "notify::completion": (pspec: GObject.ParamSpec) => void;
2442
2447
  "notify::empty": (pspec: GObject.ParamSpec) => void;
@@ -2939,6 +2944,7 @@ export namespace GtkSource {
2939
2944
  * Completes an asynchronous operation to populate a completion provider.
2940
2945
  * @param result a {@link Gio.AsyncResult} provided to callback
2941
2946
  * @returns a {@link Gio.ListModel} of {@link GtkSource.CompletionProposal}
2947
+ * @throws GLib.Error
2942
2948
  */
2943
2949
  populate_finish(result: Gio.AsyncResult): Gio.ListModel;
2944
2950
 
@@ -3348,6 +3354,7 @@ export namespace GtkSource {
3348
3354
  * Completes an asynchronous operation to populate a completion provider.
3349
3355
  * @param result a {@link Gio.AsyncResult} provided to callback
3350
3356
  * @returns a {@link Gio.ListModel} of {@link GtkSource.CompletionProposal}
3357
+ * @throws GLib.Error
3351
3358
  */
3352
3359
  populate_finish(result: Gio.AsyncResult): Gio.ListModel;
3353
3360
 
@@ -3920,6 +3927,7 @@ export namespace GtkSource {
3920
3927
  * type.
3921
3928
  * @param result a {@link Gio.AsyncResult}.
3922
3929
  * @returns whether the contents has been loaded successfully.
3930
+ * @throws GLib.Error
3923
3931
  */
3924
3932
  load_finish(result: Gio.AsyncResult): boolean;
3925
3933
 
@@ -4164,6 +4172,7 @@ export namespace GtkSource {
4164
4172
  * if the file has been saved successfully.
4165
4173
  * @param result a {@link Gio.AsyncResult}.
4166
4174
  * @returns whether the file was saved successfully.
4175
+ * @throws GLib.Error
4167
4176
  */
4168
4177
  save_finish(result: Gio.AsyncResult): boolean;
4169
4178
 
@@ -4922,18 +4931,18 @@ export namespace GtkSource {
4922
4931
  * @signal
4923
4932
  * @run-last
4924
4933
  */
4925
- activate: (arg0: Gtk.TextIter, arg1: Gdk.Rectangle, arg2: number, arg3: Gdk.ModifierType, arg4: number) => void;
4934
+ activate: (iter: Gtk.TextIter, area: Gdk.Rectangle, button: number, state: Gdk.ModifierType, n_presses: number) => void;
4926
4935
  /**
4927
4936
  * The signal is emitted when the renderer can possibly be activated.
4928
4937
  * @signal
4929
4938
  * @run-last
4930
4939
  */
4931
- "query-activatable": (arg0: Gtk.TextIter, arg1: Gdk.Rectangle) => boolean | void;
4940
+ "query-activatable": (iter: Gtk.TextIter, area: Gdk.Rectangle) => boolean | void;
4932
4941
  /**
4933
4942
  * @signal
4934
4943
  * @run-last
4935
4944
  */
4936
- "query-data": (arg0: GObject.Object, arg1: number) => void;
4945
+ "query-data": (object: GObject.Object, p0: number) => void;
4937
4946
  "notify::alignment-mode": (pspec: GObject.ParamSpec) => void;
4938
4947
  "notify::lines": (pspec: GObject.ParamSpec) => void;
4939
4948
  "notify::view": (pspec: GObject.ParamSpec) => void;
@@ -7312,14 +7321,14 @@ export namespace GtkSource {
7312
7321
  * @signal
7313
7322
  * @run-last
7314
7323
  */
7315
- "query-tooltip-markup": (arg0: Mark) => string;
7324
+ "query-tooltip-markup": (mark: Mark) => string;
7316
7325
  /**
7317
7326
  * The code should connect to this signal to provide a tooltip for given
7318
7327
  * `mark`. The tooltip should be just a plain text.
7319
7328
  * @signal
7320
7329
  * @run-last
7321
7330
  */
7322
- "query-tooltip-text": (arg0: Mark) => string;
7331
+ "query-tooltip-text": (mark: Mark) => string;
7323
7332
  "notify::background": (pspec: GObject.ParamSpec) => void;
7324
7333
  "notify::gicon": (pspec: GObject.ParamSpec) => void;
7325
7334
  "notify::icon-name": (pspec: GObject.ParamSpec) => void;
@@ -8838,6 +8847,7 @@ export namespace GtkSource {
8838
8847
  * details.
8839
8848
  * @param result a {@link Gio.AsyncResult}.
8840
8849
  * @returns whether a match was found.
8850
+ * @throws GLib.Error
8841
8851
  */
8842
8852
  backward_finish(result: Gio.AsyncResult): [boolean, Gtk.TextIter | null, Gtk.TextIter | null, boolean];
8843
8853
 
@@ -8906,6 +8916,7 @@ export namespace GtkSource {
8906
8916
  * details.
8907
8917
  * @param result a {@link Gio.AsyncResult}.
8908
8918
  * @returns whether a match was found.
8919
+ * @throws GLib.Error
8909
8920
  */
8910
8921
  forward_finish(result: Gio.AsyncResult): [boolean, Gtk.TextIter | null, Gtk.TextIter | null, boolean];
8911
8922
 
@@ -8977,6 +8988,7 @@ export namespace GtkSource {
8977
8988
  * @param replace the replacement text.
8978
8989
  * @param replace_length the length of `replace` in bytes, or -1.
8979
8990
  * @returns whether the match has been replaced.
8991
+ * @throws GLib.Error
8980
8992
  */
8981
8993
  replace(match_start: Gtk.TextIter, match_end: Gtk.TextIter, replace: string, replace_length: number): boolean;
8982
8994
 
@@ -8991,6 +9003,7 @@ export namespace GtkSource {
8991
9003
  * @param replace the replacement text.
8992
9004
  * @param replace_length the length of `replace` in bytes, or -1.
8993
9005
  * @returns the number of replaced matches.
9006
+ * @throws GLib.Error
8994
9007
  */
8995
9008
  replace_all(replace: string, replace_length: number): number;
8996
9009
 
@@ -12445,14 +12458,14 @@ export namespace GtkSource {
12445
12458
  * @action
12446
12459
  * @run-last
12447
12460
  */
12448
- "change-case": (arg0: ChangeCaseType) => void;
12461
+ "change-case": (case_type: ChangeCaseType) => void;
12449
12462
  /**
12450
12463
  * Keybinding signal to edit a number at the current cursor position.
12451
12464
  * @signal
12452
12465
  * @action
12453
12466
  * @run-last
12454
12467
  */
12455
- "change-number": (arg0: number) => void;
12468
+ "change-number": (count: number) => void;
12456
12469
  /**
12457
12470
  * Keybinding signal to join the lines currently selected.
12458
12471
  * @signal
@@ -12468,7 +12481,7 @@ export namespace GtkSource {
12468
12481
  * @signal
12469
12482
  * @run-last
12470
12483
  */
12471
- "line-mark-activated": (arg0: Gtk.TextIter, arg1: number, arg2: Gdk.ModifierType, arg3: number) => void;
12484
+ "line-mark-activated": (iter: Gtk.TextIter, button: number, state: Gdk.ModifierType, n_presses: number) => void;
12472
12485
  /**
12473
12486
  * The signal is a keybinding which gets emitted when the user initiates moving a line.
12474
12487
  *
@@ -12478,14 +12491,14 @@ export namespace GtkSource {
12478
12491
  * @action
12479
12492
  * @run-last
12480
12493
  */
12481
- "move-lines": (arg0: boolean) => void;
12494
+ "move-lines": (down: boolean) => void;
12482
12495
  /**
12483
12496
  * Keybinding signal to move the cursor to the matching bracket.
12484
12497
  * @signal
12485
12498
  * @action
12486
12499
  * @run-last
12487
12500
  */
12488
- "move-to-matching-bracket": (arg0: boolean) => void;
12501
+ "move-to-matching-bracket": (extend_selection: boolean) => void;
12489
12502
  /**
12490
12503
  * The signal is a keybinding which gets emitted when the user initiates moving a word.
12491
12504
  *
@@ -12495,7 +12508,7 @@ export namespace GtkSource {
12495
12508
  * @action
12496
12509
  * @run-last
12497
12510
  */
12498
- "move-words": (arg0: number) => void;
12511
+ "move-words": (count: number) => void;
12499
12512
  /**
12500
12513
  * The signal is emitted to insert a new snippet into the view.
12501
12514
  *
@@ -12505,7 +12518,7 @@ export namespace GtkSource {
12505
12518
  * @signal
12506
12519
  * @run-last
12507
12520
  */
12508
- "push-snippet": (arg0: Snippet, arg1: Gtk.TextIter) => void;
12521
+ "push-snippet": (snippet: Snippet, location: Gtk.TextIter) => void;
12509
12522
  /**
12510
12523
  * The signal is a key binding signal which gets
12511
12524
  * emitted when the user requests a completion, by pressing
@@ -12532,7 +12545,7 @@ export namespace GtkSource {
12532
12545
  * @signal
12533
12546
  * @run-last
12534
12547
  */
12535
- "smart-home-end": (arg0: Gtk.TextIter, arg1: number) => void;
12548
+ "smart-home-end": (iter: Gtk.TextIter, count: number) => void;
12536
12549
  "notify::annotations": (pspec: GObject.ParamSpec) => void;
12537
12550
  "notify::auto-indent": (pspec: GObject.ParamSpec) => void;
12538
12551
  "notify::background-pattern": (pspec: GObject.ParamSpec) => void;
@@ -13660,7 +13673,7 @@ export namespace GtkSource {
13660
13673
  * @since 5.4
13661
13674
  * @run-last
13662
13675
  */
13663
- edit: (arg0: View, arg1: string | null) => void;
13676
+ edit: (view: View, path: string | null) => void;
13664
13677
  /**
13665
13678
  * The signal is emitted when a command should be
13666
13679
  * executed. This might be something like `:wq` or `:e <path>`.
@@ -13671,7 +13684,7 @@ export namespace GtkSource {
13671
13684
  * @since 5.4
13672
13685
  * @run-last
13673
13686
  */
13674
- "execute-command": (arg0: string) => boolean | void;
13687
+ "execute-command": (command: string) => boolean | void;
13675
13688
  /**
13676
13689
  * Requests that the application format the text between
13677
13690
  * `begin` and `end`.
@@ -13679,7 +13692,7 @@ export namespace GtkSource {
13679
13692
  * @since 5.4
13680
13693
  * @run-last
13681
13694
  */
13682
- "format-text": (arg0: Gtk.TextIter, arg1: Gtk.TextIter) => void;
13695
+ "format-text": (begin: Gtk.TextIter, end: Gtk.TextIter) => void;
13683
13696
  /**
13684
13697
  * Requests the application save the file.
13685
13698
  *
@@ -13689,7 +13702,7 @@ export namespace GtkSource {
13689
13702
  * @since 5.4
13690
13703
  * @run-last
13691
13704
  */
13692
- write: (arg0: View, arg1: string | null) => void;
13705
+ write: (view: View, path: string | null) => void;
13693
13706
  "notify::command-bar-text": (pspec: GObject.ParamSpec) => void;
13694
13707
  "notify::command-text": (pspec: GObject.ParamSpec) => void;
13695
13708
  "notify::input-hints": (pspec: GObject.ParamSpec) => void;
@@ -14568,6 +14581,7 @@ export namespace GtkSource {
14568
14581
  * Completes an asynchronous operation to populate a completion provider.
14569
14582
  * @param result a {@link Gio.AsyncResult} provided to callback
14570
14583
  * @returns a {@link Gio.ListModel} of {@link GtkSource.CompletionProposal}
14584
+ * @throws GLib.Error
14571
14585
  */
14572
14586
  populate_finish(result: Gio.AsyncResult): Gio.ListModel;
14573
14587
 
@@ -14670,6 +14684,7 @@ export namespace GtkSource {
14670
14684
 
14671
14685
  /**
14672
14686
  * @param result
14687
+ * @throws GLib.Error
14673
14688
  */
14674
14689
  populate_finish(result: Gio.AsyncResult): boolean;
14675
14690
  }