PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/users-guide/macros-clipboard.html

#
HTML | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | 74cde7f6ccde97ae2b561d2e5a76ff2b MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Clipboard Macros</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="jEdit 4.3 User's Guide"><link rel="up" href="macro-index.html" title="Appendix F. Macros Included With jEdit"><link rel="prev" href="macros-c.html" title="C/C++ macros"><link rel="next" href="macros-editing.html" title="Editing Macros"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Clipboard Macros</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="macros-c.html">Prev</a> </td><th width="60%" align="center">Appendix F. Macros Included With jEdit</th><td width="20%" align="right"> <a accesskey="n" href="macros-editing.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="macros-clipboard"></a>Clipboard Macros</h2></div></div></div><p>These macros copy or cut text to the clipboard.</p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">Copy_Lines_Containing.bsh</code></p><p>Copies all lines from the current buffer, containing a
  2. user-supplied string, to the clipboard.</p></li><li><p><code class="filename">Cut_Lines_Containing.bsh</code></p><p>Cuts all lines from the current buffer, containing a
  3. user-supplied string, to the clipboard.</p></li><li><p><code class="filename">Copy_Selection_or_Line.bsh</code></p><p>If no text is selected, the current line is copied to the
  4. clipboard, otherwise the selected text is copied to the
  5. clipboard. Some editors have this has the default copy behavior.
  6. To achieve the same effect in jEdit, bind this macro to
  7. <code class="keycap">C+c</code> in the <span class="guibutton"><strong>Shortcuts</strong></span>
  8. pane of the <span class="guimenu"><strong>Utilities</strong></span>&gt;<span class="guimenuitem"><strong>Global
  9. Options</strong></span> dialog box.</p></li><li><p><code class="filename">Cut_Selection_or_Line.bsh</code></p><p>If no text is selected, the current line is cut to the
  10. clipboard, otherwise the selected text is cut to the clipboard.
  11. Some editors have this has the default cut behavior. To achieve
  12. the same effect in jEdit, bind this macro to
  13. <code class="keycap">C+x</code> in the <span class="guibutton"><strong>Shortcuts</strong></span>
  14. pane of the <span class="guimenu"><strong>Utilities</strong></span>&gt;<span class="guimenuitem"><strong>Global
  15. Options</strong></span> dialog box.</p></li><li><p><code class="filename">Copy_Visible_Lines.bsh</code></p><p>Copies the visible lines from the current buffer to the
  16. Clipboard. Lines that are not visible becuase they are folded
  17. are not copied.</p></li></ul></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="macros-c.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="macro-index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="macros-editing.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">C/C++ macros  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Editing Macros</td></tr></table></div></body></html>