@girs/gtksource-3.0 3.0.0-3.2.4 → 3.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-3.0-ambient.d.ts +4 -1
- package/gtksource-3.0-import.d.ts +0 -1
- package/gtksource-3.0.d.cts +764 -62
- package/gtksource-3.0.d.ts +764 -62
- package/package.json +15 -15
package/gtksource-3.0.d.cts
CHANGED
|
@@ -959,6 +959,12 @@ export module StyleSchemeChooser {
|
|
|
959
959
|
* the current selection programmatically.
|
|
960
960
|
*/
|
|
961
961
|
style_scheme?: StyleScheme | null
|
|
962
|
+
/**
|
|
963
|
+
* The :style-scheme property contains the currently selected style
|
|
964
|
+
* scheme. The property can be set to change
|
|
965
|
+
* the current selection programmatically.
|
|
966
|
+
*/
|
|
967
|
+
styleScheme?: StyleScheme | null
|
|
962
968
|
}
|
|
963
969
|
|
|
964
970
|
}
|
|
@@ -973,6 +979,12 @@ export interface StyleSchemeChooser {
|
|
|
973
979
|
* the current selection programmatically.
|
|
974
980
|
*/
|
|
975
981
|
style_scheme: StyleScheme
|
|
982
|
+
/**
|
|
983
|
+
* The :style-scheme property contains the currently selected style
|
|
984
|
+
* scheme. The property can be set to change
|
|
985
|
+
* the current selection programmatically.
|
|
986
|
+
*/
|
|
987
|
+
styleScheme: StyleScheme
|
|
976
988
|
|
|
977
989
|
// Owm methods of GtkSource-3.0.GtkSource.StyleSchemeChooser
|
|
978
990
|
|
|
@@ -1250,6 +1262,31 @@ export module Buffer {
|
|
|
1250
1262
|
*/
|
|
1251
1263
|
style_scheme?: StyleScheme | null
|
|
1252
1264
|
undo_manager?: UndoManager | null
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether to highlight matching brackets in the buffer.
|
|
1267
|
+
*/
|
|
1268
|
+
highlightMatchingBrackets?: boolean | null
|
|
1269
|
+
/**
|
|
1270
|
+
* Whether to highlight syntax in the buffer.
|
|
1271
|
+
*/
|
|
1272
|
+
highlightSyntax?: boolean | null
|
|
1273
|
+
/**
|
|
1274
|
+
* Whether the buffer has an implicit trailing newline. See
|
|
1275
|
+
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1276
|
+
*/
|
|
1277
|
+
implicitTrailingNewline?: boolean | null
|
|
1278
|
+
/**
|
|
1279
|
+
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1280
|
+
* will only affect the default undo manager.
|
|
1281
|
+
*/
|
|
1282
|
+
maxUndoLevels?: number | null
|
|
1283
|
+
/**
|
|
1284
|
+
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1285
|
+
* foreground, background, cursor color, current line color, and matching
|
|
1286
|
+
* brackets style.
|
|
1287
|
+
*/
|
|
1288
|
+
styleScheme?: StyleScheme | null
|
|
1289
|
+
undoManager?: UndoManager | null
|
|
1253
1290
|
}
|
|
1254
1291
|
|
|
1255
1292
|
}
|
|
@@ -1259,33 +1296,60 @@ export interface Buffer {
|
|
|
1259
1296
|
// Own properties of GtkSource-3.0.GtkSource.Buffer
|
|
1260
1297
|
|
|
1261
1298
|
readonly can_redo: boolean
|
|
1299
|
+
readonly canRedo: boolean
|
|
1262
1300
|
readonly can_undo: boolean
|
|
1301
|
+
readonly canUndo: boolean
|
|
1263
1302
|
/**
|
|
1264
1303
|
* Whether to highlight matching brackets in the buffer.
|
|
1265
1304
|
*/
|
|
1266
1305
|
highlight_matching_brackets: boolean
|
|
1306
|
+
/**
|
|
1307
|
+
* Whether to highlight matching brackets in the buffer.
|
|
1308
|
+
*/
|
|
1309
|
+
highlightMatchingBrackets: boolean
|
|
1267
1310
|
/**
|
|
1268
1311
|
* Whether to highlight syntax in the buffer.
|
|
1269
1312
|
*/
|
|
1270
1313
|
highlight_syntax: boolean
|
|
1314
|
+
/**
|
|
1315
|
+
* Whether to highlight syntax in the buffer.
|
|
1316
|
+
*/
|
|
1317
|
+
highlightSyntax: boolean
|
|
1271
1318
|
/**
|
|
1272
1319
|
* Whether the buffer has an implicit trailing newline. See
|
|
1273
1320
|
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1274
1321
|
*/
|
|
1275
1322
|
implicit_trailing_newline: boolean
|
|
1323
|
+
/**
|
|
1324
|
+
* Whether the buffer has an implicit trailing newline. See
|
|
1325
|
+
* gtk_source_buffer_set_implicit_trailing_newline().
|
|
1326
|
+
*/
|
|
1327
|
+
implicitTrailingNewline: boolean
|
|
1276
1328
|
language: Language
|
|
1277
1329
|
/**
|
|
1278
1330
|
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1279
1331
|
* will only affect the default undo manager.
|
|
1280
1332
|
*/
|
|
1281
1333
|
max_undo_levels: number
|
|
1334
|
+
/**
|
|
1335
|
+
* Number of undo levels for the buffer. -1 means no limit. This property
|
|
1336
|
+
* will only affect the default undo manager.
|
|
1337
|
+
*/
|
|
1338
|
+
maxUndoLevels: number
|
|
1282
1339
|
/**
|
|
1283
1340
|
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1284
1341
|
* foreground, background, cursor color, current line color, and matching
|
|
1285
1342
|
* brackets style.
|
|
1286
1343
|
*/
|
|
1287
1344
|
style_scheme: StyleScheme
|
|
1345
|
+
/**
|
|
1346
|
+
* Style scheme. It contains styles for syntax highlighting, optionally
|
|
1347
|
+
* foreground, background, cursor color, current line color, and matching
|
|
1348
|
+
* brackets style.
|
|
1349
|
+
*/
|
|
1350
|
+
styleScheme: StyleScheme
|
|
1288
1351
|
undo_manager: UndoManager
|
|
1352
|
+
undoManager: UndoManager
|
|
1289
1353
|
|
|
1290
1354
|
// Own fields of GtkSource-3.0.GtkSource.Buffer
|
|
1291
1355
|
|
|
@@ -1834,6 +1898,48 @@ export module Completion {
|
|
|
1834
1898
|
* The #GtkSourceView bound to the completion object.
|
|
1835
1899
|
*/
|
|
1836
1900
|
view?: View | null
|
|
1901
|
+
/**
|
|
1902
|
+
* Determines the popup delay (in milliseconds) at which the completion
|
|
1903
|
+
* will be shown for interactive completion.
|
|
1904
|
+
*/
|
|
1905
|
+
autoCompleteDelay?: number | null
|
|
1906
|
+
/**
|
|
1907
|
+
* The scroll page size of the proposals in the completion window. In
|
|
1908
|
+
* other words, when <keycap>PageDown</keycap> or
|
|
1909
|
+
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1910
|
+
* proposal becomes the one which is located one page size backward or
|
|
1911
|
+
* forward.
|
|
1912
|
+
*
|
|
1913
|
+
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1914
|
+
*/
|
|
1915
|
+
proposalPageSize?: number | null
|
|
1916
|
+
/**
|
|
1917
|
+
* The scroll page size of the provider pages in the completion window.
|
|
1918
|
+
*
|
|
1919
|
+
* See the #GtkSourceCompletion::move-page signal.
|
|
1920
|
+
*/
|
|
1921
|
+
providerPageSize?: number | null
|
|
1922
|
+
/**
|
|
1923
|
+
* Determines whether the visibility of the info window should be
|
|
1924
|
+
* saved when the completion is hidden, and restored when the completion
|
|
1925
|
+
* is shown again.
|
|
1926
|
+
*/
|
|
1927
|
+
rememberInfoVisibility?: boolean | null
|
|
1928
|
+
/**
|
|
1929
|
+
* Determines whether the first proposal should be selected when the
|
|
1930
|
+
* completion is first shown.
|
|
1931
|
+
*/
|
|
1932
|
+
selectOnShow?: boolean | null
|
|
1933
|
+
/**
|
|
1934
|
+
* Determines whether provider headers should be shown in the proposal
|
|
1935
|
+
* list. It can be useful to disable when there is only one provider.
|
|
1936
|
+
*/
|
|
1937
|
+
showHeaders?: boolean | null
|
|
1938
|
+
/**
|
|
1939
|
+
* Determines whether provider and proposal icons should be shown in
|
|
1940
|
+
* the completion popup.
|
|
1941
|
+
*/
|
|
1942
|
+
showIcons?: boolean | null
|
|
1837
1943
|
}
|
|
1838
1944
|
|
|
1839
1945
|
}
|
|
@@ -1853,6 +1959,11 @@ export interface Completion extends Gtk.Buildable {
|
|
|
1853
1959
|
* will be shown for interactive completion.
|
|
1854
1960
|
*/
|
|
1855
1961
|
auto_complete_delay: number
|
|
1962
|
+
/**
|
|
1963
|
+
* Determines the popup delay (in milliseconds) at which the completion
|
|
1964
|
+
* will be shown for interactive completion.
|
|
1965
|
+
*/
|
|
1966
|
+
autoCompleteDelay: number
|
|
1856
1967
|
/**
|
|
1857
1968
|
* The scroll page size of the proposals in the completion window. In
|
|
1858
1969
|
* other words, when <keycap>PageDown</keycap> or
|
|
@@ -1863,33 +1974,70 @@ export interface Completion extends Gtk.Buildable {
|
|
|
1863
1974
|
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1864
1975
|
*/
|
|
1865
1976
|
proposal_page_size: number
|
|
1977
|
+
/**
|
|
1978
|
+
* The scroll page size of the proposals in the completion window. In
|
|
1979
|
+
* other words, when <keycap>PageDown</keycap> or
|
|
1980
|
+
* <keycap>PageUp</keycap> is pressed, the selected
|
|
1981
|
+
* proposal becomes the one which is located one page size backward or
|
|
1982
|
+
* forward.
|
|
1983
|
+
*
|
|
1984
|
+
* See also the #GtkSourceCompletion::move-cursor signal.
|
|
1985
|
+
*/
|
|
1986
|
+
proposalPageSize: number
|
|
1866
1987
|
/**
|
|
1867
1988
|
* The scroll page size of the provider pages in the completion window.
|
|
1868
1989
|
*
|
|
1869
1990
|
* See the #GtkSourceCompletion::move-page signal.
|
|
1870
1991
|
*/
|
|
1871
1992
|
provider_page_size: number
|
|
1993
|
+
/**
|
|
1994
|
+
* The scroll page size of the provider pages in the completion window.
|
|
1995
|
+
*
|
|
1996
|
+
* See the #GtkSourceCompletion::move-page signal.
|
|
1997
|
+
*/
|
|
1998
|
+
providerPageSize: number
|
|
1872
1999
|
/**
|
|
1873
2000
|
* Determines whether the visibility of the info window should be
|
|
1874
2001
|
* saved when the completion is hidden, and restored when the completion
|
|
1875
2002
|
* is shown again.
|
|
1876
2003
|
*/
|
|
1877
2004
|
remember_info_visibility: boolean
|
|
2005
|
+
/**
|
|
2006
|
+
* Determines whether the visibility of the info window should be
|
|
2007
|
+
* saved when the completion is hidden, and restored when the completion
|
|
2008
|
+
* is shown again.
|
|
2009
|
+
*/
|
|
2010
|
+
rememberInfoVisibility: boolean
|
|
1878
2011
|
/**
|
|
1879
2012
|
* Determines whether the first proposal should be selected when the
|
|
1880
2013
|
* completion is first shown.
|
|
1881
2014
|
*/
|
|
1882
2015
|
select_on_show: boolean
|
|
2016
|
+
/**
|
|
2017
|
+
* Determines whether the first proposal should be selected when the
|
|
2018
|
+
* completion is first shown.
|
|
2019
|
+
*/
|
|
2020
|
+
selectOnShow: boolean
|
|
1883
2021
|
/**
|
|
1884
2022
|
* Determines whether provider headers should be shown in the proposal
|
|
1885
2023
|
* list. It can be useful to disable when there is only one provider.
|
|
1886
2024
|
*/
|
|
1887
2025
|
show_headers: boolean
|
|
2026
|
+
/**
|
|
2027
|
+
* Determines whether provider headers should be shown in the proposal
|
|
2028
|
+
* list. It can be useful to disable when there is only one provider.
|
|
2029
|
+
*/
|
|
2030
|
+
showHeaders: boolean
|
|
1888
2031
|
/**
|
|
1889
2032
|
* Determines whether provider and proposal icons should be shown in
|
|
1890
2033
|
* the completion popup.
|
|
1891
2034
|
*/
|
|
1892
2035
|
show_icons: boolean
|
|
2036
|
+
/**
|
|
2037
|
+
* Determines whether provider and proposal icons should be shown in
|
|
2038
|
+
* the completion popup.
|
|
2039
|
+
*/
|
|
2040
|
+
showIcons: boolean
|
|
1893
2041
|
/**
|
|
1894
2042
|
* The #GtkSourceView bound to the completion object.
|
|
1895
2043
|
*/
|
|
@@ -2624,6 +2772,10 @@ export module CompletionItem {
|
|
|
2624
2772
|
* Proposal text.
|
|
2625
2773
|
*/
|
|
2626
2774
|
text?: string | null
|
|
2775
|
+
/**
|
|
2776
|
+
* The icon name for the icon to be shown for this proposal.
|
|
2777
|
+
*/
|
|
2778
|
+
iconName?: string | null
|
|
2627
2779
|
}
|
|
2628
2780
|
|
|
2629
2781
|
}
|
|
@@ -2644,6 +2796,10 @@ export interface CompletionItem extends CompletionProposal {
|
|
|
2644
2796
|
* The icon name for the icon to be shown for this proposal.
|
|
2645
2797
|
*/
|
|
2646
2798
|
icon_name: string | null
|
|
2799
|
+
/**
|
|
2800
|
+
* The icon name for the icon to be shown for this proposal.
|
|
2801
|
+
*/
|
|
2802
|
+
iconName: string | null
|
|
2647
2803
|
/**
|
|
2648
2804
|
* Optional extra information to be shown for this proposal.
|
|
2649
2805
|
*/
|
|
@@ -2790,6 +2946,10 @@ export module CompletionWords {
|
|
|
2790
2946
|
priority?: number | null
|
|
2791
2947
|
proposals_batch_size?: number | null
|
|
2792
2948
|
scan_batch_size?: number | null
|
|
2949
|
+
interactiveDelay?: number | null
|
|
2950
|
+
minimumWordSize?: number | null
|
|
2951
|
+
proposalsBatchSize?: number | null
|
|
2952
|
+
scanBatchSize?: number | null
|
|
2793
2953
|
}
|
|
2794
2954
|
|
|
2795
2955
|
}
|
|
@@ -2804,11 +2964,15 @@ export interface CompletionWords extends CompletionProvider {
|
|
|
2804
2964
|
activation: CompletionActivation
|
|
2805
2965
|
icon: GdkPixbuf.Pixbuf
|
|
2806
2966
|
interactive_delay: number
|
|
2967
|
+
interactiveDelay: number
|
|
2807
2968
|
minimum_word_size: number
|
|
2969
|
+
minimumWordSize: number
|
|
2808
2970
|
name: string | null
|
|
2809
2971
|
priority: number
|
|
2810
2972
|
proposals_batch_size: number
|
|
2973
|
+
proposalsBatchSize: number
|
|
2811
2974
|
scan_batch_size: number
|
|
2975
|
+
scanBatchSize: number
|
|
2812
2976
|
|
|
2813
2977
|
// Own fields of GtkSource-3.0.GtkSource.CompletionWords
|
|
2814
2978
|
|
|
@@ -2899,6 +3063,10 @@ export interface File {
|
|
|
2899
3063
|
* The compression type.
|
|
2900
3064
|
*/
|
|
2901
3065
|
readonly compression_type: CompressionType
|
|
3066
|
+
/**
|
|
3067
|
+
* The compression type.
|
|
3068
|
+
*/
|
|
3069
|
+
readonly compressionType: CompressionType
|
|
2902
3070
|
/**
|
|
2903
3071
|
* The character encoding, initially %NULL. After a successful file
|
|
2904
3072
|
* loading or saving operation, the encoding is non-%NULL.
|
|
@@ -2912,11 +3080,20 @@ export interface File {
|
|
|
2912
3080
|
* The line ending type.
|
|
2913
3081
|
*/
|
|
2914
3082
|
readonly newline_type: NewlineType
|
|
3083
|
+
/**
|
|
3084
|
+
* The line ending type.
|
|
3085
|
+
*/
|
|
3086
|
+
readonly newlineType: NewlineType
|
|
2915
3087
|
/**
|
|
2916
3088
|
* Whether the file is read-only or not. The value of this property is
|
|
2917
3089
|
* not updated automatically (there is no file monitors).
|
|
2918
3090
|
*/
|
|
2919
3091
|
readonly read_only: boolean
|
|
3092
|
+
/**
|
|
3093
|
+
* Whether the file is read-only or not. The value of this property is
|
|
3094
|
+
* not updated automatically (there is no file monitors).
|
|
3095
|
+
*/
|
|
3096
|
+
readonly readOnly: boolean
|
|
2920
3097
|
|
|
2921
3098
|
// Own fields of GtkSource-3.0.GtkSource.File
|
|
2922
3099
|
|
|
@@ -3052,6 +3229,11 @@ export module FileLoader {
|
|
|
3052
3229
|
* construction time.
|
|
3053
3230
|
*/
|
|
3054
3231
|
location?: Gio.File | null
|
|
3232
|
+
/**
|
|
3233
|
+
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3234
|
+
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3235
|
+
*/
|
|
3236
|
+
inputStream?: Gio.InputStream | null
|
|
3055
3237
|
}
|
|
3056
3238
|
|
|
3057
3239
|
}
|
|
@@ -3075,6 +3257,11 @@ export interface FileLoader {
|
|
|
3075
3257
|
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3076
3258
|
*/
|
|
3077
3259
|
readonly input_stream: Gio.InputStream
|
|
3260
|
+
/**
|
|
3261
|
+
* The #GInputStream to load. Useful for reading stdin. If this property
|
|
3262
|
+
* is set, the #GtkSourceFileLoader:location property is ignored.
|
|
3263
|
+
*/
|
|
3264
|
+
readonly inputStream: Gio.InputStream
|
|
3078
3265
|
/**
|
|
3079
3266
|
* The #GFile to load. If the #GtkSourceFileLoader:input-stream is
|
|
3080
3267
|
* %NULL, by default the location is taken from the #GtkSourceFile at
|
|
@@ -3252,6 +3439,14 @@ export module FileSaver {
|
|
|
3252
3439
|
* The newline type.
|
|
3253
3440
|
*/
|
|
3254
3441
|
newline_type?: NewlineType | null
|
|
3442
|
+
/**
|
|
3443
|
+
* The compression type.
|
|
3444
|
+
*/
|
|
3445
|
+
compressionType?: CompressionType | null
|
|
3446
|
+
/**
|
|
3447
|
+
* The newline type.
|
|
3448
|
+
*/
|
|
3449
|
+
newlineType?: NewlineType | null
|
|
3255
3450
|
}
|
|
3256
3451
|
|
|
3257
3452
|
}
|
|
@@ -3269,6 +3464,10 @@ export interface FileSaver {
|
|
|
3269
3464
|
* The compression type.
|
|
3270
3465
|
*/
|
|
3271
3466
|
compression_type: CompressionType
|
|
3467
|
+
/**
|
|
3468
|
+
* The compression type.
|
|
3469
|
+
*/
|
|
3470
|
+
compressionType: CompressionType
|
|
3272
3471
|
/**
|
|
3273
3472
|
* The file's encoding.
|
|
3274
3473
|
*/
|
|
@@ -3291,6 +3490,10 @@ export interface FileSaver {
|
|
|
3291
3490
|
* The newline type.
|
|
3292
3491
|
*/
|
|
3293
3492
|
newline_type: NewlineType
|
|
3493
|
+
/**
|
|
3494
|
+
* The newline type.
|
|
3495
|
+
*/
|
|
3496
|
+
newlineType: NewlineType
|
|
3294
3497
|
|
|
3295
3498
|
// Own fields of GtkSource-3.0.GtkSource.FileSaver
|
|
3296
3499
|
|
|
@@ -3467,6 +3670,10 @@ export module Gutter {
|
|
|
3467
3670
|
* The y-padding.
|
|
3468
3671
|
*/
|
|
3469
3672
|
ypad?: number | null
|
|
3673
|
+
/**
|
|
3674
|
+
* The text window type on which the window is placed.
|
|
3675
|
+
*/
|
|
3676
|
+
windowType?: Gtk.TextWindowType | null
|
|
3470
3677
|
}
|
|
3471
3678
|
|
|
3472
3679
|
}
|
|
@@ -3483,6 +3690,10 @@ export interface Gutter {
|
|
|
3483
3690
|
* The text window type on which the window is placed.
|
|
3484
3691
|
*/
|
|
3485
3692
|
readonly window_type: Gtk.TextWindowType
|
|
3693
|
+
/**
|
|
3694
|
+
* The text window type on which the window is placed.
|
|
3695
|
+
*/
|
|
3696
|
+
readonly windowType: Gtk.TextWindowType
|
|
3486
3697
|
/**
|
|
3487
3698
|
* The x-padding.
|
|
3488
3699
|
*/
|
|
@@ -3655,6 +3866,15 @@ export module GutterRenderer {
|
|
|
3655
3866
|
* The top and bottom padding of the renderer.
|
|
3656
3867
|
*/
|
|
3657
3868
|
ypad?: number | null
|
|
3869
|
+
/**
|
|
3870
|
+
* The alignment mode of the renderer. This can be used to indicate
|
|
3871
|
+
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3872
|
+
* the alignment should work on either the full cell, the first line
|
|
3873
|
+
* or the last line.
|
|
3874
|
+
*/
|
|
3875
|
+
alignmentMode?: GutterRendererAlignmentMode | null
|
|
3876
|
+
backgroundRgba?: Gdk.RGBA | null
|
|
3877
|
+
backgroundSet?: boolean | null
|
|
3658
3878
|
}
|
|
3659
3879
|
|
|
3660
3880
|
}
|
|
@@ -3670,8 +3890,17 @@ export interface GutterRenderer {
|
|
|
3670
3890
|
* or the last line.
|
|
3671
3891
|
*/
|
|
3672
3892
|
alignment_mode: GutterRendererAlignmentMode
|
|
3893
|
+
/**
|
|
3894
|
+
* The alignment mode of the renderer. This can be used to indicate
|
|
3895
|
+
* that in the case a cell spans multiple lines (due to text wrapping)
|
|
3896
|
+
* the alignment should work on either the full cell, the first line
|
|
3897
|
+
* or the last line.
|
|
3898
|
+
*/
|
|
3899
|
+
alignmentMode: GutterRendererAlignmentMode
|
|
3673
3900
|
background_rgba: Gdk.RGBA
|
|
3901
|
+
backgroundRgba: Gdk.RGBA
|
|
3674
3902
|
background_set: boolean
|
|
3903
|
+
backgroundSet: boolean
|
|
3675
3904
|
size: number
|
|
3676
3905
|
/**
|
|
3677
3906
|
* The view on which the renderer is placed.
|
|
@@ -3686,6 +3915,11 @@ export interface GutterRenderer {
|
|
|
3686
3915
|
* or right).
|
|
3687
3916
|
*/
|
|
3688
3917
|
readonly window_type: Gtk.TextWindowType
|
|
3918
|
+
/**
|
|
3919
|
+
* The window type of the view on which the renderer is placed (left,
|
|
3920
|
+
* or right).
|
|
3921
|
+
*/
|
|
3922
|
+
readonly windowType: Gtk.TextWindowType
|
|
3689
3923
|
/**
|
|
3690
3924
|
* The horizontal alignment of the renderer. Set to 0 for a left
|
|
3691
3925
|
* alignment. 1 for a right alignment. And 0.5 for centering the cells.
|
|
@@ -4076,6 +4310,11 @@ export module GutterRendererPixbuf {
|
|
|
4076
4310
|
* The stock id.
|
|
4077
4311
|
*/
|
|
4078
4312
|
stock_id?: string | null
|
|
4313
|
+
iconName?: string | null
|
|
4314
|
+
/**
|
|
4315
|
+
* The stock id.
|
|
4316
|
+
*/
|
|
4317
|
+
stockId?: string | null
|
|
4079
4318
|
}
|
|
4080
4319
|
|
|
4081
4320
|
}
|
|
@@ -4086,11 +4325,16 @@ export interface GutterRendererPixbuf {
|
|
|
4086
4325
|
|
|
4087
4326
|
gicon: Gio.Icon
|
|
4088
4327
|
icon_name: string | null
|
|
4328
|
+
iconName: string | null
|
|
4089
4329
|
pixbuf: GdkPixbuf.Pixbuf
|
|
4090
4330
|
/**
|
|
4091
4331
|
* The stock id.
|
|
4092
4332
|
*/
|
|
4093
4333
|
stock_id: string | null
|
|
4334
|
+
/**
|
|
4335
|
+
* The stock id.
|
|
4336
|
+
*/
|
|
4337
|
+
stockId: string | null
|
|
4094
4338
|
|
|
4095
4339
|
// Owm methods of GtkSource-3.0.GtkSource.GutterRendererPixbuf
|
|
4096
4340
|
|
|
@@ -4429,6 +4673,7 @@ export module LanguageManager {
|
|
|
4429
4673
|
// Own constructor properties of GtkSource-3.0.GtkSource.LanguageManager
|
|
4430
4674
|
|
|
4431
4675
|
search_path?: string[] | null
|
|
4676
|
+
searchPath?: string[] | null
|
|
4432
4677
|
}
|
|
4433
4678
|
|
|
4434
4679
|
}
|
|
@@ -4438,7 +4683,9 @@ export interface LanguageManager {
|
|
|
4438
4683
|
// Own properties of GtkSource-3.0.GtkSource.LanguageManager
|
|
4439
4684
|
|
|
4440
4685
|
readonly language_ids: string[]
|
|
4686
|
+
readonly languageIds: string[]
|
|
4441
4687
|
search_path: string[]
|
|
4688
|
+
searchPath: string[]
|
|
4442
4689
|
|
|
4443
4690
|
// Own fields of GtkSource-3.0.GtkSource.LanguageManager
|
|
4444
4691
|
|
|
@@ -4577,6 +4824,7 @@ export module Map {
|
|
|
4577
4824
|
|
|
4578
4825
|
font_desc?: Pango.FontDescription | null
|
|
4579
4826
|
view?: View | null
|
|
4827
|
+
fontDesc?: Pango.FontDescription | null
|
|
4580
4828
|
}
|
|
4581
4829
|
|
|
4582
4830
|
}
|
|
@@ -4586,6 +4834,7 @@ export interface Map extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
|
|
|
4586
4834
|
// Own properties of GtkSource-3.0.GtkSource.Map
|
|
4587
4835
|
|
|
4588
4836
|
font_desc: Pango.FontDescription
|
|
4837
|
+
fontDesc: Pango.FontDescription
|
|
4589
4838
|
view: View
|
|
4590
4839
|
|
|
4591
4840
|
// Conflicting properties
|
|
@@ -5141,6 +5390,14 @@ export module MarkAttributes {
|
|
|
5141
5390
|
* A stock id that may be a base of a rendered icon.
|
|
5142
5391
|
*/
|
|
5143
5392
|
stock_id?: string | null
|
|
5393
|
+
/**
|
|
5394
|
+
* An icon name that may be a base of a rendered icon.
|
|
5395
|
+
*/
|
|
5396
|
+
iconName?: string | null
|
|
5397
|
+
/**
|
|
5398
|
+
* A stock id that may be a base of a rendered icon.
|
|
5399
|
+
*/
|
|
5400
|
+
stockId?: string | null
|
|
5144
5401
|
}
|
|
5145
5402
|
|
|
5146
5403
|
}
|
|
@@ -5161,6 +5418,10 @@ export interface MarkAttributes {
|
|
|
5161
5418
|
* An icon name that may be a base of a rendered icon.
|
|
5162
5419
|
*/
|
|
5163
5420
|
icon_name: string | null
|
|
5421
|
+
/**
|
|
5422
|
+
* An icon name that may be a base of a rendered icon.
|
|
5423
|
+
*/
|
|
5424
|
+
iconName: string | null
|
|
5164
5425
|
/**
|
|
5165
5426
|
* A #GdkPixbuf that may be a base of a rendered icon.
|
|
5166
5427
|
*/
|
|
@@ -5169,6 +5430,10 @@ export interface MarkAttributes {
|
|
|
5169
5430
|
* A stock id that may be a base of a rendered icon.
|
|
5170
5431
|
*/
|
|
5171
5432
|
stock_id: string | null
|
|
5433
|
+
/**
|
|
5434
|
+
* A stock id that may be a base of a rendered icon.
|
|
5435
|
+
*/
|
|
5436
|
+
stockId: string | null
|
|
5172
5437
|
|
|
5173
5438
|
// Owm methods of GtkSource-3.0.GtkSource.MarkAttributes
|
|
5174
5439
|
|
|
@@ -5422,77 +5687,235 @@ export module PrintCompositor {
|
|
|
5422
5687
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5423
5688
|
*/
|
|
5424
5689
|
wrap_mode?: Gtk.WrapMode | null
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5690
|
+
/**
|
|
5691
|
+
* Name of the font used for the text body.
|
|
5692
|
+
*
|
|
5693
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5694
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5695
|
+
* for a description of the format of the string representation.
|
|
5696
|
+
*
|
|
5697
|
+
* The value of this property cannot be changed anymore after the first
|
|
5698
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5699
|
+
*/
|
|
5700
|
+
bodyFontName?: string | null
|
|
5701
|
+
/**
|
|
5702
|
+
* Name of the font used to print page footer.
|
|
5703
|
+
* If this property is unspecified, the text body font is used.
|
|
5704
|
+
*
|
|
5705
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5706
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5707
|
+
* for a description of the format of the string representation.
|
|
5708
|
+
*
|
|
5709
|
+
* The value of this property cannot be changed anymore after the first
|
|
5710
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5711
|
+
*/
|
|
5712
|
+
footerFontName?: string | null
|
|
5713
|
+
/**
|
|
5714
|
+
* Name of the font used to print page header.
|
|
5715
|
+
* If this property is unspecified, the text body font is used.
|
|
5716
|
+
*
|
|
5717
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5718
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5719
|
+
* for a description of the format of the string representation.
|
|
5720
|
+
*
|
|
5721
|
+
* The value of this property cannot be changed anymore after the first
|
|
5722
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5723
|
+
*/
|
|
5724
|
+
headerFontName?: string | null
|
|
5725
|
+
/**
|
|
5726
|
+
* Whether to print the document with highlighted syntax.
|
|
5727
|
+
*
|
|
5728
|
+
* The value of this property cannot be changed anymore after the first
|
|
5729
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5730
|
+
*/
|
|
5731
|
+
highlightSyntax?: boolean | null
|
|
5732
|
+
/**
|
|
5733
|
+
* Name of the font used to print line numbers on the left margin.
|
|
5734
|
+
* If this property is unspecified, the text body font is used.
|
|
5735
|
+
*
|
|
5736
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5737
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5738
|
+
* for a description of the format of the string representation.
|
|
5739
|
+
*
|
|
5740
|
+
* The value of this property cannot be changed anymore after the first
|
|
5741
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5742
|
+
*/
|
|
5743
|
+
lineNumbersFontName?: string | null
|
|
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 | null
|
|
5755
|
+
/**
|
|
5756
|
+
* Whether to print a header in each page.
|
|
5757
|
+
*
|
|
5758
|
+
* Note that by default the header format is unspecified, and if it is
|
|
5759
|
+
* unspecified the header will not be printed, regardless of the value of
|
|
5760
|
+
* this property.
|
|
5761
|
+
*
|
|
5762
|
+
* The value of this property cannot be changed anymore after the first
|
|
5763
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5764
|
+
*/
|
|
5765
|
+
printHeader?: boolean | null
|
|
5766
|
+
/**
|
|
5767
|
+
* Interval of printed line numbers. If this property is set to 0 no
|
|
5768
|
+
* numbers will be printed. If greater than 0, a number will be
|
|
5769
|
+
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
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
|
+
printLineNumbers?: number | null
|
|
5775
|
+
/**
|
|
5776
|
+
* Width of a tab character expressed in spaces.
|
|
5777
|
+
*
|
|
5778
|
+
* The value of this property cannot be changed anymore after the first
|
|
5779
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5780
|
+
*/
|
|
5781
|
+
tabWidth?: number | null
|
|
5782
|
+
/**
|
|
5783
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5784
|
+
*
|
|
5785
|
+
* The value of this property cannot be changed anymore after the first
|
|
5786
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5787
|
+
*/
|
|
5788
|
+
wrapMode?: Gtk.WrapMode | null
|
|
5789
|
+
}
|
|
5790
|
+
|
|
5791
|
+
}
|
|
5792
|
+
|
|
5793
|
+
export interface PrintCompositor {
|
|
5794
|
+
|
|
5795
|
+
// Own properties of GtkSource-3.0.GtkSource.PrintCompositor
|
|
5796
|
+
|
|
5797
|
+
/**
|
|
5798
|
+
* Name of the font used for the text body.
|
|
5799
|
+
*
|
|
5800
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5801
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5802
|
+
* for a description of the format of the string representation.
|
|
5803
|
+
*
|
|
5804
|
+
* The value of this property cannot be changed anymore after the first
|
|
5805
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5806
|
+
*/
|
|
5807
|
+
body_font_name: string | null
|
|
5808
|
+
/**
|
|
5809
|
+
* Name of the font used for the text body.
|
|
5810
|
+
*
|
|
5811
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5812
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5813
|
+
* for a description of the format of the string representation.
|
|
5814
|
+
*
|
|
5815
|
+
* The value of this property cannot be changed anymore after the first
|
|
5816
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5817
|
+
*/
|
|
5818
|
+
bodyFontName: string | null
|
|
5819
|
+
/**
|
|
5820
|
+
* The GtkSourceBuffer object to print.
|
|
5821
|
+
*/
|
|
5822
|
+
readonly buffer: Buffer
|
|
5823
|
+
/**
|
|
5824
|
+
* Name of the font used to print page footer.
|
|
5825
|
+
* If this property is unspecified, the text body font is used.
|
|
5826
|
+
*
|
|
5827
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5828
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5829
|
+
* for a description of the format of the string representation.
|
|
5830
|
+
*
|
|
5831
|
+
* The value of this property cannot be changed anymore after the first
|
|
5832
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5833
|
+
*/
|
|
5834
|
+
footer_font_name: string | null
|
|
5835
|
+
/**
|
|
5836
|
+
* Name of the font used to print page footer.
|
|
5837
|
+
* If this property is unspecified, the text body font is used.
|
|
5838
|
+
*
|
|
5839
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5840
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5841
|
+
* for a description of the format of the string representation.
|
|
5842
|
+
*
|
|
5843
|
+
* The value of this property cannot be changed anymore after the first
|
|
5844
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5845
|
+
*/
|
|
5846
|
+
footerFontName: string | null
|
|
5847
|
+
/**
|
|
5848
|
+
* Name of the font used to print page header.
|
|
5849
|
+
* If this property is unspecified, the text body font is used.
|
|
5850
|
+
*
|
|
5851
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5852
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5853
|
+
* for a description of the format of the string representation.
|
|
5854
|
+
*
|
|
5855
|
+
* The value of this property cannot be changed anymore after the first
|
|
5856
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5857
|
+
*/
|
|
5858
|
+
header_font_name: string | null
|
|
5859
|
+
/**
|
|
5860
|
+
* Name of the font used to print page header.
|
|
5861
|
+
* If this property is unspecified, the text body font is used.
|
|
5862
|
+
*
|
|
5863
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5864
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5865
|
+
* for a description of the format of the string representation.
|
|
5866
|
+
*
|
|
5867
|
+
* The value of this property cannot be changed anymore after the first
|
|
5868
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5869
|
+
*/
|
|
5870
|
+
headerFontName: string | null
|
|
5871
|
+
/**
|
|
5872
|
+
* Whether to print the document with highlighted syntax.
|
|
5873
|
+
*
|
|
5874
|
+
* The value of this property cannot be changed anymore after the first
|
|
5875
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5876
|
+
*/
|
|
5877
|
+
highlight_syntax: boolean
|
|
5878
|
+
/**
|
|
5879
|
+
* Whether to print the document with highlighted syntax.
|
|
5880
|
+
*
|
|
5881
|
+
* The value of this property cannot be changed anymore after the first
|
|
5882
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5883
|
+
*/
|
|
5884
|
+
highlightSyntax: boolean
|
|
5885
|
+
/**
|
|
5886
|
+
* Name of the font used to print line numbers on the left margin.
|
|
5887
|
+
* If this property is unspecified, the text body font is used.
|
|
5888
|
+
*
|
|
5889
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5890
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5891
|
+
* for a description of the format of the string representation.
|
|
5892
|
+
*
|
|
5487
5893
|
* The value of this property cannot be changed anymore after the first
|
|
5488
5894
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5489
5895
|
*/
|
|
5490
5896
|
line_numbers_font_name: string | null
|
|
5897
|
+
/**
|
|
5898
|
+
* Name of the font used to print line numbers on the left margin.
|
|
5899
|
+
* If this property is unspecified, the text body font is used.
|
|
5900
|
+
*
|
|
5901
|
+
* Accepted values are strings representing a font description Pango can understand.
|
|
5902
|
+
* (e.g. "Monospace 10"). See pango_font_description_from_string()
|
|
5903
|
+
* for a description of the format of the string representation.
|
|
5904
|
+
*
|
|
5905
|
+
* The value of this property cannot be changed anymore after the first
|
|
5906
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5907
|
+
*/
|
|
5908
|
+
lineNumbersFontName: string | null
|
|
5491
5909
|
/**
|
|
5492
5910
|
* The number of pages in the document or <code>-1</code> if the
|
|
5493
5911
|
* document has not been completely paginated.
|
|
5494
5912
|
*/
|
|
5495
5913
|
readonly n_pages: number
|
|
5914
|
+
/**
|
|
5915
|
+
* The number of pages in the document or <code>-1</code> if the
|
|
5916
|
+
* document has not been completely paginated.
|
|
5917
|
+
*/
|
|
5918
|
+
readonly nPages: number
|
|
5496
5919
|
/**
|
|
5497
5920
|
* Whether to print a footer in each page.
|
|
5498
5921
|
*
|
|
@@ -5504,6 +5927,17 @@ export interface PrintCompositor {
|
|
|
5504
5927
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5505
5928
|
*/
|
|
5506
5929
|
print_footer: boolean
|
|
5930
|
+
/**
|
|
5931
|
+
* Whether to print a footer in each page.
|
|
5932
|
+
*
|
|
5933
|
+
* Note that by default the footer format is unspecified, and if it is
|
|
5934
|
+
* unspecified the footer will not be printed, regardless of the value of
|
|
5935
|
+
* this property.
|
|
5936
|
+
*
|
|
5937
|
+
* The value of this property cannot be changed anymore after the first
|
|
5938
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5939
|
+
*/
|
|
5940
|
+
printFooter: boolean
|
|
5507
5941
|
/**
|
|
5508
5942
|
* Whether to print a header in each page.
|
|
5509
5943
|
*
|
|
@@ -5515,6 +5949,17 @@ export interface PrintCompositor {
|
|
|
5515
5949
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5516
5950
|
*/
|
|
5517
5951
|
print_header: boolean
|
|
5952
|
+
/**
|
|
5953
|
+
* Whether to print a header in each page.
|
|
5954
|
+
*
|
|
5955
|
+
* Note that by default the header format is unspecified, and if it is
|
|
5956
|
+
* unspecified the header will not be printed, regardless of the value of
|
|
5957
|
+
* this property.
|
|
5958
|
+
*
|
|
5959
|
+
* The value of this property cannot be changed anymore after the first
|
|
5960
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5961
|
+
*/
|
|
5962
|
+
printHeader: boolean
|
|
5518
5963
|
/**
|
|
5519
5964
|
* Interval of printed line numbers. If this property is set to 0 no
|
|
5520
5965
|
* numbers will be printed. If greater than 0, a number will be
|
|
@@ -5524,6 +5969,15 @@ export interface PrintCompositor {
|
|
|
5524
5969
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5525
5970
|
*/
|
|
5526
5971
|
print_line_numbers: number
|
|
5972
|
+
/**
|
|
5973
|
+
* Interval of printed line numbers. If this property is set to 0 no
|
|
5974
|
+
* numbers will be printed. If greater than 0, a number will be
|
|
5975
|
+
* printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
|
|
5976
|
+
*
|
|
5977
|
+
* The value of this property cannot be changed anymore after the first
|
|
5978
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5979
|
+
*/
|
|
5980
|
+
printLineNumbers: number
|
|
5527
5981
|
/**
|
|
5528
5982
|
* Width of a tab character expressed in spaces.
|
|
5529
5983
|
*
|
|
@@ -5531,6 +5985,13 @@ export interface PrintCompositor {
|
|
|
5531
5985
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5532
5986
|
*/
|
|
5533
5987
|
tab_width: number
|
|
5988
|
+
/**
|
|
5989
|
+
* Width of a tab character expressed in spaces.
|
|
5990
|
+
*
|
|
5991
|
+
* The value of this property cannot be changed anymore after the first
|
|
5992
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
5993
|
+
*/
|
|
5994
|
+
tabWidth: number
|
|
5534
5995
|
/**
|
|
5535
5996
|
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
5536
5997
|
*
|
|
@@ -5538,6 +5999,13 @@ export interface PrintCompositor {
|
|
|
5538
5999
|
* call to the gtk_source_print_compositor_paginate() function.
|
|
5539
6000
|
*/
|
|
5540
6001
|
wrap_mode: Gtk.WrapMode
|
|
6002
|
+
/**
|
|
6003
|
+
* Whether to wrap lines never, at word boundaries, or at character boundaries.
|
|
6004
|
+
*
|
|
6005
|
+
* The value of this property cannot be changed anymore after the first
|
|
6006
|
+
* call to the gtk_source_print_compositor_paginate() function.
|
|
6007
|
+
*/
|
|
6008
|
+
wrapMode: Gtk.WrapMode
|
|
5541
6009
|
|
|
5542
6010
|
// Own fields of GtkSource-3.0.GtkSource.PrintCompositor
|
|
5543
6011
|
|
|
@@ -6160,6 +6628,10 @@ export module SearchContext {
|
|
|
6160
6628
|
* The #GtkSourceSearchSettings associated to the search context.
|
|
6161
6629
|
*/
|
|
6162
6630
|
settings?: SearchSettings | null
|
|
6631
|
+
/**
|
|
6632
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6633
|
+
*/
|
|
6634
|
+
matchStyle?: Style | null
|
|
6163
6635
|
}
|
|
6164
6636
|
|
|
6165
6637
|
}
|
|
@@ -6180,12 +6652,22 @@ export interface SearchContext {
|
|
|
6180
6652
|
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6181
6653
|
*/
|
|
6182
6654
|
match_style: Style
|
|
6655
|
+
/**
|
|
6656
|
+
* A #GtkSourceStyle, or %NULL for theme's scheme default style.
|
|
6657
|
+
*/
|
|
6658
|
+
matchStyle: Style
|
|
6183
6659
|
/**
|
|
6184
6660
|
* The total number of search occurrences. If the search is disabled,
|
|
6185
6661
|
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6186
6662
|
* is -1.
|
|
6187
6663
|
*/
|
|
6188
6664
|
readonly occurrences_count: number
|
|
6665
|
+
/**
|
|
6666
|
+
* The total number of search occurrences. If the search is disabled,
|
|
6667
|
+
* the value is 0. If the buffer is not already fully scanned, the value
|
|
6668
|
+
* is -1.
|
|
6669
|
+
*/
|
|
6670
|
+
readonly occurrencesCount: number
|
|
6189
6671
|
/**
|
|
6190
6672
|
* If the regex search pattern doesn't follow all the rules, this
|
|
6191
6673
|
* property will be set. If the pattern is valid, the value is %NULL.
|
|
@@ -6193,6 +6675,13 @@ export interface SearchContext {
|
|
|
6193
6675
|
* Free with g_error_free().
|
|
6194
6676
|
*/
|
|
6195
6677
|
readonly regex_error: any
|
|
6678
|
+
/**
|
|
6679
|
+
* If the regex search pattern doesn't follow all the rules, this
|
|
6680
|
+
* property will be set. If the pattern is valid, the value is %NULL.
|
|
6681
|
+
*
|
|
6682
|
+
* Free with g_error_free().
|
|
6683
|
+
*/
|
|
6684
|
+
readonly regexError: any
|
|
6196
6685
|
/**
|
|
6197
6686
|
* The #GtkSourceSearchSettings associated to the search context.
|
|
6198
6687
|
*/
|
|
@@ -6555,6 +7044,32 @@ export module SearchSettings {
|
|
|
6555
7044
|
* end of the buffer.
|
|
6556
7045
|
*/
|
|
6557
7046
|
wrap_around?: boolean | null
|
|
7047
|
+
/**
|
|
7048
|
+
* If %TRUE, a search match must start and end a word. The match can
|
|
7049
|
+
* span multiple words.
|
|
7050
|
+
*/
|
|
7051
|
+
atWordBoundaries?: boolean | null
|
|
7052
|
+
/**
|
|
7053
|
+
* Whether the search is case sensitive.
|
|
7054
|
+
*/
|
|
7055
|
+
caseSensitive?: boolean | null
|
|
7056
|
+
/**
|
|
7057
|
+
* Search by regular expressions with
|
|
7058
|
+
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
7059
|
+
*/
|
|
7060
|
+
regexEnabled?: boolean | null
|
|
7061
|
+
/**
|
|
7062
|
+
* A search string, or %NULL if the search is disabled. If the regular
|
|
7063
|
+
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
7064
|
+
* the pattern.
|
|
7065
|
+
*/
|
|
7066
|
+
searchText?: string | null
|
|
7067
|
+
/**
|
|
7068
|
+
* For a forward search, continue at the beginning of the buffer if no
|
|
7069
|
+
* search occurrence is found. For a backward search, continue at the
|
|
7070
|
+
* end of the buffer.
|
|
7071
|
+
*/
|
|
7072
|
+
wrapAround?: boolean | null
|
|
6558
7073
|
}
|
|
6559
7074
|
|
|
6560
7075
|
}
|
|
@@ -6568,27 +7083,53 @@ export interface SearchSettings {
|
|
|
6568
7083
|
* span multiple words.
|
|
6569
7084
|
*/
|
|
6570
7085
|
at_word_boundaries: boolean
|
|
7086
|
+
/**
|
|
7087
|
+
* If %TRUE, a search match must start and end a word. The match can
|
|
7088
|
+
* span multiple words.
|
|
7089
|
+
*/
|
|
7090
|
+
atWordBoundaries: boolean
|
|
6571
7091
|
/**
|
|
6572
7092
|
* Whether the search is case sensitive.
|
|
6573
7093
|
*/
|
|
6574
7094
|
case_sensitive: boolean
|
|
7095
|
+
/**
|
|
7096
|
+
* Whether the search is case sensitive.
|
|
7097
|
+
*/
|
|
7098
|
+
caseSensitive: boolean
|
|
6575
7099
|
/**
|
|
6576
7100
|
* Search by regular expressions with
|
|
6577
7101
|
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
6578
7102
|
*/
|
|
6579
7103
|
regex_enabled: boolean
|
|
7104
|
+
/**
|
|
7105
|
+
* Search by regular expressions with
|
|
7106
|
+
* #GtkSourceSearchSettings:search-text as the pattern.
|
|
7107
|
+
*/
|
|
7108
|
+
regexEnabled: boolean
|
|
6580
7109
|
/**
|
|
6581
7110
|
* A search string, or %NULL if the search is disabled. If the regular
|
|
6582
7111
|
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
6583
7112
|
* the pattern.
|
|
6584
7113
|
*/
|
|
6585
7114
|
search_text: string | null
|
|
7115
|
+
/**
|
|
7116
|
+
* A search string, or %NULL if the search is disabled. If the regular
|
|
7117
|
+
* expression search is enabled, #GtkSourceSearchSettings:search-text is
|
|
7118
|
+
* the pattern.
|
|
7119
|
+
*/
|
|
7120
|
+
searchText: string | null
|
|
6586
7121
|
/**
|
|
6587
7122
|
* For a forward search, continue at the beginning of the buffer if no
|
|
6588
7123
|
* search occurrence is found. For a backward search, continue at the
|
|
6589
7124
|
* end of the buffer.
|
|
6590
7125
|
*/
|
|
6591
7126
|
wrap_around: boolean
|
|
7127
|
+
/**
|
|
7128
|
+
* For a forward search, continue at the beginning of the buffer if no
|
|
7129
|
+
* search occurrence is found. For a backward search, continue at the
|
|
7130
|
+
* end of the buffer.
|
|
7131
|
+
*/
|
|
7132
|
+
wrapAround: boolean
|
|
6592
7133
|
|
|
6593
7134
|
// Own fields of GtkSource-3.0.GtkSource.SearchSettings
|
|
6594
7135
|
|
|
@@ -6728,6 +7269,10 @@ export module SpaceDrawer {
|
|
|
6728
7269
|
* By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.
|
|
6729
7270
|
*/
|
|
6730
7271
|
matrix?: GLib.Variant | null
|
|
7272
|
+
/**
|
|
7273
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7274
|
+
*/
|
|
7275
|
+
enableMatrix?: boolean | null
|
|
6731
7276
|
}
|
|
6732
7277
|
|
|
6733
7278
|
}
|
|
@@ -6740,6 +7285,10 @@ export interface SpaceDrawer {
|
|
|
6740
7285
|
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
6741
7286
|
*/
|
|
6742
7287
|
enable_matrix: boolean
|
|
7288
|
+
/**
|
|
7289
|
+
* Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
|
|
7290
|
+
*/
|
|
7291
|
+
enableMatrix: boolean
|
|
6743
7292
|
/**
|
|
6744
7293
|
* The :matrix property is a #GVariant property to specify where and
|
|
6745
7294
|
* what kind of white spaces to draw.
|
|
@@ -6894,6 +7443,18 @@ export module Style {
|
|
|
6894
7443
|
underline_color?: string | null
|
|
6895
7444
|
underline_color_set?: boolean | null
|
|
6896
7445
|
underline_set?: boolean | null
|
|
7446
|
+
backgroundSet?: boolean | null
|
|
7447
|
+
boldSet?: boolean | null
|
|
7448
|
+
foregroundSet?: boolean | null
|
|
7449
|
+
italicSet?: boolean | null
|
|
7450
|
+
lineBackground?: string | null
|
|
7451
|
+
lineBackgroundSet?: boolean | null
|
|
7452
|
+
pangoUnderline?: Pango.Underline | null
|
|
7453
|
+
scaleSet?: boolean | null
|
|
7454
|
+
strikethroughSet?: boolean | null
|
|
7455
|
+
underlineColor?: string | null
|
|
7456
|
+
underlineColorSet?: boolean | null
|
|
7457
|
+
underlineSet?: boolean | null
|
|
6897
7458
|
}
|
|
6898
7459
|
|
|
6899
7460
|
}
|
|
@@ -6904,23 +7465,35 @@ export interface Style {
|
|
|
6904
7465
|
|
|
6905
7466
|
readonly background: string | null
|
|
6906
7467
|
readonly background_set: boolean
|
|
7468
|
+
readonly backgroundSet: boolean
|
|
6907
7469
|
readonly bold: boolean
|
|
6908
7470
|
readonly bold_set: boolean
|
|
7471
|
+
readonly boldSet: boolean
|
|
6909
7472
|
readonly foreground: string | null
|
|
6910
7473
|
readonly foreground_set: boolean
|
|
7474
|
+
readonly foregroundSet: boolean
|
|
6911
7475
|
readonly italic: boolean
|
|
6912
7476
|
readonly italic_set: boolean
|
|
7477
|
+
readonly italicSet: boolean
|
|
6913
7478
|
readonly line_background: string | null
|
|
7479
|
+
readonly lineBackground: string | null
|
|
6914
7480
|
readonly line_background_set: boolean
|
|
7481
|
+
readonly lineBackgroundSet: boolean
|
|
6915
7482
|
readonly pango_underline: Pango.Underline
|
|
7483
|
+
readonly pangoUnderline: Pango.Underline
|
|
6916
7484
|
readonly scale: string | null
|
|
6917
7485
|
readonly scale_set: boolean
|
|
7486
|
+
readonly scaleSet: boolean
|
|
6918
7487
|
readonly strikethrough: boolean
|
|
6919
7488
|
readonly strikethrough_set: boolean
|
|
7489
|
+
readonly strikethroughSet: boolean
|
|
6920
7490
|
readonly underline: boolean
|
|
6921
7491
|
readonly underline_color: string | null
|
|
7492
|
+
readonly underlineColor: string | null
|
|
6922
7493
|
readonly underline_color_set: boolean
|
|
7494
|
+
readonly underlineColorSet: boolean
|
|
6923
7495
|
readonly underline_set: boolean
|
|
7496
|
+
readonly underlineSet: boolean
|
|
6924
7497
|
|
|
6925
7498
|
// Owm methods of GtkSource-3.0.GtkSource.Style
|
|
6926
7499
|
|
|
@@ -7588,6 +8161,7 @@ export module StyleSchemeManager {
|
|
|
7588
8161
|
// Own constructor properties of GtkSource-3.0.GtkSource.StyleSchemeManager
|
|
7589
8162
|
|
|
7590
8163
|
search_path?: string[] | null
|
|
8164
|
+
searchPath?: string[] | null
|
|
7591
8165
|
}
|
|
7592
8166
|
|
|
7593
8167
|
}
|
|
@@ -7597,7 +8171,9 @@ export interface StyleSchemeManager {
|
|
|
7597
8171
|
// Own properties of GtkSource-3.0.GtkSource.StyleSchemeManager
|
|
7598
8172
|
|
|
7599
8173
|
readonly scheme_ids: string[]
|
|
8174
|
+
readonly schemeIds: string[]
|
|
7600
8175
|
search_path: string[]
|
|
8176
|
+
searchPath: string[]
|
|
7601
8177
|
|
|
7602
8178
|
// Own fields of GtkSource-3.0.GtkSource.StyleSchemeManager
|
|
7603
8179
|
|
|
@@ -7719,6 +8295,20 @@ export module Tag {
|
|
|
7719
8295
|
* taken into account.
|
|
7720
8296
|
*/
|
|
7721
8297
|
draw_spaces_set?: boolean | null
|
|
8298
|
+
/**
|
|
8299
|
+
* Whether to draw white spaces. This property takes precedence over the value
|
|
8300
|
+
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8301
|
+
* (only where the tag is applied).
|
|
8302
|
+
*
|
|
8303
|
+
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8304
|
+
* %TRUE.
|
|
8305
|
+
*/
|
|
8306
|
+
drawSpaces?: boolean | null
|
|
8307
|
+
/**
|
|
8308
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8309
|
+
* taken into account.
|
|
8310
|
+
*/
|
|
8311
|
+
drawSpacesSet?: boolean | null
|
|
7722
8312
|
}
|
|
7723
8313
|
|
|
7724
8314
|
}
|
|
@@ -7736,11 +8326,25 @@ export interface Tag {
|
|
|
7736
8326
|
* %TRUE.
|
|
7737
8327
|
*/
|
|
7738
8328
|
draw_spaces: boolean
|
|
8329
|
+
/**
|
|
8330
|
+
* Whether to draw white spaces. This property takes precedence over the value
|
|
8331
|
+
* defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
|
8332
|
+
* (only where the tag is applied).
|
|
8333
|
+
*
|
|
8334
|
+
* Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
|
8335
|
+
* %TRUE.
|
|
8336
|
+
*/
|
|
8337
|
+
drawSpaces: boolean
|
|
7739
8338
|
/**
|
|
7740
8339
|
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
7741
8340
|
* taken into account.
|
|
7742
8341
|
*/
|
|
7743
8342
|
draw_spaces_set: boolean
|
|
8343
|
+
/**
|
|
8344
|
+
* Whether the #GtkSourceTag:draw-spaces property is set and must be
|
|
8345
|
+
* taken into account.
|
|
8346
|
+
*/
|
|
8347
|
+
drawSpacesSet: boolean
|
|
7744
8348
|
|
|
7745
8349
|
// Own fields of GtkSource-3.0.GtkSource.Tag
|
|
7746
8350
|
|
|
@@ -8152,6 +8756,53 @@ export module View {
|
|
|
8152
8756
|
* Width of a tab character expressed in number of spaces.
|
|
8153
8757
|
*/
|
|
8154
8758
|
tab_width?: number | null
|
|
8759
|
+
autoIndent?: boolean | null
|
|
8760
|
+
/**
|
|
8761
|
+
* Draw a specific background pattern on the view.
|
|
8762
|
+
*/
|
|
8763
|
+
backgroundPattern?: BackgroundPatternType | null
|
|
8764
|
+
/**
|
|
8765
|
+
* Set if and how the spaces should be visualized.
|
|
8766
|
+
*
|
|
8767
|
+
* For a finer-grained method, there is also the GtkSourceTag's
|
|
8768
|
+
* #GtkSourceTag:draw-spaces property.
|
|
8769
|
+
*/
|
|
8770
|
+
drawSpaces?: DrawSpacesFlags | null
|
|
8771
|
+
highlightCurrentLine?: boolean | null
|
|
8772
|
+
indentOnTab?: boolean | null
|
|
8773
|
+
/**
|
|
8774
|
+
* Width of an indentation step expressed in number of spaces.
|
|
8775
|
+
*/
|
|
8776
|
+
indentWidth?: number | null
|
|
8777
|
+
insertSpacesInsteadOfTabs?: boolean | null
|
|
8778
|
+
/**
|
|
8779
|
+
* Position of the right margin.
|
|
8780
|
+
*/
|
|
8781
|
+
rightMarginPosition?: number | null
|
|
8782
|
+
/**
|
|
8783
|
+
* Whether to display line mark pixbufs
|
|
8784
|
+
*/
|
|
8785
|
+
showLineMarks?: boolean | null
|
|
8786
|
+
/**
|
|
8787
|
+
* Whether to display line numbers
|
|
8788
|
+
*/
|
|
8789
|
+
showLineNumbers?: boolean | null
|
|
8790
|
+
/**
|
|
8791
|
+
* Whether to display the right margin.
|
|
8792
|
+
*/
|
|
8793
|
+
showRightMargin?: boolean | null
|
|
8794
|
+
/**
|
|
8795
|
+
* Whether smart Backspace should be used.
|
|
8796
|
+
*/
|
|
8797
|
+
smartBackspace?: boolean | null
|
|
8798
|
+
/**
|
|
8799
|
+
* Set the behavior of the HOME and END keys.
|
|
8800
|
+
*/
|
|
8801
|
+
smartHomeEnd?: SmartHomeEndType | null
|
|
8802
|
+
/**
|
|
8803
|
+
* Width of a tab character expressed in number of spaces.
|
|
8804
|
+
*/
|
|
8805
|
+
tabWidth?: number | null
|
|
8155
8806
|
}
|
|
8156
8807
|
|
|
8157
8808
|
}
|
|
@@ -8161,10 +8812,15 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8161
8812
|
// Own properties of GtkSource-3.0.GtkSource.View
|
|
8162
8813
|
|
|
8163
8814
|
auto_indent: boolean
|
|
8815
|
+
autoIndent: boolean
|
|
8164
8816
|
/**
|
|
8165
8817
|
* Draw a specific background pattern on the view.
|
|
8166
8818
|
*/
|
|
8167
8819
|
background_pattern: BackgroundPatternType
|
|
8820
|
+
/**
|
|
8821
|
+
* Draw a specific background pattern on the view.
|
|
8822
|
+
*/
|
|
8823
|
+
backgroundPattern: BackgroundPatternType
|
|
8168
8824
|
/**
|
|
8169
8825
|
* The completion object associated with the view
|
|
8170
8826
|
*/
|
|
@@ -8176,45 +8832,91 @@ export interface View extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollabl
|
|
|
8176
8832
|
* #GtkSourceTag:draw-spaces property.
|
|
8177
8833
|
*/
|
|
8178
8834
|
draw_spaces: DrawSpacesFlags
|
|
8835
|
+
/**
|
|
8836
|
+
* Set if and how the spaces should be visualized.
|
|
8837
|
+
*
|
|
8838
|
+
* For a finer-grained method, there is also the GtkSourceTag's
|
|
8839
|
+
* #GtkSourceTag:draw-spaces property.
|
|
8840
|
+
*/
|
|
8841
|
+
drawSpaces: DrawSpacesFlags
|
|
8179
8842
|
highlight_current_line: boolean
|
|
8843
|
+
highlightCurrentLine: boolean
|
|
8180
8844
|
indent_on_tab: boolean
|
|
8845
|
+
indentOnTab: boolean
|
|
8181
8846
|
/**
|
|
8182
8847
|
* Width of an indentation step expressed in number of spaces.
|
|
8183
8848
|
*/
|
|
8184
8849
|
indent_width: number
|
|
8850
|
+
/**
|
|
8851
|
+
* Width of an indentation step expressed in number of spaces.
|
|
8852
|
+
*/
|
|
8853
|
+
indentWidth: number
|
|
8185
8854
|
insert_spaces_instead_of_tabs: boolean
|
|
8855
|
+
insertSpacesInsteadOfTabs: boolean
|
|
8186
8856
|
/**
|
|
8187
8857
|
* Position of the right margin.
|
|
8188
8858
|
*/
|
|
8189
8859
|
right_margin_position: number
|
|
8860
|
+
/**
|
|
8861
|
+
* Position of the right margin.
|
|
8862
|
+
*/
|
|
8863
|
+
rightMarginPosition: number
|
|
8190
8864
|
/**
|
|
8191
8865
|
* Whether to display line mark pixbufs
|
|
8192
8866
|
*/
|
|
8193
8867
|
show_line_marks: boolean
|
|
8868
|
+
/**
|
|
8869
|
+
* Whether to display line mark pixbufs
|
|
8870
|
+
*/
|
|
8871
|
+
showLineMarks: boolean
|
|
8194
8872
|
/**
|
|
8195
8873
|
* Whether to display line numbers
|
|
8196
8874
|
*/
|
|
8197
8875
|
show_line_numbers: boolean
|
|
8876
|
+
/**
|
|
8877
|
+
* Whether to display line numbers
|
|
8878
|
+
*/
|
|
8879
|
+
showLineNumbers: boolean
|
|
8198
8880
|
/**
|
|
8199
8881
|
* Whether to display the right margin.
|
|
8200
8882
|
*/
|
|
8201
8883
|
show_right_margin: boolean
|
|
8884
|
+
/**
|
|
8885
|
+
* Whether to display the right margin.
|
|
8886
|
+
*/
|
|
8887
|
+
showRightMargin: boolean
|
|
8202
8888
|
/**
|
|
8203
8889
|
* Whether smart Backspace should be used.
|
|
8204
8890
|
*/
|
|
8205
8891
|
smart_backspace: boolean
|
|
8892
|
+
/**
|
|
8893
|
+
* Whether smart Backspace should be used.
|
|
8894
|
+
*/
|
|
8895
|
+
smartBackspace: boolean
|
|
8206
8896
|
/**
|
|
8207
8897
|
* Set the behavior of the HOME and END keys.
|
|
8208
8898
|
*/
|
|
8209
8899
|
smart_home_end: SmartHomeEndType
|
|
8900
|
+
/**
|
|
8901
|
+
* Set the behavior of the HOME and END keys.
|
|
8902
|
+
*/
|
|
8903
|
+
smartHomeEnd: SmartHomeEndType
|
|
8210
8904
|
/**
|
|
8211
8905
|
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
8212
8906
|
*/
|
|
8213
8907
|
readonly space_drawer: SpaceDrawer
|
|
8908
|
+
/**
|
|
8909
|
+
* The #GtkSourceSpaceDrawer object associated with the view.
|
|
8910
|
+
*/
|
|
8911
|
+
readonly spaceDrawer: SpaceDrawer
|
|
8214
8912
|
/**
|
|
8215
8913
|
* Width of a tab character expressed in number of spaces.
|
|
8216
8914
|
*/
|
|
8217
8915
|
tab_width: number
|
|
8916
|
+
/**
|
|
8917
|
+
* Width of a tab character expressed in number of spaces.
|
|
8918
|
+
*/
|
|
8919
|
+
tabWidth: number
|
|
8218
8920
|
|
|
8219
8921
|
// Conflicting properties
|
|
8220
8922
|
|