<schemalist>

  <flags id="org.gnome.builder.editor.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.builder.editor" path="/org/gnome/builder/editor/" gettext-domain="gnome-builder">
    <key name="keybindings" type="s">
      <choices>
        <choice value="default"/>
        <choice value="emacs"/>
        <choice value="vim"/>
      </choices>
      <default>'default'</default>
    </key>
    <key name="restore-insert-mark" type="b">
      <default>true</default>
      <summary>Restore last position</summary>
      <description>Jump to the last position when reopening a file</description>
    </key>
    <key name="show-line-changes" type="b">
      <default>true</default>
      <summary>Show modified lines</summary>
      <description>If enabled, the editor will show line additions and changes next to the source code.</description>
    </key>
    <key name="show-line-diagnostics" type="b">
      <default>true</default>
      <summary>Show diagnostics next to line number</summary>
      <description>If enabled, the editor will show diagnostics to the left to the line numbers.</description>
    </key>
    <key name="highlight-current-line" type="b">
      <default>false</default>
      <summary>Highlight current line</summary>
      <description>If enabled, the editor will highlight the line containing the cursor.</description>
    </key>
    <key name="highlight-matching-brackets" type="b">
      <default>false</default>
      <summary>Highlight matching brackets</summary>
      <description>If enabled, the editor will highlight matching brackets.</description>
    </key>
    <key name="show-line-numbers" type="b">
      <default>true</default>
      <summary>Show line numbers</summary>
      <description>If enabled, the editor will show line numbers.</description>
    </key>
    <key name="smart-backspace" type="b">
      <default>true</default>
      <summary>Smart Backspace</summary>
      <description>Backspace will remove additional spaces to keep you aligned to the indentation size.</description>
    </key>
    <key name="smart-home-end" type="b">
      <default>true</default>
      <summary>Smart Home and End</summary>
      <description>Whether or not Home moves to first non-space character.</description>
    </key>
    <key name="show-grid-lines" type="b">
      <default>true</default>
      <summary>Show grid lines</summary>
      <description>If enabled, the editor will show grid lines in the document.</description>
    </key>
    <key name="font-name" type="s">
      <default>"Monospace 11"</default>
    </key>
    <key name="style-scheme-name" type="s">
      <default>"builder"</default>
    </key>
    <key name="scroll-offset" type="i">
      <range min="0" max="999"/>
      <default>0</default>
    </key>
    <key name="minimum-word-size" type="i">
      <range min="2" max="999"/>
      <default>2</default>
    </key>
    <key name="show-map" type="b">
      <default>false</default>
      <summary>Show overview map</summary>
      <description>If enabled, Builder will display an overview map of the source file next to the editor.</description>
    </key>
    <key name="auto-hide-map" type="b">
      <default>false</default>
      <summary>Automatically Hide Overview Map</summary>
      <description>If enabled, Builder will automatically hide the overview map when mouse focus leaves the editor, or a timeout occurs.</description>
    </key>
    <key name="draw-spaces" flags="org.gnome.builder.editor.DrawSpaces">
      <default>[]</default>
      <summary>Draw Spaces</summary>
      <description>The various types of space to draw in the editor.</description>
    </key>
    <key name="overscroll" type="i">
      <default>10</default>
      <range min="-999" max="999"/>
      <summary>Overscroll</summary>
      <description>The number of lines to scroll beyond the end of the buffer.</description>
    </key>
    <key name="wrap-text" type="b">
      <default>false</default>
      <summary>Wrap Text</summary>
      <description>If enabled, Builder will automatically wrap text so all of the line text is visible.</description>
    </key>
    <key name="auto-save" type="b">
      <default>true</default>
      <summary>Autosave Enabled</summary>
      <description>Enable or disable autosave feature.</description>
    </key>
    <key name="auto-save-timeout" type="i">
      <default>60</default>
      <range min="1" max="999"/>
      <summary>Autosave Frequency</summary>
      <description>The number of seconds after modification before auto saving.</description>
    </key>
  </schema>
</schemalist>
