[gedit] docs: added ui:expanded attribute to the keyboard shortcut tables. neat new feature in mallard



commit def5038b93be94564c21aac4579100b94bbd4a6d
Author: Jim Campbell <jwcampbell gmail com>
Date:   Sun Feb 19 07:30:54 2012 +0100

    docs: added ui:expanded attribute to the keyboard shortcut tables. neat new feature in mallard

 help/C/gedit-shortcut-keys.page |   92 +++++++++++++++++++-------------------
 1 files changed, 46 insertions(+), 46 deletions(-)
---
diff --git a/help/C/gedit-shortcut-keys.page b/help/C/gedit-shortcut-keys.page
index e057415..9ebd828 100644
--- a/help/C/gedit-shortcut-keys.page
+++ b/help/C/gedit-shortcut-keys.page
@@ -1,4 +1,5 @@
 <page xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";
       type="guide" style="tip"
       id="gedit-shortcut-keys">
 
@@ -25,7 +26,9 @@
 
   <title>Shortcut keys</title>
 
-  <p>Use <gui>shortcut keys</gui> to perform common tasks more quickly than with the mouse and menus. The following tables list all of <app>gedit's</app> shortcut keys.</p>
+  <p>Use <gui>shortcut keys</gui> to perform common tasks more quickly than 
+  with the mouse and menus. The following tables list all of <app>gedit's</app> 
+  shortcut keys.</p>
 
 <!--  
 Please skip this list for now. I'm not sure if it is needed.
@@ -42,12 +45,12 @@ Please skip this list for now. I'm not sure if it is needed.
 
 -->
 
-  <section id="gedit-tab-shortcuts">
-    <title>Tab-related Shortcut keys</title>
 
-    <!-- For the sake of appearance, I have not used the <keyseq> feature to display key sequences in the tables. -->
+    <!-- For the sake of appearance, I have not used the <keyseq> feature to 
+    display key sequences in the tables. -->
 
-    <table frame="all" rules="all">
+    <table rules="rows" frame="top bottom" ui:expanded="yes">
+    <title>Tab-related Shortcut keys</title>
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -55,10 +58,12 @@ Please skip this list for now. I'm not sure if it is needed.
       </thead>
       <tbody>
         <tr>
-          <td><p>Switch to the next tab to the left</p></td> <td><p>Ctrl + Alt + PageUp</p></td>  
+          <td><p>Switch to the next tab to the left</p></td> <td><p>Ctrl + Alt 
+          + PageUp</p></td>  
         </tr>
         <tr>
-          <td><p>Switch to the next tab to the right</p></td>  <td><p>Ctrl + Alt + PageDown</p></td>
+          <td><p>Switch to the next tab to the right</p></td>  <td><p>Ctrl + 
+          Alt + PageDown</p></td>
         </tr>
         <tr>
           <td><p>Close tab</p></td>  <td><p>Ctrl + W</p></td>
@@ -70,16 +75,14 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Close all tabs</p></td>  <td><p>Ctrl + Shift + W</p></td>  
         </tr>
         <tr>
-          <td><p>Jump to <var>n</var>th tab</p></td>  <td><p>Alt + <var>n</var></p></td>
+          <td><p>Jump to <var>n</var>th tab</p></td>  <td><p>Alt + <var>n</var>
+          </p></td>
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-file-shortcuts">
+    <table rules="rows" frame="top bottom"  ui:expanded="no">
     <title>Shortcut keys for working with files</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -96,7 +99,8 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Save the current document</p></td>  <td><p>Ctrl + S</p></td>  
         </tr>
         <tr>
-          <td><p>Save the current document with a new filename</p></td>  <td><p>Ctrl + Shift + S</p></td>  
+          <td><p>Save the current document with a new filename</p></td>  <td><p>
+          Ctrl + Shift + S</p></td>  
         </tr>
         <tr>
           <td><p>Print the current document</p></td>  <td><p>Ctrl + P</p></td>  
@@ -112,12 +116,9 @@ Please skip this list for now. I'm not sure if it is needed.
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-editing-shortcuts">
+    <table rules="rows" frame="top bottom" ui:expanded="no">
     <title>Shortcut keys for editing files</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -128,16 +129,20 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Undo the last action</p></td>  <td><p>Ctrl + Z</p></td>  
         </tr>
         <tr>
-          <td><p>Redo the last undone action</p></td>  <td><p>Ctrl + Shift + Z</p></td>  
+          <td><p>Redo the last undone action</p></td>  <td><p>Ctrl + Shift + Z
+          </p></td>  
         </tr>
         <tr>
