@girs/gtksource-4 4.0.0-3.2.4 → 4.0.0-3.2.6
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 +14 -1
- package/gtksource-4-ambient.d.ts +4 -1
- package/gtksource-4-import.d.ts +0 -1
- package/gtksource-4.d.cts +673 -0
- package/gtksource-4.d.ts +673 -0
- package/package.json +15 -15
package/gtksource-4.d.ts
CHANGED
|
@@ -934,6 +934,12 @@ module StyleSchemeChooser {
|
|
|
934
934
|
* the current selection programmatically.
|
|
935
935
|
*/
|
|
936
936
|
style_scheme?: StyleScheme | null
|
|
937
|
+
/**
|
|
938
|
+
* The :style-scheme property contains the currently selected style
|
|
939
|
+
* scheme. The property can be set to change
|
|
940
|
+
* the current selection programmatically.
|
|
941
|
+
*/
|
|
942
|
+
styleScheme?: StyleScheme | null
|
|
937
943
|
}
|
|
938
944
|
|
|
939
945
|
}
|
|
@@ -948,6 +954,12 @@ interface StyleSchemeChooser {
|
|
|
948
954
|
* the current selection programmatically.
|
|
949
955
|
*/
|
|
950
956
|
style_scheme: StyleScheme
|
|
957
|
+
/**
|
|
958
|
+
* The :style-scheme property contains the currently selected style
|
|
959
|
+
* scheme. The property can be set to change
|
|
960
|
+
* the current selection programmatically.
|
|
961
|
+
*/
|
|
962
|
+
styleScheme: StyleScheme
|
|
951
963
|
|
|
952
964
|
// Owm methods of GtkSource-4.GtkSource.StyleSchemeChooser
|
|
953
965
|
|
|
@@ -1225,6 +1237,31 @@ module Buffer {
|
|
|
1225
1237
|
*/
|
|
1226
1238
|
style_scheme?: StyleScheme | null
|
|
1227
1239
|
undo_manager?: UndoManager | null
|
|
1240
|
+
/**
|
|
1241
|
+
* Whether to highlight matching brackets in the buffer.
|
|
1242
|
+
*/
|
|
1243
|
+
highlightMatchingBrackets?: boolean | null
|
|
1244
|
+
/**
|
|
1245
|
+
* Whether to highlight syntax in the buffer.
|
|
1246
|
+
*/
|
|
1247
|
+
highlightSyntax?: boolean | null
|
|
1248
|
+
/**
|
|
1249
|
+
* Whether the buffer has an implicit trailing newline. See
|
|
1250
|
+
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1251
|
+
*/
|
|
1252
|
+
implicitTrailingNewline?: boolean | null
|
|
1253
|
+
/**
|
|
1254
|
+
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1255
|
+
* will only affect the default undo manager.
|
|
1256
|
+
*/
|
|
1257
|
+
maxUndoLevels?: number | null
|
|
1258
|
+
/**
|
|
1259
|
+
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1260
|
+
* foreground, background, cursor color, current line color, and matching
|
|
1261
|
+
* brackets style.
|
|
1262
|
+
*/
|
|
1263
|
+
styleScheme?: StyleScheme | null
|
|
1264
|
+
undoManager?: UndoManager | null
|
|
1228
1265
|
}
|
|
1229
1266
|
|
|
1230
1267
|
}
|
|
@@ -1234,33 +1271,60 @@ interface Buffer {
|
|
|
1234
1271
|
// Own properties of GtkSource-4.GtkSource.Buffer
|
|
1235
1272
|
|
|
1236
1273
|
readonly can_redo: boolean
|
|
1274
|
+
readonly canRedo: boolean
|
|
1237
1275
|
readonly can_undo: boolean
|
|
1276
|
+
readonly canUndo: boolean
|
|
1238
1277
|
/**
|
|
1239
1278
|
* Whether to highlight matching brackets in the buffer.
|
|
1240
1279
|
*/
|
|
1241
1280
|
highlight_matching_brackets: boolean
|
|
1281
|
+
/**
|
|
1282
|
+
* Whether to highlight matching brackets in the buffer.
|
|
1283
|
+
*/
|
|
1284
|
+
highlightMatchingBrackets: boolean
|
|
1242
1285
|
/**
|
|
1243
1286
|
* Whether to highlight syntax in the buffer.
|
|
1244
1287
|
*/
|
|
1245
1288
|
highlight_syntax: boolean
|
|
1289
|
+
/**
|
|
1290
|
+
* Whether to highlight syntax in the buffer.
|
|
1291
|
+
*/
|
|
1292
|
+
highlightSyntax: boolean
|
|
1246
1293
|
/**
|
|
1247
1294
|
* Whether the buffer has an implicit trailing newline. See
|
|
1248
1295
|
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1249
1296
|
*/
|
|
1250
1297
|
implicit_trailing_newline: boolean
|
|
1298
|
+
/**
|
|
1299
|
+
* Whether the buffer has an implicit trailing newline. See
|
|
1300
|
+
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1301
|
+
*/
|
|
1302
|
+
implicitTrailingNewline: boolean
|
|
1251
1303
|
language: Language
|
|
1252
1304
|
/**
|
|
1253
1305
|
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1254
1306
|
* will only affect the default undo manager.
|
|
1255
1307
|
*/
|
|
1256
1308
|
max_undo_levels: number
|
|
1309
|
+
/**
|
|
1310
|
+
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1311
|
+
* will only affect the default undo manager.
|
|
1312
|
+
*/
|
|
1313
|
+
maxUndoLevels: number
|
|
1257
1314
|
/**
|
|
1258
1315
|
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1259
1316
|
* foreground, background, cursor color, current line color, and matching
|
|
1260
1317
|
* brackets style.
|
|
1261
1318
|
*/
|
|
1262
1319
|
style_scheme: StyleScheme
|
|
1320
|
+
/**
|
|
1321
|
+
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1322
|
+
* foreground, background, cursor color, current line color, and matching
|
|
1323
|
+
* brackets style.
|
|
1324
|
+
*/
|
|
1325
|
+
styleScheme: StyleScheme
|
|
1263
1326
|
undo_manager: UndoManager
|
|
1327
|
+
undoManager: UndoManager
|
|
1264
1328
|
|
|
1265
1329
|
// Own fields of GtkSource-4.GtkSource.Buffer
|
|
1266
1330
|
|
|
@@ -1809,6 +1873,48 @@ module Completion {
|
|
|
1809
1873
|
* The #GtkSourceView bound to the completion object.
|
|
1810
1874
|
*/
|
|
1811
1875
|
view?: View | null
|
|
1876
|
+
/**
|
|
1877
|
+
* Determines the popup delay (in milliseconds) at which the completion
|
|
1878
|
+
* will be shown for interactive completion.
|
|
1879
|
+
*/
|
|
1880
|
+
autoCompleteDelay?: number | null
|
|
1881
|
+
/**
|
|
1882
|
+
* The scroll page size of the proposals in the completion window. In
|
|
1883
|
+
* other words, when <keycap>PageDown</keycap> or
|
|
1884
|
+
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1885
|
+
* proposal becomes the one which is located one page size backward or
|
|
1886
|
+
* forward.
|
|
1887
|
+
*
|
|
1888
|
+
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1889
|
+
*/
|
|
1890
|
+
proposalPageSize?: number | null
|
|
1891
|
+
/**
|
|
1892
|
+
* The scroll page size of the provider pages in the completion window.
|
|
1893
|
+
*
|
|
1894
|
+
* See the #GtkSourceCompletion::move-page signal.
|
|
1895
|
+
*/
|
|
1896
|
+
providerPageSize?: number | null
|
|
1897
|
+
/**
|
|
1898
|
+
* Determines whether the visibility of the info window should be
|
|
1899
|
+
* saved when the completion is hidden, and restored when the completion
|
|
1900
|
+
* is shown again.
|
|
1901
|
+
*/
|
|
1902
|
+
rememberInfoVisibility?: boolean | null
|
|
1903
|
+
/**
|
|
1904
|
+
* Determines whether the first proposal should be selected when the
|
|
1905
|
+
* completion is first shown.
|
|
1906
|
+
*/
|
|
1907
|
+
selectOnShow?: boolean | null
|
|
1908
|
+
/**
|
|
1909
|
+
* Determines whether provider headers should be shown in the proposal
|
|
1910
|
+
* list. It can be useful to disable when there is only one provider.
|
|
1911
|
+
*/
|
|
1912
|
+
showHeaders?: boolean | null
|
|
1913
|
+
/**
|
|
1914
|
+
* Determines whether provider and proposal icons should be shown in
|
|
1915
|
+
* the completion popup.
|
|
1916
|
+
*/
|
|
1917
|
+
showIcons?: boolean | null
|
|
1812
1918
|
}
|
|
1813
1919
|
|
|
1814
1920
|
}
|
|
@@ -1828,6 +1934,11 @@ interface Completion extends Gtk.Buildable {
|
|
|
1828
1934
|
* will be shown for interactive completion.
|
|
1829
1935
|
*/
|
|
1830
1936
|
auto_complete_delay: number
|
|
1937
|
+
/**
|
|
1938
|
+
* Determines the popup delay (in milliseconds) at which the completion
|
|
1939
|
+
* will be shown for interactive completion.
|
|
1940
|
+
*/
|
|
1941
|
+
autoCompleteDelay: number
|
|
1831
1942
|
/**
|
|
1832
1943
|
* The scroll page size of the proposals in the completion window. In
|
|
1833
1944
|
* other words, when <keycap>PageDown</keycap> or
|
|
@@ -1838,33 +1949,70 @@ interface Completion extends Gtk.Buildable {
|
|
|
1838
1949
|
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1839
1950
|
*/
|
|
1840
1951
|
proposal_page_size: number
|
|
1952
|
+
/**
|
|
1953
|
+
* The scroll page size of the proposals in the completion window. In
|
|
1954
|
+
* other words, when <keycap>PageDown</keycap> or
|
|
1955
|
+
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1956
|
+
* proposal becomes the one which is located one page size backward or
|
|
1957
|
+
* forward.
|
|
1958
|
+
*
|
|
1959
|
+
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1960
|
+
*/
|
|
1961
|
+
proposalPageSize: number
|
|
1841
1962
|
/**
|
|
1842
1963
|
* The scroll page size of the provider pages in the completion window.
|
|
1843
1964
|
*
|
|
1844
1965
|
* See the #GtkSourceCompletion::move-page signal.
|
|
1845
1966
|
*/
|
|
1846
1967
|
provider_page_size: number
|
|
1968
|
+
/**
|
|
1969
|
+
* The scroll page size of the provider pages in the completion window.
|
|
1970
|
+
*
|
|
1971
|
+
* See the #GtkSourceCompletion::move-page signal.
|
|
1972
|
+
*/
|
|
1973
|
+
providerPageSize: number
|
|
1847
1974
|
/**
|
|
1848
1975
|
* Determines whether the visibility of the info window should be
|
|
1849
1976
|
* saved when the completion is hidden, and restored when the completion
|
|
1850
1977
|
* is shown again.
|
|
1851
1978
|
*/
|
|
1852
1979
|
remember_info_visibility: boolean
|
|
1980
|
+
/**
|
|
1981
|
+
* Determines whether the visibility of the info window should be
|
|
1982
|
+
* saved when the completion is hidden, and restored when the completion
|
|
1983
|
+
* is shown again.
|
|
1984
|
+
*/
|
|
1985
|
+
rememberInfoVisibility: boolean
|
|
1853
1986
|
/**
|
|
1854
1987
|
* Determines whether the first proposal should be selected when the
|
|
1855
1988
|
* completion is first shown.
|
|
1856
1989
|
*/
|
|
1857
1990
|
select_on_show: boolean
|
|
1991
|
+
/**
|
|
1992
|
+
* Determines whether the first proposal should be selected when the
|
|
1993
|
+
* completion is first shown.
|
|
1994
|
+
*/
|
|
1995
|
+
selectOnShow: boolean
|
|
1858
1996
|
/**
|
|
1859
1997
|
* Determines whether provider headers should be shown in the proposal
|
|
1860
1998
|
* list. It can be useful to disable when there is only one provider.
|
|
1861
1999
|
*/
|
|
1862
2000
|
show_headers: boolean
|
|
2001
|
+
/**
|
|
2002
|
+
* Determines whether provider headers should be shown in the proposal
|
|
2003
|
+
* list. It can be useful to disable when there is only one provider.
|
|
2004
|
+
*/
|
|
2005
|
+
showHeaders: boolean
|
|
1863
2006
|
/**
|
|
1864
2007
|
* Determines whether provider and proposal icons should be shown in
|
|
1865
2008
|
* the completion popup.
|
|
1866
2009
|
*/
|
|
1867
2010
|
show_icons: boolean
|
|
2011
|
+
/**
|
|
2012
|
+
* Determines whether provider and proposal icons should be shown in
|
|
2013
|
+
* the completion popup.
|
|
2014
|
+
*/
|
|
2015
|
+
showIcons: boolean
|
|
1868
2016
|
/**
|
|
1869
2017
|
* The #GtkSourceView bound to the completion object.
|
|
1870
2018
|
*/
|
|
@@ -2562,6 +2710,10 @@ module CompletionItem {
|
|
|
2562
2710
|
* Proposal text.
|
|
2563
2711
|
*/
|
|
2564
2712
|
text?: string | null
|
|
2713
|
+
/**
|
|
2714
|
+
* The icon name for the icon to be shown for this proposal.
|
|
2715
|
+
*/
|
|
2716
|
+
iconName?: string | null
|
|
2565
2717
|
}
|
|
2566
2718
|
|
|
2567
2719
|
}
|
|
@@ -2582,6 +2734,10 @@ interface CompletionItem extends CompletionProposal {
|
|
|
2582
2734
|
* The icon name for the icon to be shown for this proposal.
|
|
2583
2735
|
*/
|
|
2584
2736
|
icon_name: string | null
|
|
2737
|
+
/**
|
|
2738
|
+
* The icon name for the icon to be shown for this proposal.
|
|
2739
|
+
*/
|
|
2740
|
+
iconName: string | null
|
|
2585
2741
|
/**
|
|
2586
2742
|
* Optional extra information to be shown for this proposal.
|
|
2587
2743
|
*/
|
|
@@ -2689,6 +2845,10 @@ module CompletionWords {
|
|
|
2689
2845
|
priority?: number | null
|
|
2690
2846
|
proposals_batch_size?: number | null
|
|
2691
2847
|
scan_batch_size?: number | null
|
|
2848
|
+
interactiveDelay?: number | null
|
|
2849
|
+
minimumWordSize?: number | null
|
|
2850
|
+
proposalsBatchSize?: number | null
|
|
2851
|
+
scanBatchSize?: number | null
|
|
2692
2852
|
}
|
|
2693
2853
|
|
|
2694
2854
|
}
|
|
@@ -2703,11 +2863,15 @@ interface CompletionWords extends CompletionProvider {
|
|
|
2703
2863
|
activation: CompletionActivation
|
|
2704
2864
|
icon: GdkPixbuf.Pixbuf
|
|
2705
2865
|
interactive_delay: number
|
|
2866
|
+
interactiveDelay: number
|
|
2706
2867
|
minimum_word_size: number
|
|
2868
|
+
minimumWordSize: number
|
|
2707
2869
|
name: string | null
|
|
2708
2870
|
priority: number
|
|
2709
2871
|
proposals_batch_size: number
|
|
2872
|
+
proposalsBatchSize: number
|
|
2710
2873
|
scan_batch_size: number
|
|
2874
|
+
scanBatchSize: number
|
|
2711
2875
|
|
|
2712
2876
|
// Own fields of GtkSource-4.GtkSource.CompletionWords
|
|
2713
2877
|
|
|
@@ -2798,6 +2962,10 @@ interface File {
|
|
|
2798
2962
|
* The compression type.
|
|
2799
2963
|
*/
|
|
2800
2964
|
readonly compression_type: CompressionType
|
|
2965
|
+
/**
|
|
2966
|
+
* The compression type.
|
|
2967
|
+
*/
|
|
2968
|
+
readonly compressionType: CompressionType
|
|
2801
2969
|
/**
|
|
2802
2970
|
* The character encoding, initially %NULL. After a successful file
|
|
2803
2971
|
* loading or saving operation, the encoding is non-%NULL.
|
|
@@ -2811,11 +2979,20 @@ interface File {
|
|
|
2811
2979
|
* The line ending type.
|
|
2812
2980
|
*/
|
|
2813
2981
|
readonly newline_type: NewlineType
|
|
2982
|
+
/**
|
|
2983
|
+
* The line ending type.
|
|
2984
|
+
*/
|
|
2985
|
+
readonly newlineType: NewlineType
|
|
2814
2986
|
/**
|
|
2815
2987
|
* Whether the file is read-only or not. The value of this property is
|
|
2816
2988
|
* not updated automatically (there is no file monitors).
|
|
2817
2989
|
*/
|
|
2818
2990
|
readonly read_only: boolean
|
|
2991
|
+
/**
|
|
2992
|
+
* Whether the file is read-only or not. The value of this property is
|
|
2993
|
+
* not updated automatically (there is no file monitors).
|
|
2994
|
+
*/
|
|
2995
|
+
readonly readOnly: boolean
|
|
2819
2996
|
|
|
2820
2997
|
// Own fields of GtkSource-4.GtkSource.File
|
|
2821
2998
|
|
|
@@ -2951,6 +3128,11 @@ module FileLoader {
|
|
|
2951
3128
|
* construction time.
|
|
2952
3129
|
*/
|
|
2953
3130
|
location?: Gio.File | null
|
|
3131
|
+
/**
|
|
3132
|
+
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3133
|
+
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3134
|
+
*/
|
|
3135
|
+
inputStream?: Gio.InputStream | null
|
|
2954
3136
|
}
|
|
2955
3137
|
|
|
2956
3138
|
}
|
|
@@ -2974,6 +3156,11 @@ interface FileLoader {
|
|
|
2974
3156
|
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
2975
3157
|
*/
|
|
2976
3158
|
readonly input_stream: Gio.InputStream
|
|
3159
|
+
/**
|
|
3160
|
+
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3161
|
+
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3162
|
+
*/
|
|
3163
|
+
readonly inputStream: Gio.InputStream
|
|
2977
3164
|
/**
|
|
2978
3165
|
* The #GFile to load. If the #GtkSourceFileLoader:input-stream is
|
|
2979
3166
|
* %NULL, by default the location is taken from the #GtkSourceFile at
|
|
@@ -3151,6 +3338,14 @@ module FileSaver {
|
|
|
3151
3338
|
* The newline type.
|
|
3152
3339
|
*/
|
|
3153
3340
|
newline_type?: NewlineType | null
|
|
3341
|
+
/**
|
|
3342
|
+
* The compression type.
|
|
3343
|
+
*/
|
|
3344
|
+
compressionType?: CompressionType | null
|
|
3345
|
+
/**
|
|
3346
|
+
* The newline type.
|
|
3347
|
+
*/
|
|
3348
|
+
newlineType?: NewlineType | null
|
|
3154
3349
|
}
|
|
3155
3350
|
|
|
3156
3351
|
}
|
|
@@ -3168,6 +3363,10 @@ interface FileSaver {
|
|
|
3168
3363
|
* The compression type.
|
|
3169
3364
|
*/
|
|
3170
3365
|
compression_type: CompressionType
|
|
3366
|
+
/**
|
|
3367
|
+
* The compression type.
|
|
3368
|
+
*/
|
|
3369
|
+
compressionType: CompressionType
|
|
3171
3370
|
/**
|
|
3172
3371
|
* The file's encoding.
|
|
3173
3372
|
*/
|
|
@@ -3190,6 +3389,10 @@ interface FileSaver {
|
|
|
3190
3389
|
* The newline type.
|
|
3191
3390
|
*/
|
|
3192
3391
|
newline_type: NewlineType
|
|
3392
|
+
/**
|
|
3393
|
+
* The newline type.
|
|
3394
|
+
*/
|
|
3395
|
+
newlineType: NewlineType
|
|
3193
3396
|
|
|
3194
3397
|
// Own fields of GtkSource-4.GtkSource.FileSaver
|
|
3195
3398
|
|
|
@@ -3358,6 +3561,10 @@ module Gutter {
|
|
|
3358
3561
|
* The text window type on which the window is placed.
|
|
3359
3562
|
*/
|
|
3360
3563
|
window_type?: Gtk.TextWindowType | null
|
|
3564
|
+
/**
|
|
3565
|
+
* The text window type on which the window is placed.
|
|
3566
|
+
*/
|
|
3567
|
+
windowType?: Gtk.TextWindowType | null
|
|
3361
3568
|
}
|
|
3362
3569
|
|
|
3363
3570
|
}
|
|
@@ -3374,6 +3581,10 @@ interface Gutter {
|
|
|
3374
3581
|
* The text window type on which the window is placed.
|
|
3375
3582
|
*/
|
|
3376
3583
|
readonly window_type: Gtk.TextWindowType
|
|
3584
|
+
/**
|
|
3585
|
+
* The text window type on which the window is placed.
|
|
3586
|
+
*/
|
|
3587
|
+
readonly windowType: Gtk.TextWindowType
|
|
3377
3588
|
|
|
3378
3589
|
// Own fields of GtkSource-4.GtkSource.Gutter
|
|
3379
3590
|
|
|
@@ -3524,6 +3735,15 @@ module GutterRenderer {
|
|
|
3524
3735
|
* The top and bottom padding of the renderer.
|
|
3525
3736
|
*/
|
|
3526
3737
|
ypad?: number | null
|
|
3738
|
+
/**
|
|
3739
|
+
* The alignment mode of the renderer. This can be used to indicate
|
|
3740
|
+
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3741
|
+
* the alignment should work on either the full cell, the first line
|
|
3742
|
+
* or the last line.
|
|
3743
|
+
*/
|
|
3744
|
+
alignmentMode?: GutterRendererAlignmentMode | null
|
|
3745
|
+
backgroundRgba?: Gdk.RGBA | null
|
|
3746
|
+
backgroundSet?: boolean | null
|
|
3527
3747
|
}
|
|
3528
3748
|
|
|
3529
3749
|
}
|
|
@@ -3539,8 +3759,17 @@ interface GutterRenderer {
|
|
|
3539
3759
|
* or the last line.
|
|
3540
3760
|
*/
|
|
3541
3761
|
alignment_mode: GutterRendererAlignmentMode
|
|
3762
|
+
/**
|
|
3763
|
+
* The alignment mode of the renderer. This can be used to indicate
|
|
3764
|
+
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3765
|
+
* the alignment should work on either the full cell, the first line
|
|
3766
|
+
* or the last line.
|
|
3767
|
+
*/
|
|
3768
|
+
alignmentMode: GutterRendererAlignmentMode
|
|
3542
3769
|
background_rgba: Gdk.RGBA
|
|
3770
|
+
backgroundRgba: Gdk.RGBA
|
|
3543
3771
|
background_set: boolean
|
|
3772
|
+
backgroundSet: boolean
|
|
3544
3773
|
size: number
|
|
3545
3774
|
/**
|
|
3546
3775
|
* The view on which the renderer is placed.
|
|
@@ -3555,6 +3784,11 @@ interface GutterRenderer {
|
|
|
3555
3784
|
* or right).
|
|
3556
3785
|
*/
|
|
3557
3786
|
readonly window_type: Gtk.TextWindowType
|
|
3787
|
+
/**
|
|
3788
|
+
* The window type of the view on which the renderer is placed (left,
|
|
3789
|
+
* or right).
|
|
3790
|
+
*/
|
|
3791
|
+
readonly windowType: Gtk.TextWindowType
|
|
3558
3792
|
/**
|
|
3559
3793
|
* The horizontal alignment of the renderer. Set to 0 for a left
|
|
3560
3794
|
* alignment. 1 for a right alignment. And 0.5 for centering the cells.
|
|
@@ -3941,6 +4175,7 @@ module GutterRendererPixbuf {
|
|
|
3941
4175
|
gicon?: Gio.Icon | null
|
|
3942
4176
|
icon_name?: string | null
|
|
3943
4177
|
pixbuf?: GdkPixbuf.Pixbuf | null
|
|
4178
|
+
iconName?: string | null
|
|
3944
4179
|
}
|
|
3945
4180
|
|
|
3946
4181
|
}
|
|
@@ -3951,6 +4186,7 @@ interface GutterRendererPixbuf {
|
|
|
3951
4186
|
|
|
3952
4187
|
gicon: Gio.Icon
|
|
3953
4188
|
icon_name: string | null
|
|
4189
|
+
iconName: string | null
|
|
3954
4190
|
pixbuf: GdkPixbuf.Pixbuf
|
|
3955
4191
|
|
|
3956
4192
|
// Owm methods of GtkSource-4.GtkSource.GutterRendererPixbuf
|
|
@@ -4285,6 +4521,7 @@ module LanguageManager {
|
|
|
4285
4521
|
// Own constructor properties of GtkSource-4.GtkSource.LanguageManager
|
|
4286
4522
|
|
|
4287
4523
|
search_path?: string[] | null
|
|
4524
|
+
searchPath?: string[] | null
|
|
4288
4525
|
}
|
|
4289
4526
|
|
|
4290
4527
|
}
|
|
@@ -4294,7 +4531,9 @@ interface LanguageManager {
|
|
|
4294
4531
|
// Own properties of GtkSource-4.GtkSource.LanguageManager
|
|
4295
4532
|
|
|
4296
4533
|
readonly language_ids: string[]
|
|
4534
|
+
readonly languageIds: string[]
|
|
4297
4535
|
search_path: string[]
|
|
4536
|
+
searchPath: string[]
|
|
4298
4537
|
|
|
4299
4538
|
// Own fields of GtkSource-4.GtkSource.LanguageManager
|
|
4300
4539
|
|
|
@@ -4433,6 +4672,7 @@ module Map {
|
|
|
4433
4672
|
|
|
4434
4673
|
font_desc?: Pango.FontDescription | null
|
|
4435
4674
|
view?: View | null
|
|
4675
|
+
fontDesc?: Pango.FontDescription | null
|
|
4436
4676
|
}
|
|
4437
4677
|
|
|
4438
4678
|
}
|
|
@@ -4442,6 +4682,7 @@ interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
4442
4682
|
// Own properties of GtkSource-4.GtkSource.Map
|
|
4443
4683
|
|
|
4444
4684
|
font_desc: Pango.FontDescription
|
|
4685
|
+
fontDesc: Pango.FontDescription
|
|
4445
4686
|
view: View
|
|
4446
4687
|
|
|
4447
4688
|
// Conflicting properties
|
|
@@ -4990,6 +5231,10 @@ module MarkAttributes {
|
|
|
4990
5231
|
* A #GdkPixbuf that may be a base of a rendered icon.
|
|
4991
5232
|
*/
|
|
4992
5233
|
pixbuf?: GdkPixbuf.Pixbuf | null
|
|
5234
|
+
/**
|
|
5235
|
+
* An icon name that may be a base of a rendered icon.
|
|
5236
|
+
*/
|
|
5237
|
+
iconName?: string | null
|
|
4993
5238
|
}
|
|
4994
5239
|
|
|
4995
5240
|
}
|
|
@@ -5010,6 +5255,10 @@ interface MarkAttributes {
|
|
|
5010
5255
|
* An icon name that may be a base of a rendered icon.
|
|
5011
5256
|
*/
|
|
5012
5257
|
icon_name: string | null
|
|
5258
|
+
/**
|
|
5259
|
+
* An icon name that may be a base of a rendered icon.
|
|
5260
|
+
*/
|
|
5261
|
+
iconName: string | null
|
|
5013
5262
|
/**
|
|
5014
5263
|
* A #GdkPixbuf that may be a base of a rendered icon.
|
|
5015
5264
|
*/
|
|
@@ -5252,6 +5501,105 @@ module PrintCompositor {
|
|
|
5252
5501
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5253
5502
|
*/
|
|
5254
5503
|
wrap_mode?: Gtk.WrapMode | null
|
|
5504
|
+
/**
|
|
5505
|
+
* Name of the font used for the text body.
|
|
5506
|
+
*
|
|
5507
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5508
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5509
|
+
* for a description of the format of the string representation.
|
|
5510
|
+
*
|
|
5511
|
+
* The value of this property cannot be changed anymore after the first
|
|
5512
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5513
|
+
*/
|
|
5514
|
+
bodyFontName?: string | null
|
|
5515
|
+
/**
|
|
5516
|
+
* Name of the font used to print page footer.
|
|
5517
|
+
* If this property is unspecified, the text body font is used.
|
|
5518
|
+
*
|
|
5519
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5520
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5521
|
+
* for a description of the format of the string representation.
|
|
5522
|
+
*
|
|
5523
|
+
* The value of this property cannot be changed anymore after the first
|
|
5524
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5525
|
+
*/
|
|
5526
|
+
footerFontName?: string | null
|
|
5527
|
+
/**
|
|
5528
|
+
* Name of the font used to print page header.
|
|
5529
|
+
* If this property is unspecified, the text body font is used.
|
|
5530
|
+
*
|
|
5531
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5532
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5533
|
+
* for a description of the format of the string representation.
|
|
5534
|
+
*
|
|
5535
|
+
* The value of this property cannot be changed anymore after the first
|
|
5536
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5537
|
+
*/
|
|
5538
|
+
headerFontName?: string | null
|
|
5539
|
+
/**
|
|
5540
|
+
* Whether to print the document with highlighted syntax.
|
|
5541
|
+
*
|
|
5542
|
+
* The value of this property cannot be changed anymore after the first
|
|
5543
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5544
|
+
*/
|
|
5545
|
+
highlightSyntax?: boolean | null
|
|
5546
|
+
/**
|
|
5547
|
+
* Name of the font used to print line numbers on the left margin.
|
|
5548
|
+
* If this property is unspecified, the text body font is used.
|
|
5549
|
+
*
|
|
5550
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5551
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5552
|
+
* for a description of the format of the string representation.
|
|
5553
|
+
*
|
|
5554
|
+
* The value of this property cannot be changed anymore after the first
|
|
5555
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5556
|
+
*/
|
|
5557
|
+
lineNumbersFontName?: string | null
|
|
5558
|
+
/**
|
|
5559
|
+
* Whether to print a footer in each page.
|
|
5560
|
+
*
|
|
5561
|
+
* Note that by default the footer format is unspecified, and if it is
|
|
5562
|
+
* unspecified the footer will not be printed, regardless of the value of
|
|
5563
|
+
* this property.
|
|
5564
|
+
*
|
|
5565
|
+
* The value of this property cannot be changed anymore after the first
|
|
5566
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5567
|
+
*/
|
|
5568
|
+
printFooter?: boolean | null
|
|
5569
|
+
/**
|
|
5570
|
+
* Whether to print a header in each page.
|
|
5571
|
+
*
|
|
5572
|
+
* Note that by default the header format is unspecified, and if it is
|
|
5573
|
+
* unspecified the header will not be printed, regardless of the value of
|
|
5574
|
+
* this property.
|
|
5575
|
+
*
|
|
5576
|
+
* The value of this property cannot be changed anymore after the first
|
|
5577
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5578
|
+
*/
|
|
5579
|
+
printHeader?: boolean | null
|
|
5580
|
+
/**
|
|
5581
|
+
* Interval of printed line numbers. If this property is set to 0 no
|
|
5582
|
+
* numbers will be printed. If greater than 0, a number will be
|
|
5583
|
+
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
5584
|
+
*
|
|
5585
|
+
* The value of this property cannot be changed anymore after the first
|
|
5586
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5587
|
+
*/
|
|
5588
|
+
printLineNumbers?: number | null
|
|
5589
|
+
/**
|
|
5590
|
+
* Width of a tab character expressed in spaces.
|
|
5591
|
+
*
|
|
5592
|
+
* The value of this property cannot be changed anymore after the first
|
|
5593
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5594
|
+
*/
|
|
5595
|
+
tabWidth?: number | null
|
|
5596
|
+
/**
|
|
5597
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5598
|
+
*
|
|
5599
|
+
* The value of this property cannot be changed anymore after the first
|
|
5600
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5601
|
+
*/
|
|
5602
|
+
wrapMode?: Gtk.WrapMode | null
|
|
5255
5603
|
}
|
|
5256
5604
|
|
|
5257
5605
|
}
|
|
@@ -5271,6 +5619,17 @@ interface PrintCompositor {
|
|
|
5271
5619
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5272
5620
|
*/
|
|
5273
5621
|
body_font_name: string | null
|
|
5622
|
+
/**
|
|
5623
|
+
* Name of the font used for the text body.
|
|
5624
|
+
*
|
|
5625
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5626
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5627
|
+
* for a description of the format of the string representation.
|
|
5628
|
+
*
|
|
5629
|
+
* The value of this property cannot be changed anymore after the first
|
|
5630
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5631
|
+
*/
|
|
5632
|
+
bodyFontName: string | null
|
|
5274
5633
|
/**
|
|
5275
5634
|
* The GtkSourceBuffer object to print.
|
|
5276
5635
|
*/
|
|
@@ -5287,6 +5646,18 @@ interface PrintCompositor {
|
|
|
5287
5646
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5288
5647
|
*/
|
|
5289
5648
|
footer_font_name: string | null
|
|
5649
|
+
/**
|
|
5650
|
+
* Name of the font used to print page footer.
|
|
5651
|
+
* If this property is unspecified, the text body font is used.
|
|
5652
|
+
*
|
|
5653
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5654
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5655
|
+
* for a description of the format of the string representation.
|
|
5656
|
+
*
|
|
5657
|
+
* The value of this property cannot be changed anymore after the first
|
|
5658
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5659
|
+
*/
|
|
5660
|
+
footerFontName: string | null
|
|
5290
5661
|
/**
|
|
5291
5662
|
* Name of the font used to print page header.
|
|
5292
5663
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5299,6 +5670,18 @@ interface PrintCompositor {
|
|
|
5299
5670
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5300
5671
|
*/
|
|
5301
5672
|
header_font_name: string | null
|
|
5673
|
+
/**
|
|
5674
|
+
* Name of the font used to print page header.
|
|
5675
|
+
* If this property is unspecified, the text body font is used.
|
|
5676
|
+
*
|
|
5677
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5678
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5679
|
+
* for a description of the format of the string representation.
|
|
5680
|
+
*
|
|
5681
|
+
* The value of this property cannot be changed anymore after the first
|
|
5682
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5683
|
+
*/
|
|
5684
|
+
headerFontName: string | null
|
|
5302
5685
|
/**
|
|
5303
5686
|
* Whether to print the document with highlighted syntax.
|
|
5304
5687
|
*
|
|
@@ -5306,6 +5689,13 @@ interface PrintCompositor {
|
|
|
5306
5689
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5307
5690
|
*/
|
|
5308
5691
|
highlight_syntax: boolean
|
|
5692
|
+
/**
|
|
5693
|
+
* Whether to print the document with highlighted syntax.
|
|
5694
|
+
*
|
|
5695
|
+
* The value of this property cannot be changed anymore after the first
|
|
5696
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5697
|
+
*/
|
|
5698
|
+
highlightSyntax: boolean
|
|
5309
5699
|
/**
|
|
5310
5700
|
* Name of the font used to print line numbers on the left margin.
|
|
5311
5701
|
* If this property is unspecified, the text body font is used.
|
|
@@ -5318,11 +5708,28 @@ interface PrintCompositor {
|
|
|
5318
5708
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5319
5709
|
*/
|
|
5320
5710
|
line_numbers_font_name: string | null
|
|
5711
|
+
/**
|
|
5712
|
+
* Name of the font used to print line numbers on the left margin.
|
|
5713
|
+
* If this property is unspecified, the text body font is used.
|
|
5714
|
+
*
|
|
5715
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5716
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5717
|
+
* for a description of the format of the string representation.
|
|
5718
|
+
*
|
|
5719
|
+
* The value of this property cannot be changed anymore after the first
|
|
5720
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5721
|
+
*/
|
|
5722
|
+
lineNumbersFontName: string | null
|
|
5321
5723
|
/**
|
|
5322
5724
|
* The number of pages in the document or <code>-1</code> if the
|
|
5323
5725
|
* document has not been completely paginated.
|
|
5324
5726
|
*/
|
|
5325
5727
|
readonly n_pages: number
|
|
5728
|
+
/**
|
|
5729
|
+
* The number of pages in the document or <code>-1</code> if the
|
|
5730
|
+
* document has not been completely paginated.
|
|
5731
|
+
*/
|
|
5732
|
+
readonly nPages: number
|
|
5326
5733
|
/**
|
|
5327
5734
|
* Whether to print a footer in each page.
|
|
5328
5735
|
*
|
|
@@ -5334,6 +5741,17 @@ interface PrintCompositor {
|
|
|
5334
5741
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5335
5742
|
*/
|
|
5336
5743
|
print_footer: boolean
|
|
5744
|
+
/**
|
|
5745
|
+
* Whether to print a footer in each page.
|
|
5746
|
+
*
|
|
5747
|
+
* Note that by default the footer format is unspecified, and if it is
|
|
5748
|
+
* unspecified the footer will not be printed, regardless of the value of
|
|
5749
|
+
* this property.
|
|
5750
|
+
*
|
|
5751
|
+
* The value of this property cannot be changed anymore after the first
|
|
5752
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5753
|
+
*/
|
|
5754
|
+
printFooter: boolean
|
|
5337
5755
|
/**
|
|
5338
5756
|
* Whether to print a header in each page.
|
|
5339
5757
|
*
|
|
@@ -5345,6 +5763,17 @@ interface PrintCompositor {
|
|
|
5345
5763
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5346
5764
|
*/
|
|
5347
5765
|
print_header: boolean
|
|
5766
|
+
/**
|
|
5767
|
+
* Whether to print a header in each page.
|
|
5768
|
+
*
|
|
5769
|
+
* Note that by default the header format is unspecified, and if it is
|
|
5770
|
+
* unspecified the header will not be printed, regardless of the value of
|
|
5771
|
+
* this property.
|
|
5772
|
+
*
|
|
5773
|
+
* The value of this property cannot be changed anymore after the first
|
|
5774
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5775
|
+
*/
|
|
5776
|
+
printHeader: boolean
|
|
5348
5777
|
/**
|
|
5349
5778
|
* Interval of printed line numbers. If this property is set to 0 no
|
|
5350
5779
|
* numbers will be printed. If greater than 0, a number will be
|
|
@@ -5354,6 +5783,15 @@ interface PrintCompositor {
|
|
|
5354
5783
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5355
5784
|
*/
|
|
5356
5785
|
print_line_numbers: number
|
|
5786
|
+
/**
|
|
5787
|
+
* Interval of printed line numbers. If this property is set to 0 no
|
|
5788
|
+
* numbers will be printed. If greater than 0, a number will be
|
|
5789
|
+
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
5790
|
+
*
|
|
5791
|
+
* The value of this property cannot be changed anymore after the first
|
|
5792
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5793
|
+
*/
|
|
5794
|
+
printLineNumbers: number
|
|
5357
5795
|
/**
|
|
5358
5796
|
* Width of a tab character expressed in spaces.
|
|
5359
5797
|
*
|
|
@@ -5361,6 +5799,13 @@ interface PrintCompositor {
|
|
|
5361
5799
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5362
5800
|
*/
|
|
5363
5801
|
tab_width: number
|
|
5802
|
+
/**
|
|
5803
|
+
* Width of a tab character expressed in spaces.
|
|
5804
|
+
*
|
|
5805
|
+
* The value of this property cannot be changed anymore after the first
|
|
5806
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5807
|
+
*/
|
|
5808
|
+
tabWidth: number
|
|
5364
5809
|
/**
|
|
5365
5810
|
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5366
5811
|
*
|
|
@@ -5368,6 +5813,13 @@ interface PrintCompositor {
|
|
|
5368
5813
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5369
5814
|
*/
|
|
5370
5815
|
wrap_mode: Gtk.WrapMode
|
|
5816
|
+
/**
|
|
5817
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5818
|
+
*
|
|
5819
|
+
* The value of this property cannot be changed anymore after the first
|
|
5820
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5821
|
+
*/
|
|
5822
|
+
wrapMode: Gtk.WrapMode
|
|
5371
5823
|
|
|
5372
5824
|
// Own fields of GtkSource-4.GtkSource.PrintCompositor
|
|
5373
5825
|
|
|
@@ -5992,6 +6444,10 @@ module SearchContext {
|
|
|
5992
6444
|
* This property is construct-only since version 4.0.
|
|
5993
6445
|
*/
|
|
5994
6446
|
settings?: SearchSettings | null
|
|
6447
|
+
/**
|
|
6448
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6449
|
+
*/
|
|
6450
|
+
matchStyle?: Style | null
|
|
5995
6451
|
}
|
|
5996
6452
|
|
|
5997
6453
|
}
|
|
@@ -6012,12 +6468,22 @@ interface SearchContext {
|
|
|
6012
6468
|
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6013
6469
|
*/
|
|
6014
6470
|
match_style: Style
|
|
6471
|
+
/**
|
|
6472
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6473
|
+
*/
|
|
6474
|
+
matchStyle: Style
|
|
6015
6475
|
/**
|
|
6016
6476
|
* The total number of search occurrences. If the search is disabled,
|
|
6017
6477
|
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6018
6478
|
* is -1.
|
|
6019
6479
|
*/
|
|
6020
6480
|
readonly occurrences_count: number
|
|
6481
|
+
/**
|
|
6482
|
+
* The total number of search occurrences. If the search is disabled,
|
|
6483
|
+
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6484
|
+
* is -1.
|
|
6485
|
+
*/
|
|
6486
|
+
readonly occurrencesCount: number
|
|
6021
6487
|
/**
|
|
6022
6488
|
* If the regex search pattern doesn't follow all the rules, this
|
|
6023
6489
|
* #GError property will be set. If the pattern is valid, the value is
|
|
@@ -6026,6 +6492,14 @@ interface SearchContext {
|
|
|
6026
6492
|
* Free with g_error_free().
|
|
6027
6493
|
*/
|
|
6028
6494
|
readonly regex_error: any
|
|
6495
|
+
/**
|
|
6496
|
+
* If the regex search pattern doesn't follow all the rules, this
|
|
6497
|
+
* #GError property will be set. If the pattern is valid, the value is
|
|
6498
|
+
* %NULL.
|
|
6499
|
+
*
|
|
6500
|
+
* Free with g_error_free().
|
|
6501
|
+
*/
|
|
6502
|
+
readonly regexError: any
|
|
6029
6503
|
/**
|
|
6030
6504
|
* The #GtkSourceSearchSettings associated to the search context.
|
|
6031
6505
|
*
|
|
@@ -6332,6 +6806,32 @@ module SearchSettings {
|
|
|
6332
6806
|
* end of the buffer.
|
|
6333
6807
|
*/
|
|
6334
6808
|
wrap_around?: boolean | null
|
|
6809
|
+
/**
|
|
6810
|
+
* If %TRUE, a search match must start and end a word. The match can
|
|
6811
|
+
* span multiple words.
|
|
6812
|
+
*/
|
|
6813
|
+
atWordBoundaries?: boolean | null
|
|
6814
|
+
/**
|
|
6815
|
+
* Whether the search is case sensitive.
|
|
6816
|
+
*/
|
|
6817
|
+
caseSensitive?: boolean | null
|
|
6818
|
+
/**
|
|
6819
|
+
* Search by regular expressions with
|
|
6820
|
+
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6821
|
+
*/
|
|
6822
|
+
regexEnabled?: boolean | null
|
|
6823
|
+
/**
|
|
6824
|
+
* A search string, or %NULL if the search is disabled. If the regular
|
|
6825
|
+
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6826
|
+
* the pattern.
|
|
6827
|
+
*/
|
|
6828
|
+
searchText?: string | null
|
|
6829
|
+
/**
|
|
6830
|
+
* For a forward search, continue at the beginning of the buffer if no
|
|
6831
|
+
* search occurrence is found. For a backward search, continue at the
|
|
6832
|
+
* end of the buffer.
|
|
6833
|
+
*/
|
|
6834
|
+
wrapAround?: boolean | null
|
|
6335
6835
|
}
|
|
6336
6836
|
|
|
6337
6837
|
}
|
|
@@ -6345,27 +6845,53 @@ interface SearchSettings {
|
|
|
6345
6845
|
* span multiple words.
|
|
6346
6846
|
*/
|
|
6347
6847
|
at_word_boundaries: boolean
|
|
6848
|
+
/**
|
|
6849
|
+
* If %TRUE, a search match must start and end a word. The match can
|
|
6850
|
+
* span multiple words.
|
|
6851
|
+
*/
|
|
6852
|
+
atWordBoundaries: boolean
|
|
6348
6853
|
/**
|
|
6349
6854
|
* Whether the search is case sensitive.
|
|
6350
6855
|
*/
|
|
6351
6856
|
case_sensitive: boolean
|
|
6857
|
+
/**
|
|
6858
|
+
* Whether the search is case sensitive.
|
|
6859
|
+
*/
|
|
6860
|
+
caseSensitive: boolean
|
|
6352
6861
|
/**
|
|
6353
6862
|
* Search by regular expressions with
|
|
6354
6863
|
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6355
6864
|
*/
|
|
6356
6865
|
regex_enabled: boolean
|
|
6866
|
+
/**
|
|
6867
|
+
* Search by regular expressions with
|
|
6868
|
+
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6869
|
+
*/
|
|
6870
|
+
regexEnabled: boolean
|
|
6357
6871
|
/**
|
|
6358
6872
|
* A search string, or %NULL if the search is disabled. If the regular
|
|
6359
6873
|
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6360
6874
|
* the pattern.
|
|
6361
6875
|
*/
|
|
6362
6876
|
search_text: string | null
|
|
6877
|
+
/**
|
|
6878
|
+
* A search string, or %NULL if the search is disabled. If the regular
|
|
6879
|
+
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6880
|
+
* the pattern.
|
|
6881
|
+
*/
|
|
6882
|
+
searchText: string | null
|
|
6363
6883
|
/**
|
|
6364
6884
|
* For a forward search, continue at the beginning of the buffer if no
|
|
6365
6885
|
* search occurrence is found. For a backward search, continue at the
|
|
6366
6886
|
* end of the buffer.
|
|
6367
6887
|
*/
|
|
6368
6888
|
wrap_around: boolean
|
|
6889
|
+
/**
|
|
6890
|
+
* For a forward search, continue at the beginning of the buffer if no
|
|
6891
|
+
* search occurrence is found. For a backward search, continue at the
|
|
6892
|
+
* end of the buffer.
|
|
6893
|
+
*/
|
|
6894
|
+
wrapAround: boolean
|
|
6369
6895
|
|
|
6370
6896
|
// Own fields of GtkSource-4.GtkSource.SearchSettings
|
|
6371
6897
|
|
|
@@ -6505,6 +7031,10 @@ module SpaceDrawer {
|
|
|
6505
7031
|
* By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.
|
|
6506
7032
|
*/
|
|
6507
7033
|
matrix?: GLib.Variant | null
|
|
7034
|
+
/**
|
|
7035
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7036
|
+
*/
|
|
7037
|
+
enableMatrix?: boolean | null
|
|
6508
7038
|
}
|
|
6509
7039
|
|
|
6510
7040
|
}
|
|
@@ -6517,6 +7047,10 @@ interface SpaceDrawer {
|
|
|
6517
7047
|
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
6518
7048
|
*/
|
|
6519
7049
|
enable_matrix: boolean
|
|
7050
|
+
/**
|
|
7051
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7052
|
+
*/
|
|
7053
|
+
enableMatrix: boolean
|
|
6520
7054
|
/**
|
|
6521
7055
|
* The :matrix property is a #GVariant property to specify where and
|
|
6522
7056
|
* what kind of white spaces to draw.
|
|
@@ -6670,6 +7204,18 @@ module Style {
|
|
|
6670
7204
|
underline_color?: string | null
|
|
6671
7205
|
underline_color_set?: boolean | null
|
|
6672
7206
|
underline_set?: boolean | null
|
|
7207
|
+
backgroundSet?: boolean | null
|
|
7208
|
+
boldSet?: boolean | null
|
|
7209
|
+
foregroundSet?: boolean | null
|
|
7210
|
+
italicSet?: boolean | null
|
|
7211
|
+
lineBackground?: string | null
|
|
7212
|
+
lineBackgroundSet?: boolean | null
|
|
7213
|
+
pangoUnderline?: Pango.Underline | null
|
|
7214
|
+
scaleSet?: boolean | null
|
|
7215
|
+
strikethroughSet?: boolean | null
|
|
7216
|
+
underlineColor?: string | null
|
|
7217
|
+
underlineColorSet?: boolean | null
|
|
7218
|
+
underlineSet?: boolean | null
|
|
6673
7219
|
}
|
|
6674
7220
|
|
|
6675
7221
|
}
|
|
@@ -6680,22 +7226,34 @@ interface Style {
|
|
|
6680
7226
|
|
|
6681
7227
|
readonly background: string | null
|
|
6682
7228
|
readonly background_set: boolean
|
|
7229
|
+
readonly backgroundSet: boolean
|
|
6683
7230
|
readonly bold: boolean
|
|
6684
7231
|
readonly bold_set: boolean
|
|
7232
|
+
readonly boldSet: boolean
|
|
6685
7233
|
readonly foreground: string | null
|
|
6686
7234
|
readonly foreground_set: boolean
|
|
7235
|
+
readonly foregroundSet: boolean
|
|
6687
7236
|
readonly italic: boolean
|
|
6688
7237
|
readonly italic_set: boolean
|
|
7238
|
+
readonly italicSet: boolean
|
|
6689
7239
|
readonly line_background: string | null
|
|
7240
|
+
readonly lineBackground: string | null
|
|
6690
7241
|
readonly line_background_set: boolean
|
|
7242
|
+
readonly lineBackgroundSet: boolean
|
|
6691
7243
|
readonly pango_underline: Pango.Underline
|
|
7244
|
+
readonly pangoUnderline: Pango.Underline
|
|
6692
7245
|
readonly scale: string | null
|
|
6693
7246
|
readonly scale_set: boolean
|
|
7247
|
+
readonly scaleSet: boolean
|
|
6694
7248
|
readonly strikethrough: boolean
|
|
6695
7249
|
readonly strikethrough_set: boolean
|
|
7250
|
+
readonly strikethroughSet: boolean
|
|
6696
7251
|
readonly underline_color: string | null
|
|
7252
|
+
readonly underlineColor: string | null
|
|
6697
7253
|
readonly underline_color_set: boolean
|
|
7254
|
+
readonly underlineColorSet: boolean
|
|
6698
7255
|
readonly underline_set: boolean
|
|
7256
|
+
readonly underlineSet: boolean
|
|
6699
7257
|
|
|
6700
7258
|
// Owm methods of GtkSource-4.GtkSource.Style
|
|
6701
7259
|
|
|
@@ -7360,6 +7918,7 @@ module StyleSchemeManager {
|
|
|
7360
7918
|
// Own constructor properties of GtkSource-4.GtkSource.StyleSchemeManager
|
|
7361
7919
|
|
|
7362
7920
|
search_path?: string[] | null
|
|
7921
|
+
searchPath?: string[] | null
|
|
7363
7922
|
}
|
|
7364
7923
|
|
|
7365
7924
|
}
|
|
@@ -7369,7 +7928,9 @@ interface StyleSchemeManager {
|
|
|
7369
7928
|
// Own properties of GtkSource-4.GtkSource.StyleSchemeManager
|
|
7370
7929
|
|
|
7371
7930
|
readonly scheme_ids: string[]
|
|
7931
|
+
readonly schemeIds: string[]
|
|
7372
7932
|
search_path: string[]
|
|
7933
|
+
searchPath: string[]
|
|
7373
7934
|
|
|
7374
7935
|
// Own fields of GtkSource-4.GtkSource.StyleSchemeManager
|
|
7375
7936
|
|
|
@@ -7491,6 +8052,20 @@ module Tag {
|
|
|
7491
8052
|
* taken into account.
|
|
7492
8053
|
*/
|
|
7493
8054
|
draw_spaces_set?: boolean | null
|
|
8055
|
+
/**
|
|
8056
|
+
* Whether to draw white spaces. This property takes precedence over the value
|
|
8057
|
+
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8058
|
+
* (only where the tag is applied).
|
|
8059
|
+
*
|
|
8060
|
+
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8061
|
+
* %TRUE.
|
|
8062
|
+
*/
|
|
8063
|
+
drawSpaces?: boolean | null
|
|
8064
|
+
/**
|
|
8065
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8066
|
+
* taken into account.
|
|
8067
|
+
*/
|
|
8068
|
+
drawSpacesSet?: boolean | null
|
|
7494
8069
|
}
|
|
7495
8070
|
|
|
7496
8071
|
}
|
|
@@ -7508,11 +8083,25 @@ interface Tag {
|
|
|
7508
8083
|
* %TRUE.
|
|
7509
8084
|
*/
|
|
7510
8085
|
draw_spaces: boolean
|
|
8086
|
+
/**
|
|
8087
|
+
* Whether to draw white spaces. This property takes precedence over the value
|
|
8088
|
+
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8089
|
+
* (only where the tag is applied).
|
|
8090
|
+
*
|
|
8091
|
+
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8092
|
+
* %TRUE.
|
|
8093
|
+
*/
|
|
8094
|
+
drawSpaces: boolean
|
|
7511
8095
|
/**
|
|
7512
8096
|
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
7513
8097
|
* taken into account.
|
|
7514
8098
|
*/
|
|
7515
8099
|
draw_spaces_set: boolean
|
|
8100
|
+
/**
|
|
8101
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8102
|
+
* taken into account.
|
|
8103
|
+
*/
|
|
8104
|
+
drawSpacesSet: boolean
|
|
7516
8105
|
|
|
7517
8106
|
// Own fields of GtkSource-4.GtkSource.Tag
|
|
7518
8107
|
|
|
@@ -7917,6 +8506,46 @@ module View {
|
|
|
7917
8506
|
* Width of a tab character expressed in number of spaces.
|
|
7918
8507
|
*/
|
|
7919
8508
|
tab_width?: number | null
|
|
8509
|
+
autoIndent?: boolean | null
|
|
8510
|
+
/**
|
|
8511
|
+
* Draw a specific background pattern on the view.
|
|
8512
|
+
*/
|
|
8513
|
+
backgroundPattern?: BackgroundPatternType | null
|
|
8514
|
+
highlightCurrentLine?: boolean | null
|
|
8515
|
+
indentOnTab?: boolean | null
|
|
8516
|
+
/**
|
|
8517
|
+
* Width of an indentation step expressed in number of spaces.
|
|
8518
|
+
*/
|
|
8519
|
+
indentWidth?: number | null
|
|
8520
|
+
insertSpacesInsteadOfTabs?: boolean | null
|
|
8521
|
+
/**
|
|
8522
|
+
* Position of the right margin.
|
|
8523
|
+
*/
|
|
8524
|
+
rightMarginPosition?: number | null
|
|
8525
|
+
/**
|
|
8526
|
+
* Whether to display line mark pixbufs
|
|
8527
|
+
*/
|
|
8528
|
+
showLineMarks?: boolean | null
|
|
8529
|
+
/**
|
|
8530
|
+
* Whether to display line numbers
|
|
8531
|
+
*/
|
|
8532
|
+
showLineNumbers?: boolean | null
|
|
8533
|
+
/**
|
|
8534
|
+
* Whether to display the right margin.
|
|
8535
|
+
*/
|
|
8536
|
+
showRightMargin?: boolean | null
|
|
8537
|
+
/**
|
|
8538
|
+
* Whether smart Backspace should be used.
|
|
8539
|
+
*/
|
|
8540
|
+
smartBackspace?: boolean | null
|
|
8541
|
+
/**
|
|
8542
|
+
* Set the behavior of the HOME and END keys.
|
|
8543
|
+
*/
|
|
8544
|
+
smartHomeEnd?: SmartHomeEndType | null
|
|
8545
|
+
/**
|
|
8546
|
+
* Width of a tab character expressed in number of spaces.
|
|
8547
|
+
*/
|
|
8548
|
+
tabWidth?: number | null
|
|
7920
8549
|
}
|
|
7921
8550
|
|
|
7922
8551
|
}
|
|
@@ -7926,53 +8555,97 @@ interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
|
|
|
7926
8555
|
// Own properties of GtkSource-4.GtkSource.View
|
|
7927
8556
|
|
|
7928
8557
|
auto_indent: boolean
|
|
8558
|
+
autoIndent: boolean
|
|
7929
8559
|
/**
|
|
7930
8560
|
* Draw a specific background pattern on the view.
|
|
7931
8561
|
*/
|
|
7932
8562
|
background_pattern: BackgroundPatternType
|
|
8563
|
+
/**
|
|
8564
|
+
* Draw a specific background pattern on the view.
|
|
8565
|
+
*/
|
|
8566
|
+
backgroundPattern: BackgroundPatternType
|
|
7933
8567
|
/**
|
|
7934
8568
|
* The completion object associated with the view
|
|
7935
8569
|
*/
|
|
7936
8570
|
readonly completion: Completion
|
|
7937
8571
|
highlight_current_line: boolean
|
|
8572
|
+
highlightCurrentLine: boolean
|
|
7938
8573
|
indent_on_tab: boolean
|
|
8574
|
+
indentOnTab: boolean
|
|
7939
8575
|
/**
|
|
7940
8576
|
* Width of an indentation step expressed in number of spaces.
|
|
7941
8577
|
*/
|
|
7942
8578
|
indent_width: number
|
|
8579
|
+
/**
|
|
8580
|
+
* Width of an indentation step expressed in number of spaces.
|
|
8581
|
+
*/
|
|
8582
|
+
indentWidth: number
|
|
7943
8583
|
insert_spaces_instead_of_tabs: boolean
|
|
8584
|
+
insertSpacesInsteadOfTabs: boolean
|
|
7944
8585
|
/**
|
|
7945
8586
|
* Position of the right margin.
|
|
7946
8587
|
*/
|
|
7947
8588
|
right_margin_position: number
|
|
8589
|
+
/**
|
|
8590
|
+
* Position of the right margin.
|
|
8591
|
+
*/
|
|
8592
|
+
rightMarginPosition: number
|
|
7948
8593
|
/**
|
|
7949
8594
|
* Whether to display line mark pixbufs
|
|
7950
8595
|
*/
|
|
7951
8596
|
show_line_marks: boolean
|
|
8597
|
+
/**
|
|
8598
|
+
* Whether to display line mark pixbufs
|
|
8599
|
+
*/
|
|
8600
|
+
showLineMarks: boolean
|
|
7952
8601
|
/**
|
|
7953
8602
|
* Whether to display line numbers
|
|
7954
8603
|
*/
|
|
7955
8604
|
show_line_numbers: boolean
|
|
8605
|
+
/**
|
|
8606
|
+
* Whether to display line numbers
|
|
8607
|
+
*/
|
|
8608
|
+
showLineNumbers: boolean
|
|
7956
8609
|
/**
|
|
7957
8610
|
* Whether to display the right margin.
|
|
7958
8611
|
*/
|
|
7959
8612
|
show_right_margin: boolean
|
|
8613
|
+
/**
|
|
8614
|
+
* Whether to display the right margin.
|
|
8615
|
+
*/
|
|
8616
|
+
showRightMargin: boolean
|
|
7960
8617
|
/**
|
|
7961
8618
|
* Whether smart Backspace should be used.
|
|
7962
8619
|
*/
|
|
7963
8620
|
smart_backspace: boolean
|
|
8621
|
+
/**
|
|
8622
|
+
* Whether smart Backspace should be used.
|
|
8623
|
+
*/
|
|
8624
|
+
smartBackspace: boolean
|
|
7964
8625
|
/**
|
|
7965
8626
|
* Set the behavior of the HOME and END keys.
|
|
7966
8627
|
*/
|
|
7967
8628
|
smart_home_end: SmartHomeEndType
|
|
8629
|
+
/**
|
|
8630
|
+
* Set the behavior of the HOME and END keys.
|
|
8631
|
+
*/
|
|
8632
|
+
smartHomeEnd: SmartHomeEndType
|
|
7968
8633
|
/**
|
|
7969
8634
|
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
7970
8635
|
*/
|
|
7971
8636
|
readonly space_drawer: SpaceDrawer
|
|
8637
|
+
/**
|
|
8638
|
+
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
8639
|
+
*/
|
|
8640
|
+
readonly spaceDrawer: SpaceDrawer
|
|
7972
8641
|
/**
|
|
7973
8642
|
* Width of a tab character expressed in number of spaces.
|
|
7974
8643
|
*/
|
|
7975
8644
|
tab_width: number
|
|
8645
|
+
/**
|
|
8646
|
+
* Width of a tab character expressed in number of spaces.
|
|
8647
|
+
*/
|
|
8648
|
+
tabWidth: number
|
|
7976
8649
|
|
|
7977
8650
|
// Conflicting properties
|
|
7978
8651
|
|