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