org.gnome.gedit.gschema.xml.in 16.3 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schemalist>
3 4 5 6 7 8 9 10 11 12 13 14 15 16
  <enum id="org.gnome.gedit.WrapMode">
    <value nick="none" value="0"/>
    <value nick="char" value="1"/>
    <value nick="word" value="2"/>
    <value nick="word-char" value="3"/>
  </enum>

  <enum id="org.gnome.gedit.SmartHomeEnd">
    <value nick="disabled" value="0"/>
    <value nick="before" value="1"/>
    <value nick="after" value="2"/>
    <value nick="always" value="3"/>
  </enum>

17 18 19 20 21
  <enum id="org.gnome.gedit.BackgroundPatternType">
    <value nick="none" value="0"/>
    <value nick="grid" value="1"/>
  </enum>

22
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit" path="/org/gnome/gedit/">
23 24 25 26
    <child name="preferences" schema="org.gnome.gedit.preferences"/>
    <child name="state" schema="org.gnome.gedit.state"/>
    <child name="plugins" schema="org.gnome.gedit.plugins"/>
  </schema>
27
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences" path="/org/gnome/gedit/preferences/">
28 29 30 31 32
    <child name="editor" schema="org.gnome.gedit.preferences.editor"/>
    <child name="ui" schema="org.gnome.gedit.preferences.ui"/>
    <child name="print" schema="org.gnome.gedit.preferences.print"/>
    <child name="encodings" schema="org.gnome.gedit.preferences.encodings"/>
  </schema>
33
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.editor" path="/org/gnome/gedit/preferences/editor/">
34 35
    <key name="use-default-font" type="b">
      <default>true</default>
36
      <summary>Use Default Font</summary>
37
      <description>Whether to use the system’s default fixed width font for editing text instead of a font specific to gedit. If this option is turned off, then the font named in the “Editor Font” option will be used instead of the system font.</description>
38 39
    </key>
    <key name="editor-font" type="s">
40
      <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! -->
41
      <default l10n="messages">'Monospace 12'</default>
42
      <summary>Editor Font</summary>
43
      <description>A custom font that will be used for the editing area. This will only take effect if the “Use Default Font” option is turned off.</description>
44 45 46
    </key>
    <key name="scheme" type="s">
      <default>'classic'</default>
47 48
      <summary>Style Scheme</summary>
      <description>The ID of a GtkSourceView Style Scheme used to color the text.</description>
49 50
    </key>
    <key name="create-backup-copy" type="b">
51
      <default>false</default>
52
      <summary>Create Backup Copies</summary>
53
      <description>Whether gedit should create backup copies for the files it saves.</description>
54 55 56
    </key>
    <key name="auto-save" type="b">
      <default>false</default>
57
      <summary>Autosave</summary>
58
      <description>Whether gedit should automatically save modified files after a time interval. You can set the time interval with the “Autosave Interval” option.</description>
59 60 61
    </key>
    <key name="auto-save-interval" type="u">
      <default>10</default>
62
      <summary>Autosave Interval</summary>
63
      <description>Number of minutes after which gedit will automatically save modified files. This will only take effect if the “Autosave” option is turned on.</description>
64
    </key>
65
    <key name="max-undo-actions" type="i">
66
      <default>2000</default>
67
      <summary>Maximum Number of Undo Actions</summary>
68
      <description>Maximum number of actions that gedit will be able to undo or redo. Use “-1” for unlimited number of actions.</description>
69
    </key>
70
    <key name="wrap-mode" enum="org.gnome.gedit.WrapMode">
Tomas Bzatek's avatar
Tomas Bzatek committed
71 72 73 74 75
      <aliases>
        <alias value='GTK_WRAP_NONE' target='none'/>
        <alias value='GTK_WRAP_WORD' target='word'/>
        <alias value='GTK_WRAP_CHAR' target='char'/>
      </aliases>
76
      <default>'word'</default>
