[gedit/help-pages] Merge gedit-plugins-snippets-guide into gedit-plugins-snippets.



commit 026c2835fa8932f6c01164184bdb55f9c6ef7416
Author: Sindhu S <sindhus live in>
Date:   Fri Mar 22 03:00:45 2013 -0400

    Merge gedit-plugins-snippets-guide into gedit-plugins-snippets.
    
    Merge content to gedit-plugins-snippets-guide into gedit-plugins-
    snippets page for ease of access.

 help/C/gedit-plugins-snippets-guide.page |   29 -------------
 help/C/gedit-plugins-snippets.page       |   66 ++++++++---------------------
 help/Makefile.am                         |    1 -
 3 files changed, 18 insertions(+), 78 deletions(-)
---
diff --git a/help/C/gedit-plugins-snippets.page b/help/C/gedit-plugins-snippets.page
index 3a430ba..044049e 100644
--- a/help/C/gedit-plugins-snippets.page
+++ b/help/C/gedit-plugins-snippets.page
@@ -1,59 +1,29 @@
-<page xmlns="http://projectmallard.org/1.0/";
-      type="topic" style="task"
-      id="gedit-plugins-snippets">
+       <page xmlns="http://projectmallard.org/1.0/";
+      type="guide" style="task 2column"
+      id="gedit-plugins-snippets-guide">
   <info>
-    <link type="guide" xref="gedit-plugins-snippets-guide#snippets-help"/>
+    <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
     <revision pkgversion="3.8" date="2013-02-24" status="review"/>
-  
     <credit type="author">
       <name>Jim Campbell</name>
       <email>jwcampbell gmail com</email>
     </credit>
-    <credit type="author">
-     <name>Daniel Neel</name>
-      <email>dneelyep gmail com</email>
-    </credit>
-    <desc>Inserting snippets of text into your files</desc>
+    <desc>Use snippets to quickly insert often-used pieces of text</desc>
   </info>
 
-  <title>Using snippets</title>
+  <title>Snippets</title>
 
-    <p>The following points will help you get started with using snippets:</p>
-      
-      <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. 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>
-      </list>
-        
-      <figure>
-          <desc>In this example, the language is set to HTML.</desc>
-            <media type="image" mime="image/png" 
-            src="figures/gedit-html-snippet.png" >
-            </media>
-      </figure>
-      
-      <list>
-        <item><p>Review the default snippets.</p>       
-        <p>Select <guiseq><gui>Tools</gui><gui>Manage Snippets</gui></guiseq>.
-        Review the snippets that are available for your language or syntax. 
-        Find some basic snippets that you think might be useful for you.</p>
-        </item>
-        <item><p>Try using some of the snippets.</p>
-        <p>For example, if you set the syntax to <em>HTML</em>, type <code>head
-        </code>, and press the <key>Tab</key> key, you should see something 
-        like this:</p></item>
-      </list>
-      
-        <code>
-        <![CDATA[<head>
-          <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-          <title>Page Title</title>
-          
-        </head>]]>
-        </code>
+  <p><app>Snippets</app> provide a convenient way of inserting repetitive 
+  portions of code into your files. For example, an HTML snippet for the 
+  <code><![CDATA[<img>]]></code> tag would insert the opening and closing 
+  portions of the tag, as well as fixed places where you can enter image 
+  attributes. This can make writing code easier and faster.</p>
+  
+  <p>To enable the <app>Snippets</app> plugin, select <guiseq><gui style="menu">gedit</gui>
+  <gui style="menuitem">Preferences</gui><gui>Plugins</gui><gui>Snippets</gui></guiseq>.</p>
 
+  <section id="snippets-help">
+    <title>Using, Modifying and creating snippets</title>
+    
+  </section>
 </page>
diff --git a/help/Makefile.am b/help/Makefile.am
index 3226809..b14fc03 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -45,7 +45,6 @@ HELP_FILES = \
        gedit-plugins-pyconsole.page \
        gedit-plugins-quick-open.page \
        gedit-plugins-session-saver.page \
-       gedit-plugins-snippets-guide.page \
        gedit-plugins-snippets.page \
        gedit-plugins-sort.page \
        gedit-plugins-tag-list.page \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]