These macros automate the opening and closing of files.
Browse_Directory.bsh
Abstract
Opens a directory supplied by the user in the file system browser.
Buffer_Switcher.bsh
Abstract
Displays a modal dialog listing all open buffers, allowing one to switch to and/or close buffers. ENTER switches to a buffer and closes the dialog, DELETE closes a buffer, SPACE switches to a buffer but does not close the dialog.
Close_All_Except_Active.bsh
Abstract
Closes all files except the current buffer.
Prompts the user to save any buffer containing unsaved changes.
Copy_Path_to_Clipboad.bsh
Abstract
Copies the current buffer's path to the clipboard.
Copy_Name_to_Clipboad.bsh
Abstract
Copies the current buffer's filename to the clipboard.
Copy_Selection_or_Line.bsh
Abstract
If no text is selected, the current line is copied to the clipboard, otherwise the selected text is copied to the clipboard. Some editors have this has the default copy behavior. To achieve the same effect in jEdit, bind this macro to C+c in the Shortcuts pane of the Utilities>Global Options dialog box.
Cut_Selection_or_Line.bsh
Abstract
If no text is selected, the current line is cut to the clipboard, otherwise the selected text is cut to the clipboard. Some editors have this has the default cut behavior. To achieve the same effect in jEdit, bind this macro to C+x in the Shortcuts pane of the Utilities>Global Options dialog box.
Delete_Current.bsh
Abstract
Deletes the current buffer's file on disk, but doesn't close the buffer.
Glob_Close.bsh
Abstract
Closes all open buffers matching a given glob pattern.
Go_to_Column.bsh
Abstract
Prompts the user for a column position on the current line, then moves the caret there.
Keywords_to_Upper_Case.bsh
Abstract
Converts all keywords in the current buffer to upper case.
Open_Path.bsh
Abstract
Opens the file supplied by the user in an input dialog.
Open_Selection.bsh
Abstract
Opens the file named by the current buffer's selected text.
Toggle_ReadOnly.bsh
Abstract
Toggles a local file's read-only flag. Uses platform-specific commands, so it only works on Windows, Unix and MacOS X.