77
      <summary>Line Wrapping Mode</summary>
78
      <description>Specifies how to wrap long lines in the editing area. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
79
    </key>
80 81 82 83 84 85 86
    <key name="wrap-last-split-mode" enum="org.gnome.gedit.WrapMode">
      <aliases>
        <alias value='GTK_WRAP_WORD' target='word'/>
        <alias value='GTK_WRAP_CHAR' target='char'/>
      </aliases>
      <default>'word'</default>
      <summary>Last split mode choice for line wrapping mode</summary>
87
      <description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is off we still remember the split mode choice. Use “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries.</description>
88
    </key>
89 90
    <key name="tabs-size" type="u">
      <default>8</default>
91 92
      <summary>Tab Size</summary>
      <description>Specifies the number of spaces that should be displayed instead of Tab characters.</description>
93 94 95
    </key>
    <key name="insert-spaces" type="b">
      <default>false</default>
96 97
      <summary>Insert spaces</summary>
      <description>Whether gedit should insert spaces instead of tabs.</description>
98 99 100
    </key>
    <key name="auto-indent" type="b">
      <default>false</default>
101 102
      <summary>Automatic indent</summary>
      <description>Whether gedit should enable automatic indentation.</description>
103 104 105
    </key>
    <key name="display-line-numbers" type="b">
      <default>false</default>
106 107
      <summary>Display Line Numbers</summary>
      <description>Whether gedit should display line numbers in the editing area.</description>
108 109 110
    </key>
    <key name="highlight-current-line" type="b">
      <default>false</default>
111 112
      <summary>Highlight Current Line</summary>
      <description>Whether gedit should highlight the current line.</description>
113 114 115
    </key>
    <key name="bracket-matching" type="b">
      <default>false</default>
116 117
      <summary>Highlight Matching Brackets</summary>
      <description>Whether gedit should highlight matching brackets.</description>
118 119 120
    </key>
    <key name="display-right-margin" type="b">
      <default>false</default>
121 122
      <summary>Display Right Margin</summary>
      <description>Whether gedit should display the right margin in the editing area.</description>
123 124 125
    </key>
    <key name="right-margin-position" type="u">
      <default>80</default>
126 127
      <summary>Right Margin Position</summary>
      <description>Specifies the position of the right margin.</description>
128
    </key>
129 130 131 132 133
    <key name="display-overview-map" type="b">
      <default>false</default>
      <summary>Display Overview Map</summary>
      <description>Whether gedit should display the overview map for the document.</description>
    </key>
134 135 136 137 138
    <key name="background-pattern" enum="org.gnome.gedit.BackgroundPatternType">
      <default>'none'</default>
      <summary>Document background pattern type</summary>
      <description>Whether the document will get a background pattern painted.</description>
    </key>
139
    <key name="smart-home-end" enum="org.gnome.gedit.SmartHomeEnd">
Tomas Bzatek's avatar
Tomas Bzatek committed
140 141 142 143 144 145
      <aliases>
        <alias value='DISABLED' target='disabled'/>
        <alias value='BEFORE' target='before'/>
        <alias value='AFTER' target='after'/>
        <alias value='ALWAYS' target='always'/>
      </aliases>
146
      <default>'after'</default>
147
      <summary>Smart Home End</summary>
148
      <description>Specifies how the cursor moves when the HOME and END keys are pressed. Use “disabled” to always move at the start/end of the line, “after” to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, “before” to move to the start/end of the text before moving to the start/end of the line and “always” to always move to the start/end of the text instead of the start/end of the line.</description>
149 150 151
    </key>
    <key name="restore-cursor-position" type="b">
      <default>true</default>
152 153
      <summary>Restore Previous Cursor Position</summary>
      <description>Whether gedit should restore the previous cursor position when a file is loaded.</description>
154 155 156
    </key>
    <key name="syntax-highlighting" type="b">
      <default>true</default>