-          <td><p>Cut the selected text or region and place it on the clipboard</p></td>  <td><p>Ctrl + X</p></td>  
+          <td><p>Cut the selected text or region and place it on the clipboard
+          </p></td>  <td><p>Ctrl + X</p></td>  
         </tr>
         <tr>
-          <td><p>Copy the selected text or region onto the clipboard</p></td>  <td><p>Ctrl + C</p></td>  
+          <td><p>Copy the selected text or region onto the clipboard</p></td>  
+          <td><p>Ctrl + C</p></td>  
         </tr>
         <tr>
-          <td><p>Paste the contents of the clipboard</p></td>  <td><p>Ctrl + V</p></td>  
+          <td><p>Paste the contents of the clipboard</p></td>  <td><p>Ctrl + V
+          </p></td>  
         </tr>
         <tr>
           <td><p>Select all text in the file</p></td>  <td><p>Ctrl + A</p></td>  
@@ -146,19 +151,18 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Delete the current line</p></td>  <td><p>Ctrl + D</p></td>  
         </tr>
         <tr>
-          <td><p>Move the selected line up one line</p></td>  <td><p>Alt + Up Arrow</p></td>  
+          <td><p>Move the selected line up one line</p></td>  <td><p>Alt + Up 
+          Arrow</p></td>  
         </tr>
         <tr>
-          <td><p>Move the selected line down one line</p></td>  <td><p>Alt + Down Arrow</p></td>  
+          <td><p>Move the selected line down one line</p></td>  <td><p>Alt + 
+          Down Arrow</p></td>  
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-pane-shortcuts">
+    <table rules="rows" frame="top bottom" ui:expanded="no">
     <title>Shortcut keys for showing and hiding panes</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -169,16 +173,14 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Show / hide the side pane</p></td>  <td><p>F9</p></td>  
         </tr>
         <tr>
-          <td><p>Show / hide the bottom pane.</p></td>  <td><p>Ctrl + F9</p></td>  
+          <td><p>Show / hide the bottom pane.</p></td>  <td><p>Ctrl + F9</p>
+          </td>  
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-searching-shortcuts">
+    <table rules="rows" frame="top bottom" ui:expanded="no">
     <title>Shortcut keys for searching</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -189,10 +191,12 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Find a string</p></td>  <td><p>Ctrl + F</p></td>  
         </tr>
         <tr>
-          <td><p>Find the next instance of the string</p></td>  <td><p>Ctrl + G</p></td>  
+          <td><p>Find the next instance of the string</p></td>  <td><p>Ctrl + G
+          </p></td>  
         </tr>
         <tr>
-          <td><p>Find the previous instance of the string</p></td>  <td><p>Ctrl + Shift + G</p></td>  
+          <td><p>Find the previous instance of the string</p></td>  <td><p>Ctrl 
+          + Shift + G</p></td>  
         </tr>
         <tr>
           <td><p>Search and Replace</p></td>  <td><p>Ctrl + H</p></td>  
@@ -205,12 +209,9 @@ Please skip this list for now. I'm not sure if it is needed.
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-tools-shortcuts">
+    <table rules="rows" frame="top bottom" ui:expanded="no">
     <title>Shortcut keys for tools</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -221,22 +222,22 @@ Please skip this list for now. I'm not sure if it is needed.
           <td><p>Check spelling</p></td>  <td><p>Shift + F7</p></td>  
         </tr>
         <tr>
-          <td><p>Remove trailing spaces (with plugin)</p></td>  <td><p>Alt + F12</p></td>  
+          <td><p>Remove trailing spaces (with plugin)</p></td>  <td><p>Alt + F12
+          </p></td>  
         </tr>
         <tr>
-          <td><p>Run "make" in the current directory (with plugin)</p></td>  <td><p>F8</p></td>  
+          <td><p>Run "make" in the current directory (with plugin)</p></td>  
+          <td><p>F8</p></td>  
         </tr>
         <tr>
-          <td><p>Directory listing (with plugin)</p></td>  <td><p>Ctrl + Shift + D</p></td>  
+          <td><p>Directory listing (with plugin)</p></td>  <td><p>Ctrl + Shift 
+          + D</p></td>  
         </tr>
       </tbody>
     </table>
-  </section>
 
-  <section id="gedit-help-shortcuts">
+    <table rules="rows" frame="top bottom" ui:expanded="no">
     <title>Shortcut keys for user help</title>
-
-    <table frame="all" rules="all">
       <thead>
         <tr>
           <td><p>To Do This</p></td>  <td><p>Press This</p></td>  
@@ -248,6 +249,5 @@ Please skip this list for now. I'm not sure if it is needed.
         </tr>
       </tbody>
     </table>
-  </section>
 
 </page>



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