Files
Macros that deal with files or buffers
Close non project files (Close_non_project_files.bsh v1 by Jakub Roztocil)
Submitted by Wednesday, 16 August, 2006 - 15:46
on
This macro closes opened buffers which are not members of current project.
Updated on 08/16/2006 - 20:07
Downloads: 1391
Create Scratch Buffer (Create_Scratch_Buffer.bsh v1.0 by TeRanEX)
Submitted by Tuesday, 2 August, 2005 - 22:52
on
a BeanShell macro script to rapidly create temporary buffers in a specified directory, using a random name for the buffer. When you bind a shortcut to it (by example CS+n) this allows you to easily create a buffer to take notes and still save it without having to think about a name/location (just in case your computer crashes). By using the Delete_Buffer.bsh macro you can delete the buffer as easily as you created it.
(i'm not entirely sure if "scratchbuffer" is a good name for this kind of buffer. Better names are welcome :))
Updated on 08/02/2005 - 22:52
Downloads: 1769
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by Sunday, 11 February, 2007 - 17:39
on
Only for Arch Linux users.
Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
Updated on 02/11/2007 - 17:39
Downloads: 1279
Highlight plugin - fixed matching of end-of-line with '$' and beginning-of-line with '^' (Highlight.jar v0.2 by Shlomy Reinstein)
Submitted by Monday, 23 March, 2009 - 21:43
on
Updated on 03/24/2009 - 07:33
Downloads: 1027
LaTeX Menu Manager (LaTeX_Menu_Manager.bsh v1.2 by Jakub Holy)
Submitted by Monday, 31 January, 2005 - 12:12
on
When in tex mode create a top-level menu for LaTeX Tools
This macro simplifes the work of people using (La)TeX with jEdit because it makes
the menu of LaTeX Tools available in 1 click instead of 2 - 3.
When a user switches into another buffer it's checked whether it is in the (la)tex mode
and if so LaTeX Tool Plugin's menu is copied to the menu bar next to "Help"
(i.e. a top-most menu is created for it). When the buffer is left the menu is
removed.
The macro could be easily modified for another mode,plugin combination (change the
fields PLUGIN_CLASS and MODES) and with a bit more work it could handle multiple
pairs of modes and plugins.
The macro shall be placed in jEdit startup directory (e.g. /home/me/.jedit/startup/; find it from jEdit: Utilities->Settings Directory->More->startup) to load it automaticaly. If you want to load it manually: 1. Open the macro and in beanshell execute 'eval( textArea.getText() );' or 'source("path/to/macro")' to make the class available 2. In beanshell again execute 'new ModeMenuManager( view );' which will create an instance listening for edit mode changes & setting the menu.
CHANGELOG:
1.1 - show the menu also for the 1st active buffer if it's TeX; so far you need to switch into a non-tex buffer and back
- check that the plugin is available 1.2 - work not only for tex but also for latex mode LIMITATIONS: Only one view is supported so far. If there're more requests I'll work out multiple-view support but otherwise I'll leave it as it is.
If you set edit mode of a buffer manually (in buffer options) the macro won't reflect it until you switch into another buffer and back
LINKS:
Donwload the LaTeX Tools plugin: http://plugins.jedit.org/plugins/?LaTeXTools You should also try a pretty useful latex macro from http://jfmagni.free.fr/doc/help.html or http://community.jedit.org/?q=filestore/download/1830 (Files>Macros)
WARNING:
LaTeX Tools v. 0.5.1 only function with the mode 'tex'. If the buffer mode is 'latex' the plugin believes it's not a TeX file and so e.g. the Structure Browser doesn't work. i sumitted a bug for it. You may correct it yourself - see the plugin bug 1396913 (http://sourceforge.net/tracker/index.php?func=detail&aid=1396913&group_id=588&atid=565475).
CHANGELOG:
1.1 - show the menu also for the 1st active buffer if it's TeX; so far you need to switch into a non-tex buffer and back
- check that the plugin is available 1.2 - work not only for tex but also for latex mode LIMITATIONS: Only one view is supported so far. If there're more requests I'll work out multiple-view support but otherwise I'll leave it as it is.
If you set edit mode of a buffer manually (in buffer options) the macro won't reflect it until you switch into another buffer and back
LINKS:
Donwload the LaTeX Tools plugin: http://plugins.jedit.org/plugins/?LaTeXTools You should also try a pretty useful latex macro from http://jfmagni.free.fr/doc/help.html or http://community.jedit.org/?q=filestore/download/1830 (Files>Macros)
WARNING:
LaTeX Tools v. 0.5.1 only function with the mode 'tex'. If the buffer mode is 'latex' the plugin believes it's not a TeX file and so e.g. the Structure Browser doesn't work. i sumitted a bug for it. You may correct it yourself - see the plugin bug 1396913 (http://sourceforge.net/tracker/index.php?func=detail&aid=1396913&group_id=588&atid=565475).
Updated on 01/04/2006 - 16:47
Downloads: 2197
listMarkers.bsh v0.1 by Saimon Moore
Submitted by Thursday, 19 February, 2004 - 19:38
on
Displays a dialog similar to the hypersearch dialog
which list all the markers set in the current buffer. Clicking on the entry
takes you to the marker in the buffer.
Please feel free to improve on the presentation ;)
Updated on 02/19/2004 - 19:38
Downloads: 1959
Open_Last_Closed_Buffer.bsh v0.1 by Jakub Roztocil
Submitted by Monday, 21 August, 2006 - 09:28
on
Opens last closed buffer.
Updated on 08/21/2006 - 09:28
Downloads: 1326
Open_This.bsh v1.1 by Tomek Peszor
Submitted by Monday, 7 July, 2008 - 06:11
on
Opens selected path in new buffer. Select path to any file in current textarea and run this macro to open this file in new buffer.
If nothing is selected, looks for file path inside quotes surrounding caret. Opens remote URLs as well.
Based on Open_Selection.bsh macro, but no selection is needed.
Most useful for included files, linked HTML pages, linked scripts or CSS files.
Updated on 07/07/2008 - 06:11
Downloads: 1354
ReadOnly_Buffer.bsh v1.0 by codi
Submitted by Saturday, 5 June, 2004 - 22:22
on
This macro will set current buffer to read-only mode without changing
file flag on hard disc so another user can access that file in
read-write mode.
Another call will unset buffer read-only flag.
requires JDK 1.4, jEdit4.2
This is 1.0 version, tested on Win2K, Jedit 4.2pre14 and jdk1.4.2_02.
Updated on 05/31/2008 - 13:11
Downloads: 4600
Recent Files (Recent_Files.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by Saturday, 20 August, 2005 - 18:47
on
A macro to easily re-open a recent file. This is a modified version of Buffer_Switcher.bsh (written by Ollie Rutherfurd), to show recent files instead of open buffers.
Updated on 08/21/2005 - 12:24
Downloads: 1852
There are 480 downloads in our database