157 158
      <summary>Enable Syntax Highlighting</summary>
      <description>Whether gedit should enable syntax highlighting.</description>
159 160 161
    </key>
    <key name="search-highlighting" type="b">
      <default>true</default>
162 163
      <summary>Enable Search Highlighting</summary>
      <description>Whether gedit should highlight all the occurrences of the searched text.</description>
164
    </key>
165 166
    <key name="ensure-trailing-newline" type="b">
      <default>true</default>
167 168
      <summary>Ensure Trailing Newline</summary>
      <description>Whether gedit will ensure that documents always end with a trailing newline.</description>
169
    </key>
170
  </schema>
171
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.ui" path="/org/gnome/gedit/preferences/ui/">
172 173
    <key name="toolbar-visible" type="b">
      <default>true</default>
174 175
      <summary>Toolbar is Visible</summary>
      <description>Whether the toolbar should be visible in editing windows.</description>
176
    </key>
177
    <key name="show-tabs-mode" enum="org.gnome.gedit.GeditNotebookShowTabsModeType">
178
      <default>'auto'</default>
179
      <summary>Notebook Show Tabs Mode</summary>
180
      <description>Specifies when to show the notebook tabs. Use “never” to never show the tabs, “always” to always show the tabs, and “auto” to show the tabs only when there is more than one tab. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
181
    </key>
182 183
    <key name="statusbar-visible" type="b">
      <default>true</default>
184 185
      <summary>Status Bar is Visible</summary>
      <description>Whether the status bar at the bottom of editing windows should be visible.</description>
186
    </key>
Garrett Regier's avatar
Garrett Regier committed
187
    <key name="side-panel-visible" type="b">
188
      <default>false</default>
189 190
      <summary>Side panel is Visible</summary>
      <description>Whether the side panel at the left of editing windows should be visible.</description>
191
    </key>
Garrett Regier's avatar
Garrett Regier committed
192
    <key name="bottom-panel-visible" type="b">
193 194 195 196
      <default>false</default>
    </key>
    <key name="max-recents" type="u">
      <default>5</default>
197
      <summary>Maximum Recent Files</summary>
198
      <description>Specifies the maximum number of recently opened files that will be displayed in the “Recent Files” submenu.</description>
199 200
    </key>
  </schema>
201
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.print" path="/org/gnome/gedit/preferences/print/">
202 203
    <key name="print-syntax-highlighting" type="b">
      <default>true</default>
204 205
      <summary>Print Syntax Highlighting</summary>
      <description>Whether gedit should print syntax highlighting when printing documents.</description>
206 207 208
    </key>
    <key name="print-header" type="b">
      <default>true</default>
209 210
      <summary>Print Header</summary>
      <description>Whether gedit should include a document header when printing documents.</description>
211
    </key>
212
    <key name="print-wrap-mode" enum="org.gnome.gedit.WrapMode">
Tomas Bzatek's avatar
Tomas Bzatek committed
213 214 215 216 217
      <aliases>
        <alias value='GTK_WRAP_NONE' target='none'/>
        <alias value='GTK_WRAP_WORD' target='word'/>
        <alias value='GTK_WRAP_CHAR' target='char'/>
      </aliases>
218
      <default>'word'</default>
219
      <summary>Printing Line Wrapping Mode</summary>
220
      <description>Specifies how to wrap long lines for printing. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
221 222 223
    </key>
    <key name="print-line-numbers" type="u">
      <default>0</default>
224 225
      <summary>Print Line Numbers</summary>
      <description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, gedit will print line numbers every such number of lines.</description>
226 227
    </key>
    <key name="print-font-body-pango" type="s">
228
      <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! -->
229
      <default l10n="messages">'Monospace 9'</default>
230
      <summary>Body Font for Printing</summary>
231
      <description>Specifies the font to use for a document’s body when printing documents.</description>
232 233
    </key>
    <key name="print-font-header-pango" type="s">
234
      <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! -->
