PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
HTML | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | 9bdd77fc8b8b0bee4c7f9aeb382818d3 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>File Management 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-editing.html" title="Editing Macros"><link rel="next" href="macros-interface.html" title="User Interface 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">File Management Macros</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="macros-editing.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-interface.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-files"></a>File Management Macros</h2></div></div></div><p>These macros automate the opening and closing of files.</p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">Browse_Directory.bsh</code></p><p>Opens a directory supplied by the user in the file system
  2. browser.</p></li><li><p><code class="filename">Buffer_Switcher.bsh</code></p><p>Displays a modal dialog listing all open buffers, allowing
  3. one to switch to and/or close buffers. <code class="keycap">ENTER</code>
  4. switches to a buffer and closes the dialog,
  5. <code class="keycap">DELETE</code> closes a buffer, <code class="keycap">SPACE</code>
  6. switches to a buffer but does not close the dialog.</p></li><li><p><code class="filename">Close_All_Except_Active.bsh</code></p><p>Closes all files except the current buffer.</p><p>Prompts the user to save any buffer containing unsaved
  7. changes.</p></li><li><p><code class="filename">Copy_Path_to_Clipboad.bsh</code></p><p>Copies the current buffer's path to the clipboard.</p></li><li><p><code class="filename">Copy_Name_to_Clipboad.bsh</code></p><p>Copies the current buffer's filename to the
  8. clipboard.</p></li><li><p><code class="filename">Delete_Current.bsh</code></p><p>Deletes the current buffer's file on disk, but doesn't
  9. close the buffer.</p></li><li><p><code class="filename">Glob_Close.bsh</code></p><p>Closes all open buffers matching a given glob
  10. pattern.</p></li><li><p><code class="filename">Insert_Selection.bsh</code></p><p>Assumes the current selection is file path and tries
  11. replaces the selection with the contents of the file. Does
  12. nothing if no text is selected or the selection spans multiple
  13. lines.</p></li><li><p><code class="filename">Next_Dirty_Buffer.bsh</code></p><p>Switches to the next dirty buffer, if there is one.</p></li><li><p><code class="filename">Open_Path.bsh</code></p><p>Opens the file supplied by the user in an input
  14. dialog.</p></li><li><p><code class="filename">Open_Selection.bsh</code></p><p>Opens the file named by the current buffer's selected
  15. text.</p></li><li><p><code class="filename">Toggle_ReadOnly.bsh</code></p><p>Toggles a local file's read-only flag. Uses
  16. platform-specific commands, so it only works on Windows, Unix
  17. and MacOS X.</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-editing.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-interface.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Editing Macros </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> User Interface Macros</td></tr></table></div></body></html>