Implement #225: Options to render whitespace
Add preferences to enable displaying whitespace (tabs, spaces, nbsp and newlines). Options allow to choose locations (leading, inside text, trailing) of whitespace to display and to disable rendering of newline chars.
This commit is contained in:
committed by
Michael Webster
parent
423f214a70
commit
5b7c1d936e
@@ -167,6 +167,36 @@
|
||||
<description>Whether xed will ensure that documents always end with a trailing newline.</description>
|
||||
</key>
|
||||
|
||||
<key name="draw-whitespace" type="b">
|
||||
<default>false</default>
|
||||
<summary>Draw whitespace</summary>
|
||||
<description>Whether xed should render whitespace</description>
|
||||
</key>
|
||||
|
||||
<key name="draw-whitespace-leading" type="b">
|
||||
<default>false</default>
|
||||
<summary>Draw leading whitespace</summary>
|
||||
<description>Whether xed should render leading whitespace</description>
|
||||
</key>
|
||||
|
||||
<key name="draw-whitespace-inside" type="b">
|
||||
<default>false</default>
|
||||
<summary>Draw whitespace within text</summary>
|
||||
<description>Whether xed should render whitespace between words and characters</description>
|
||||
</key>
|
||||
|
||||
<key name="draw-whitespace-trailing" type="b">
|
||||
<default>false</default>
|
||||
<summary>Draw trailing whitespace</summary>
|
||||
<description>Whether xed should render trailing whitespace</description>
|
||||
</key>
|
||||
|
||||
<key name="draw-whitespace-newline" type="b">
|
||||
<default>false</default>
|
||||
<summary>Draw newline characters</summary>
|
||||
<description>Whether xed should render newline characters</description>
|
||||
</key>
|
||||
|
||||
</schema>
|
||||
|
||||
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.x.editor.preferences.ui" path="/org/x/editor/preferences/ui/">
|
||||
|
Reference in New Issue
Block a user