235
      <default l10n="messages">'Sans 11'</default>
236
      <summary>Header Font for Printing</summary>
237
      <description>Specifies the font to use for page headers when printing a document. This will only take effect if the “Print Header” option is turned on.</description>
238 239
    </key>
    <key name="print-font-numbers-pango" type="s">
240
      <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! -->
241
      <default l10n="messages">'Sans 8'</default>
242
      <summary>Line Number Font for Printing</summary>
243
      <description>Specifies the font to use for line numbers when printing. This will only take effect if the “Print Line Numbers” option is non-zero.</description>
244
    </key>
245 246 247 248 249 250
    <key name="margin-left" type="d">
      <default>25</default>
      <summary>Margin Left</summary>
      <description>The left margin, in millimeters.</description>
    </key>
    <key name="margin-top" type="d">
251
      <default>15</default>
252 253 254 255 256 257 258 259 260 261 262 263 264
      <summary>Margin Top</summary>
      <description>The top margin, in millimeters.</description>
    </key>
    <key name="margin-right" type="d">
      <default>25</default>
      <summary>Margin Right</summary>
      <description>The right margin, in millimeters.</description>
    </key>
    <key name="margin-bottom" type="d">
      <default>25</default>
      <summary>Margin Bottom</summary>
      <description>The bottom margin, in millimeters.</description>
    </key>
265
  </schema>
266
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.encodings" path="/org/gnome/gedit/preferences/encodings/">
267 268 269 270
    <key name="candidate-encodings" type="as">
      <default>['']</default>
      <summary>Candidate Encodings</summary>
      <description>List of candidate encodings shown in the Character Encoding menu in the open/save file chooser.
271
      “CURRENT” represents the current locale encoding. Only recognized encodings are used.
272 273
      The default value is the empty list, in which case gedit will choose good defaults depending on the country and language.</description>
    </key>
274
  </schema>
275
  <schema id="org.gnome.gedit.state" path="/org/gnome/gedit/state/">
276 277 278 279
    <child name="window" schema="org.gnome.gedit.state.window"/>
    <child name="file-filter" schema="org.gnome.gedit.state.file-filter"/>
    <child name="history-entry" schema="org.gnome.gedit.state.history-entry"/>
  </schema>
280
  <schema id="org.gnome.gedit.state.window" path="/org/gnome/gedit/state/window/">
281 282 283 284
    <key name="state" type="i">
      <default>0</default>
    </key>
    <key name="size" type="(ii)">
285
      <default>(900, 700)</default>
286 287 288 289
    </key>
    <key name="side-panel-size" type="i">
      <default>200</default>
    </key>
290 291
    <key name="side-panel-active-page" type="s">
      <default>''</default>
292 293 294 295
    </key>
    <key name="bottom-panel-size" type="i">
      <default>140</default>
    </key>
296 297
    <key name="bottom-panel-active-page" type="s">
      <default>''</default>
298 299
    </key>
  </schema>
300
  <schema id="org.gnome.gedit.state.file-filter" path="/org/gnome/gedit/state/file-filter/">
301 302 303 304
    <key name="filter-id" type="i">
      <default>0</default>
    </key>
  </schema>
305
  <schema id="org.gnome.gedit.state.history-entry" path="/org/gnome/gedit/state/history-entry/">
306 307 308 309 310 311 312
    <key name="search-for-entry" type="as">
      <default>['']</default>
    </key>
    <key name="replace-with-entry" type="as">
      <default>['']</default>
    </key>
  </schema>
313
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.plugins" path="/org/gnome/gedit/plugins/">
314 315
    <key name="active-plugins" type="as">
      <default>[@ACTIVE_PLUGINS@]</default>
316
      <summary>Active plugins</summary>
317
      <description>List of active plugins. It contains the “Location” of the active plugins. See the .gedit-plugin file for obtaining the “Location” of a given plugin.</description>
318 319 320
    </key>
  </schema>
</schemalist>