|
Packit |
6978fb |
|
|
Packit |
6978fb |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="plugin-draw-spaces" xml:lang="zh-CN">
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<info>
|
|
Packit |
6978fb |
<link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
|
|
Packit |
6978fb |
<revision version="3.8" date="2013-02-24" status="review"/>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<credit type="author">
|
|
Packit |
6978fb |
<name>Jim Campbell</name>
|
|
Packit |
6978fb |
<email its:translate="no">jwcampbell@gmail.com</email>
|
|
Packit |
6978fb |
</credit>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<desc>Show white space between words or portions of code.</desc>
|
|
Packit |
6978fb |
</info>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<title>Draw Spaces</title>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
The <app>Draw Spaces</app> plugin is a simple plugin that can mark spaces,
|
|
Packit |
6978fb |
tabs, and other types of whitespace with a small, visible marker. By making
|
|
Packit |
6978fb |
whitespace visible, you can more easily see how whitespace is used in a
|
|
Packit |
6978fb |
document, and can apply spacing strategies more consistently.
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
To enable this plugin, select <guiseq><gui style="menu">gedit</gui>
|
|
Packit |
6978fb |
<gui style="menuitem">Preferences</gui><gui>Plugins</gui> <gui>Draw
|
|
Packit |
6978fb |
Spaces</gui></guiseq>. After you have enabled the plugin, you can set its
|
|
Packit |
6978fb |
options by highlighting the plugin and selecting
|
|
Packit |
6978fb |
<gui style="menuitem">Preferences</gui>.
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<list>
|
|
Packit |
6978fb |
<title>By default, the <app>Draw Spaces</app> plugin will mark the
|
|
Packit |
6978fb |
following types of whitespace in a file:</title>
|
|
Packit |
6978fb |
<item>Spaces </item>
|
|
Packit |
6978fb |
<item>Tabs </item>
|
|
Packit |
6978fb |
<item>Leading spaces </item>
|
|
Packit |
6978fb |
<item>Spaces in text </item>
|
|
Packit |
6978fb |
<item>Trailing spaces </item>
|
|
Packit |
6978fb |
</list>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<list>
|
|
Packit |
6978fb |
<title>You can also set the plugin to mark:</title>
|
|
Packit |
6978fb |
<item>New lines </item>
|
|
Packit |
6978fb |
<item>Non-breaking spaces </item>
|
|
Packit |
6978fb |
</list>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
<note style="tip">
|
|
Packit |
6978fb |
Though you will be able to see the dots when you work on a file, the
|
|
Packit |
6978fb |
dots will not be visible when you print a file to paper.
|
|
Packit |
6978fb |
</note>
|
|
Packit |
6978fb |
|
|
Packit |
6978fb |
</page>
|