select.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <html>
  2. <head>
  3. <title>Select Tool</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/select.gif" width="32" height="32">
  7. <em>Select Tool</em></h1>
  8. <p><table>
  9. <tr><td><strong>Library:</strong></td>
  10. <td><a href="index.html">Base</a></td></tr>
  11. <tr><td><strong>Introduced:</strong></td>
  12. <td>2.0 Beta 1</td></tr>
  13. </table></p>
  14. <h2>Behavior</h2>
  15. <p>Allows individual components to be placed into the current selection.
  16. There are a number of actions possible with this tool.
  17. <ul>
  18. <li>Pressing the mouse button while it is within a currently selected
  19. component begins a drag moving all components of the selection.</p>
  20. <p>By default, Logisim will compute a way to add new wires
  21. so that no existing connections are lost during the move.
  22. (Sometimes it will delete or shorten existing wires.)
  23. If you're performing a move where you do not want these changes to be made,
  24. you can press the shift key during the move.
  25. If you want to disable this behavior entirely,
  26. go to Project &gt; Options, select the Canvas tab,
  27. and uncheck the <q>Keep Connections When Moving</q> box;
  28. in this case, the connections are computed only when the shift key <em>is</em> down.</p>
  29. <p>Dragging a selection can lead to unexpected behavior from wires: If
  30. you drag a selection including some wires on top of some other wires,
  31. all wires are merged, and the merged wires are placed into the
  32. selection. As a result, if you drag the selection a second time, the
  33. wires previously at the location will not be left behind. This behavior
  34. is necessary to keep with the expected behavior of wires in Logisim. And
  35. it does not normally constitute a major problem: Logisim will draw the
  36. full selection in the midst of dropping, and you should not drop it
  37. until you are sure it is in the correct location.</p>
  38. <li>Otherwise, clicking the mouse within a component drops all
  39. components from the current selection and selects instead the
  40. component(s) containing the clicked location.</p>
  41. <li>Shift-clicking the mouse within a component toggles that component's
  42. presence within the selection. If multiple components include the same
  43. location, all components' presence will be toggled. None of this will
  44. happen, though, if shift-clicking is mapped to another tool instead (via
  45. the project options window's <a href="../../guide/opts/mouse.html">Mouse
  46. tab</a>).</p>
  47. <li>Dragging the mouse starting at a location not contained within any
  48. components drops all components from the current selection and
  49. initiates a rectangular selection.
  50. All component(s) contained by the rectangle will be placed into the
  51. selection.</p>
  52. <li>Shift-dragging the mouse starting at a location not contained
  53. within any components initiates a rectangular selection.
  54. The presence in the selection of all component(s) contained by the
  55. rectangle will be toggled. This will not happen, though, if
  56. shift-clicking is mapped to another tool instead.</p>
  57. </ul></p>
  58. <p>After selecting the desired items in the selection, you can of course
  59. cut/copy/paste/delete all the items via the <a
  60. href="../../guide/menu/edit.html">Edit menu</a>.</p>
  61. <p>Logisim's behavior when pasting the clipboard into a circuit is
  62. somewhat peculiar: It will not immediately place the components into the
  63. circuit; instead, the selection will be a collection of "ghosts," which
  64. will be dropped into the circuit as soon as they are either dragged to
  65. another location or removed from the selection. (This peculiar behavior
  66. is necessary because pasting will otherwise merge the wires of the
  67. selection into the current circuit at once, and the wires there
  68. previously will be dragged with the pasted clipboard if the user wants
  69. to move the pasted components somewhere else.)</p>
  70. <h2>Attributes</h2>
  71. <p>None. Selecting a component, though, will display its attributes.
  72. With multiple components selected, attributes shared by all are shown,
  73. blank if they have different values and otherwise with the value they
  74. all have in common. (Wires are ignored if there are any non-wires in
  75. the selection.) Changes to the attribute value affect all selected
  76. components.</p>
  77. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  78. </body>
  79. </html>