summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGoffredo Baroncelli <[email protected]>2019-06-15 17:52:01 +0200
committerVictor Kareh <[email protected]>2019-06-28 08:38:58 -0400
commitc264b0d7b6782a596c6502edc158f754ed968835 (patch)
tree76d0b874925f026f26c55883b0bed38d4cd60a3c /data
parentdee5500dd7d1ca8b6b9ef2c25af658bb9c839262 (diff)
downloadpluma-c264b0d7b6782a596c6502edc158f754ed968835.tar.bz2
pluma-c264b0d7b6782a596c6502edc158f754ed968835.tar.xz
Draw spaces, tabs, newlines and nbsp.
Via gsettings it is possible to enable the drawing of: - newline (enable-space-drawer-newline) - spaces (enable-space-drawer-space) - tab (enable-space-drawer-tab) - not blank space (enable-space-drawer-nbsp) The first setting is a boolean ones, so the only allowable values are true (show the symbol) or false (don't show the symbol). Instead for the last three settings, the allowed values are: 'draw-none' -> show nothing 'draw-all' -> show all spaces/tabs 'draw-trailing' -> show only the trailing spaces/tabs (only if GTK >= 3.24)
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.pluma.gschema.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/org.mate.pluma.gschema.xml.in b/data/org.mate.pluma.gschema.xml.in
index 7cbaba7f..81071391 100644
--- a/data/org.mate.pluma.gschema.xml.in
+++ b/data/org.mate.pluma.gschema.xml.in
@@ -1,5 +1,10 @@
<?xml version="1.0"?>
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <enum id="org.mate.pluma.SpaceDrawer">
+ <value nick="draw-none" value="0"/>
+ <value nick="draw-trailing" value="1"/>
+ <value nick="draw-all" value="2"/>
+ </enum>
<schema id="org.mate.pluma" path="/org/mate/pluma/">
<key name="use-default-font" type="b">
<default>true</default>
@@ -216,5 +221,25 @@
<summary>Active plugins</summary>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining the "Location" of a given plugin.</description>
</key>
+ <key name="enable-space-drawer-newline" type="b">
+ <default>false</default>
+ <summary>Draw newline</summary>
+ <description>Whether pluma should draw newlines in the editor window.</description>
+ </key>
+ <key name="enable-space-drawer-nbsp" enum="org.mate.pluma.SpaceDrawer">
+ <default>'draw-none'</default>
+ <summary>Draw nbsp</summary>
+ <description>Whether pluma should draw not breaking spaces in the editor window: 'draw-none' no drawing; 'draw-trailing' drawing only trailing spaces; 'draw-all' drawing all spaces.</description>
+ </key>
+ <key name="enable-space-drawer-tab" enum="org.mate.pluma.SpaceDrawer">
+ <default>'draw-none'</default>
+ <summary>Draw tabs</summary>
+ <description>Whether pluma should draw tabs in the editor window: 'draw-none' no drawing; 'draw-trailing' drawing only trailing spaces; 'draw-all' drawing all spaces.</description>
+ </key>
+ <key name="enable-space-drawer-space" enum="org.mate.pluma.SpaceDrawer">
+ <default>'draw-none'</default>
+ <summary>Draw spaces</summary>
+ <description>Whether pluma should draw spaces in the editor window: 'draw-none' no drawing; 'draw-trailing' drawing only trailing spaces; 'draw-all' drawing all spaces.</description>
+ </key>
</schema>
</schemalist>