[gedit] doc: added content for commander docs. minor tweaks to snippet docs.
- From: Jim Campbell <jcampbell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] doc: added content for commander docs. minor tweaks to snippet docs.
- Date: Mon, 2 Jan 2012 21:05:12 +0000 (UTC)
commit e71b6c7444aa668bab1c718bdd2e5e4bd42abeb3
Author: Jim Campbell <jwcampbell gmail com>
Date: Mon Jan 2 15:04:54 2012 -0600
doc: added content for commander docs. minor tweaks to snippet docs.
help/C/gedit-plugins-commander.page | 50 +++++++++++++++++++++++++-----
help/C/gedit-plugins-snippets-guide.page | 4 +-
help/C/gedit-plugins-snippets.page | 4 +-
3 files changed, 46 insertions(+), 12 deletions(-)
---
diff --git a/help/C/gedit-plugins-commander.page b/help/C/gedit-plugins-commander.page
index 2618e2c..cece24b 100644
--- a/help/C/gedit-plugins-commander.page
+++ b/help/C/gedit-plugins-commander.page
@@ -3,7 +3,7 @@
id="gedit-plugins-commander">
<info>
<link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
- <revision version="0.5" date="2011-10-14" status="draft"/>
+ <revision version="3.4" date="2012-01-02" status="draft"/>
<credit type="author">
<name>Jim Campbell</name>
@@ -16,19 +16,53 @@
<title>Commander</title>
- <p>To enable the commander plugin, select <guiseq><gui>Edit</gui><gui>
+ <p>The <app>Commander</app> plugin is a plugin for advanced <app>gedit</app>
+ users that allows you to perform command-line actions on the current
+ file. To enable the commander plugin, select <guiseq><gui>Edit</gui><gui>
Preferences</gui><gui>Plugins</gui><gui>Commander</gui></guiseq>.</p>
<p>Once you have enabled the plugin, activate it by pressing <keyseq><key>
- Ctrl</key><key>+</key><key>.</key></keyseq>.</p>
+ Ctrl</key><key>.</key></keyseq>.</p>
<note style="tip"><p>The last key in the above key combination is a period.
</p></note>
- <steps>
- <item><p>First step...</p></item>
- <item><p>Second step...</p></item>
- <item><p>Third step...</p></item>
- </steps>
+ <table frame="all" rules="all">
+ <thead>
+ <tr>
+ <td><p>To Do This</p></td> <td><p>Press This</p></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><p>See an overview of available commands</p></td> <td><p>Tab + Tab
+ </p></td>
+ </tr>
+ <tr>
+ <td><p>Find a word within the current file</p></td> <td><p>/ <em>foo
+ </em></p>
+ <p>This will find the word <em>foo</em>.</p></td>
+ </tr>
+ <tr>
+ <td><p>Replace a word within the current file</p></td> <td><p>// foo
+ bar</p>
+ <p>This will replace <em>foo</em> with <em>bar</em>.</p></td>
+ </tr>
+ <tr>
+ <td><p>Move the cursor to a certain line number in your file</p></td>
+ <td><p>go [line number] <em>or</em> just <em>g</em> [line number]</p>
+ </td>
+ </tr>
+ <tr>
+ <td><p>Toggle the bookmark indicator for the current line</p></td>
+ <td><p>bookmark <em>or</em> just <em>b</em></p></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <note style="tip"><p>Some commands, such as the <app>bookmark</app> command
+ require that the appropriate plugin be installed and activated. If you do not
+ have the appropriate plugin installed and activated, you will receive an
+ error message.</p></note>
</page>
diff --git a/help/C/gedit-plugins-snippets-guide.page b/help/C/gedit-plugins-snippets-guide.page
index 287980d..a6aed43 100644
--- a/help/C/gedit-plugins-snippets-guide.page
+++ b/help/C/gedit-plugins-snippets-guide.page
@@ -1,9 +1,9 @@
-<page xmlns="http://projectmallard.org/1.0/"
+ <page xmlns="http://projectmallard.org/1.0/"
type="guide" style="task 2column"
id="gedit-plugins-snippets-guide">
<info>
<link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
- <revision pkgversion="3.4" version="1.0" date="2011-11-23" status="draft"/>
+ <revision pkgversion="3.4" version="1.0" date="2011-11-23" status="review"/>
<credit type="author">
<name>Jim Campbell</name>
<email>jwcampbell gmail com</email>
diff --git a/help/C/gedit-plugins-snippets.page b/help/C/gedit-plugins-snippets.page
index 90de28f..c8b47eb 100644
--- a/help/C/gedit-plugins-snippets.page
+++ b/help/C/gedit-plugins-snippets.page
@@ -3,7 +3,7 @@
id="gedit-plugins-snippets">
<info>
<link type="guide" xref="gedit-plugins-snippets-guide#snippets-help"/>
- <revision pkgversion="3.4" date="2010-12-05" status="draft"/>
+ <revision pkgversion="3.4" date="2012-01-02" status="final"/>
<credit type="author">
<name>Jim Campbell</name>
@@ -23,7 +23,7 @@
<list>
<item><p>Make sure the syntax is set appropriately.</p>
<p>The status bar at the bottom of the <app>gedit</app> window will
- show the current language setting, and the language setting is what
+ show the current language setting. This language setting is what
allows gedit to insert the proper snippets. <app>Gedit</app> will
normally detect the language or syntax of the file that you're using,
but sometimes you may need to set it.</p></item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]