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