File: org.gnome.TextEditor.gschema.xml

package info (click to toggle)
gnome-text-editor 49.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,972 kB
  • sloc: ansic: 23,926; xml: 704; sh: 67; makefile: 12
file content (162 lines) | stat: -rw-r--r-- 6,740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gnome-text-editor">
  <flags id="org.gnome.TextEditor.DrawSpaces">
    <value nick="space" value="1"/>
    <value nick="tab" value="2"/>
    <value nick="newline" value="4"/>
    <value nick="nbsp" value="8"/>
    <value nick="leading" value="16"/>
    <value nick="text" value="32"/>
    <value nick="trailing" value="64"/>
  </flags>
  <schema id="org.gnome.TextEditor" path="/org/gnome/TextEditor/">
    <key name="auto-save-delay" type="u">
      <range min="1" max="300"/>
      <default>3</default>
      <summary>Auto Save Delay</summary>
      <description>The delay in seconds to wait before auto-saving a draft.</description>
    </key>
    <key name="style-variant" type="s">
      <choices>
        <choice value="follow"/>
        <choice value="light"/>
        <choice value="dark"/>
      </choices>
      <default>'follow'</default>
      <summary>Style Variant</summary>
      <description>Use the light or dark variant of the GTK theme and/or GtkSourceView style scheme.</description>
    </key>
    <key name="indent-style" type="s">
      <choices>
        <choice value="tab"/>
        <choice value="space"/>
      </choices>
      <default>'tab'</default>
      <summary>Indentation Style</summary>
      <description>Whether the editor should insert multiple spaces characters instead of tabs.</description>
    </key>
    <key name="auto-indent" type="b">
      <default>true</default>
      <summary>Auto Indent</summary>
      <description>Automatically indent new lines copying the previous line's indentation.</description>
    </key>
    <key name="tab-width" type="u">
      <range min="1" max="32"/>
      <default>8</default>
      <summary>Tab Width</summary>
      <description>The number of spaces represented by a tab.</description>
    </key>
    <key name="indent-width" type="i">
      <range min="-1" max="32"/>
      <default>-1</default>
      <summary>Indent Width</summary>
      <description>The number of spaces to indent or -1 to use tab-width.</description>
    </key>
    <key name="show-line-numbers" type="b">
      <default>false</default>
      <summary>Show Line Numbers</summary>
      <description>Whether line numbers should be displayed next to each line.</description>
    </key>
    <key name="show-right-margin" type="b">
      <default>false</default>
      <summary>Show Right Margin</summary>
      <description>Whether a margin line should be displayed on the right of the editor.</description>
    </key>
    <key name="right-margin-position" type="u">
      <range min="1" max="1000"/>
      <default>80</default>
      <summary>Right Margin Position</summary>
      <description>The position in characters at which the right margin should be displayed.</description>
    </key>
    <key name="show-map" type="b">
      <default>false</default>
      <summary>Show Overview Map</summary>
      <description>If enabled, an overview map of the file will be displayed to the side of the editor.</description>
    </key>
    <key name="show-grid" type="b">
      <default>false</default>
      <summary>Show Background Grid</summary>
      <description>If enabled, a blueprint style grid is printed on the editor background.</description>
    </key>
    <key name="highlight-current-line" type="b">
      <default>false</default>
      <summary>Highlight current line</summary>
      <description>If enabled, the current line will be highlighted.</description>
    </key>
    <key name="wrap-text" type="b">
      <default>true</default>
      <summary>Text Wrapping</summary>
      <description>Whether text should be wrapped.</description>
    </key>
    <key name="use-system-font" type="b">
      <default>true</default>
      <summary>Use System Font</summary>
      <description>Whether the default system monospace font should be used.</description>
    </key>
    <key name="custom-font" type="s">
      <default>'Monospace 11'</default>
      <summary>Custom Font</summary>
      <description>A custom font to use in the editor.</description>
    </key>
    <key name="style-scheme" type="s">
      <default>'Adwaita'</default>
      <summary>Style Scheme</summary>
      <description>The style scheme to use by the editor. It may translate this into a dark format when available.</description>
    </key>
    <key name="discover-settings" type="b">
      <default>true</default>
      <summary>Discover File Settings</summary>
      <description>If enabled, then Text Editor will try to discover file settings from modelines, editorconfig, or per-language defaults.</description>
    </key>
    <key name="spellcheck" type="b">
      <default>true</default>
      <summary>Automatically check spelling</summary>
      <description>If enabled, then Text Editor will check spelling as you type.</description>
    </key>
    <key name="restore-session" type="b">
      <default>true</default>
      <summary>Restore session</summary>
      <description>When Text Editor is running, restore the previous session.</description>
    </key>
    <key name="recolor-window" type="b">
      <default>true</default>
      <summary>Recolor Window</summary>
      <description>Use the style-scheme to recolor the application window.</description>
    </key>
    <key name="keybindings" type="s">
      <choices>
        <choice value="default"/>
        <choice value="vim"/>
      </choices>
      <default>'default'</default>
      <summary>Keybindings</summary>
      <description>The keybindings to use within Text Editor.</description>
    </key>
    <key name="last-save-directory" type="s">
      <default>''</default>
      <summary>Last Save Directory</summary>
      <description>The directory last used in a save or save-as dialog.</description>
    </key>
    <key name="draw-spaces" flags="org.gnome.TextEditor.DrawSpaces">
      <default>[]</default>
      <summary>Draw Spaces</summary>
      <description>The various types of spaces to draw in the editor.</description>
    </key>
    <key name="enable-snippets" type="b">
      <default>false</default>
      <summary>Enable Snippets</summary>
      <description>Enable the use of snippets registered with GtkSourceView from within the editor.</description>
    </key>
    <key name="line-height" type="d">
      <default>1.2</default>
      <range min="0.5" max="10"/>
      <summary>Line Height</summary>
      <description>The line height to use for the selected font.</description>
    </key>
    <key name="highlight-matching-brackets" type="b">
      <default>true</default>
      <summary>Highlight Matching Brackets</summary>
      <description>Highlight matching brackets and braces.</description>
    </key>
  </schema>
</schemalist>