home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / Selecting.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  7.9 KB  |  195 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <meta name="GENERATOR" content="amaya 9.1, see http://www.w3.org/Amaya/" />
  8.   <title>Selecting</title>
  9.   <style type="text/css">
  10.   </style>
  11.   <link href="style.css" rel="stylesheet" type="text/css" />
  12. </head>
  13.  
  14. <body xml:lang="en" lang="en">
  15.  
  16. <div>
  17. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  18.  
  19. <p class="nav"><a href="Browsing.html" accesskey="p"><img alt="previous"
  20. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  21. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  22. <a href="Views.html" accesskey="n"><img alt="next"
  23. src="../../resources/icons/misc/right.png" /></a></p>
  24. </div>
  25.  
  26. <div class="toc">
  27. <ul>
  28.   <li><a href="#Selecting">Selecting</a>
  29.     <ul>
  30.       <li><a href="#Selecting1">Selecting with the Mouse</a></li>
  31.       <li><a href="#Selecting2">Selecting with the Keyboard</a></li>
  32.       <li><a href="#Selecting3">Selecting Images</a></li>
  33.       <li><a href="#Selecting4">Selecting in the Structure View</a></li>
  34.     </ul>
  35.   </li>
  36. </ul>
  37. </div>
  38.  
  39. <div id="page_body">
  40. <h2 id="Selecting">Selecting</h2>
  41.  
  42. <p>Many commands in Amaya act on the current selection. You can make a
  43. selection using the keyboard or the mouse, as described below.</p>
  44.  
  45. <p>No matter how you make the current selection, Amaya displays the type of
  46. the first selected element at the bottom of the window, followed by the types
  47. of the enclosing elements in the structure. This may be helpful when the
  48. document structure is complex.</p>
  49.  
  50. <p>For example, selecting a word in this sentence means that the status bar
  51. reads</p>
  52.  
  53. <p><samp>text \ p \ div \ body \ html</samp></p>
  54.  
  55. <p>meaning that the thing selected is some text within a <code>p</code>
  56. element, which is within a <code>div</code> element in the <code>body</code>
  57. of the <code>html</code> document.</p>
  58.  
  59. <p>Selecting <strong>this structure element</strong> (for example click on
  60. the word structure, then press <kbd>F2</kbd> gives</p>
  61.  
  62. <p><samp>strong \ p \ div \ body \ html</samp></p>
  63.  
  64. <h3 id="Selecting1">Selecting with the Mouse</h3>
  65. <ul>
  66.   <li>To set the insertion point, click with the left mouse button.<br />
  67.   </li>
  68.   <li>To select some text, drag across a region: hold down the left mouse
  69.     button, move the mouse, and release the button when the desired text is
  70.     selected.<br />
  71.   </li>
  72.   <li>To select an entire word, double-click on any character of a word.<br />
  73.   </li>
  74.   <li>To select a whole element such as a list item, click its bullet or
  75.     number.<br />
  76.   </li>
  77.   <li>To extend the selection, click with the left mouse button while holding
  78.     down the <code>Shift</code> key.</li>
  79.   <li>To select a structure element, click within the element you want and
  80.     then select the desired structure level via the keyboard as described
  81.     below</li>
  82. </ul>
  83.  
  84. <h3 id="Selecting2">Selecting with the Keyboard</h3>
  85.  
  86. <p class="ProcedureCaption">Selecting a structure element</p>
  87. <ul>
  88.   <li>Press the <kbd>F2</kbd> key to select the parent element in the
  89.     document structure. Press that key several times to select ancestors (and
  90.     everything in them) up the structure towards the root.</li>
  91.   <li>Press <kbd>Ctrl -</kbd> (minus key) to select the first child of the
  92.     current element.</li>
  93.   <li>Press <kbd>Ctrl k</kbd> to select the next element at the same level
  94.     (sibling), or at the level of the parent element if there is no next
  95.     sibling at the current level.</li>
  96.   <li>Press <kbd>Ctrl j</kbd> to select the previous element at the same
  97.     level (sibling), or at the level of the parent element if there is no
  98.     previous sibling at the current level.</li>
  99. </ul>
  100.  
  101. <p class="ProcedureCaption">Moving the insertion point</p>
  102. <ul>
  103.   <li>To move the insertion point locally, use the four arrow keys. If there
  104.     is no insertion point, one is set at the top left corner of the
  105.   window.</li>
  106.   <li>To move the insertion point to the beginning or the end of the line,
  107.     use keys <strong>Home</strong> and <strong>End</strong> respectively.</li>
  108.   <li>To move the insertion point to the beginning of the previous ou next
  109.     word, use keys <strong>Control-Left</strong> et
  110.     <strong>Control-Right</strong>.</li>
  111. </ul>
  112.  
  113. <p class="ProcedureCaption">Extending/shrinking the selection</p>
  114. <ul>
  115.   <li>To extend or shrink the current selection, use the Shift key together
  116.     with the arrow keys (<strong>Shift-Left</strong>,
  117.     <strong>Shift-Right</strong>, <strong>Shift-Up</strong>,
  118.     <strong>Shift-Down</strong>).</li>
  119.   <li>To extend the selection to the current word, use
  120.     <strong>Alt-Enter</strong>. If the current selection is within a link,
  121.     this command <a href="Browsing.html#Activating1">activates the link</a>
  122.     instead of selecting the word.</li>
  123.   <li>To extend the current selection to the beginning of the previous word
  124.     or to the end of the next word, use <strong>Shift-Control-Left</strong>
  125.     and<strong><strong>Shift-Control-Right</strong></strong>.</li>
  126. </ul>
  127.  
  128. <p class="ProcedureCaption">Moving across the document</p>
  129. <ul>
  130.   <li>To scroll the document one line up or down, use
  131.     <strong>Control-Up</strong> and <strong>Control-Down</strong>.</li>
  132.   <li>To skip to the befinning or the end of the document, use
  133.     <strong>Control-Home</strong> and
  134.     <strong><strong>Control-End</strong></strong>.</li>
  135. </ul>
  136.  
  137. <h3 id="Selecting3">Selecting Images</h3>
  138.  
  139. <p>Use the following procedures to select an image, or to move the cursor to
  140. left or right of an image</p>
  141.  
  142. <p class="ProcedureCaption">To select an entire image:</p>
  143. <ol>
  144.   <li>Click and drag anywhere within the image, and then release the mouse
  145.     button. Be sure not to drag outside the image before releasing the
  146.   mouse.</li>
  147.   <li>Use the copy, cut, and paste commands to move or duplicate the image
  148.     element along with all its attributes.</li>
  149. </ol>
  150.  
  151. <p class="ProcedureCaption">To place the cursor to the left or right of the
  152. image:</p>
  153. <ul>
  154.   <li>Click the left part of an image to move the cursor to the left edge of
  155.     that image. This enables you to type text before the image.</li>
  156.   <li>Click the right part of an image to move the cursor to the right side
  157.     of that image. This enables you to type text after the image.</li>
  158. </ul>
  159.  
  160. <p class="ProcedureNote"><strong>Note:</strong>รกรกรก When using the arrow keys,
  161. the cursor moves from one side of the image, to the image itself (selecting
  162. it), and then to the other side.</p>
  163.  
  164. <h3 id="Selecting4">Selecting in the Structure View</h3>
  165.  
  166. <p>The <a href="Views.html">structure view</a> is especially convenient for
  167. quickly selecting large elements or groups of elements within a document.</p>
  168.  
  169. <p class="ProcedureCaption">To select an element:</p>
  170. <ul>
  171.   <li>There are three ways to select a large element like a complex table or
  172.     a long list with a single click: Click the blue label that represents the
  173.     element, click the name of any of its attributes, or click the blue
  174.     vertical line associated with that element.</li>
  175. </ul>
  176.  
  177. <p class="ProcedureCaption">To select a text character or text string:</p>
  178. <ul>
  179.   <li>Click a text character in the Structure view to select only that
  180.     character. To select a text string, click and drag across the text.</li>
  181. </ul>
  182.  
  183. <p class="ProcedureCaption">To select an attribute value:</p>
  184. <ul>
  185.   <li>In Structure view, attribute values that can be edited from the
  186.     keyboard are displayed in purple. Click and drag across the attribute
  187.     value to select it. You cannot extend this type of text selection outside
  188.     the attribute value, but you can edit the value.</li>
  189. </ul>
  190.  
  191. <p></p>
  192. </div>
  193. </body>
  194. </html>
  195.