jEdit Community - Resources for users of the jEdit Text Editor
Undo Close Buffer (UndoCloseBuffer.bsh v1.0 by David Mlejnek)
Submitted by davo on Monday, 23 August, 2010 - 08:29
Reopens the recently closed buffer. Similar to the common browsers feature, that re-opens the recently closed tab. Recommended keyboard shortcut: Ctrl+Shift+T
Highlight plugin - fixed matching of end-of-line with '$' and beginning-of-line with '^' (Highlight.jar v0.2 by Shlomy Reinstein)
Submitted by shlomy on Monday, 23 March, 2009 - 21:43

Updated on 03/24/2009 - 07:33
Downloads: 747

Open_This.bsh v1.1 by Tomek Peszor
Submitted by takeshin on Monday, 7 July, 2008 - 06:11
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.
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:39
Only for Arch Linux users.

Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
Syncronize working directory of console and/or beanshell with current buffer (ChangeDirectory.bsh v1.4 by Robert Schwenn)
Submitted by Robert Schwenn on Monday, 6 November, 2006 - 20:46
This macro changes the working directory of console plugin and/or beanshell to the current buffer's parent directory. This is controlled by two properties, which have to be set manually.

The macro is intended for use with the action hooks pugin, bound to the events "BufferUpdate.LOADED" and "EditPaneUpdate.BUFFER_CHANGED". So the working directory of console is synchronized with current buffer (almost) every time.

Last Update: Now for Linux, too: Invoke cd command only, if buffer directory really has changed.

Open_Last_Closed_Buffer.bsh v0.1 by Jakub Roztocil
Submitted by Oswald on Monday, 21 August, 2006 - 09:28
Opens last closed buffer.
Close non project files (Close_non_project_files.bsh v1 by Jakub Roztocil)
Submitted by Oswald on Wednesday, 16 August, 2006 - 15:46
This macro closes opened buffers which are not members of current project.
Recent Files (Recent_Files.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Saturday, 20 August, 2005 - 18:47
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.
Create Scratch Buffer (Create_Scratch_Buffer.bsh v1.0 by TeRanEX)
Submitted by TeRanEX on Tuesday, 2 August, 2005 - 22:52
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 :))
Switch Project (Switch_Project.bsh v1.0 by Jeroen Budts (TeRanEX))
Submitted by TeRanEX on Wednesday, 27 July, 2005 - 16:50
A BeanShell macro script to easily switch between Projects (this macro requires the ProjectViewer plugin to work!). It is based on Buffer Switcher by Ollie Rutherfurth
LaTeX Menu Manager (LaTeX_Menu_Manager.bsh v1.2 by Jakub Holy)
Submitted by malyvelky on Monday, 31 January, 2005 - 12:12
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).
Rename Current Buffer (Rename_Current.bsh v0.1 by David Mlejnek)
Submitted by davo on Monday, 13 September, 2004 - 16:49
Renames the current buffer.
ReadOnly_Buffer.bsh v1.0 by codi
Submitted by codi on Saturday, 5 June, 2004 - 22:22
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.
VOGen macro (VOGen.bsh v1.0 by Jia Zhiming)
Submitted by jiazhimi on Wednesday, 14 April, 2004 - 09:39
Basicly it helps you to generate get/set methods from java class/instance variables. Unlike the "Make Get and Set Methods" macro, the operation is over the whole buffer, so there is no need to choose which portion to operate on. Quite easy to use. enjoy. :)
listMarkers.bsh v0.1 by Saimon Moore
Submitted by saimonm on Thursday, 19 February, 2004 - 19:38
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 ;)
switchLineSeparatorForAllBuffers.bsh v0.2 by Saimon Moore
Submitted by saimonm on Thursday, 19 February, 2004 - 19:35
Displays a dialog which allows you to switch the line separators of either: - All open buffers in current view - All files (recursive) in a specified directory - All files in a ProjectViewer project which you select Update: Added filter and now the macro will only close files which are not already open. Please feel free to update and improve on this...
Toggle Read Only (Toggle_Read_Only.bsh v1.0 by Ollie Rutherfurd)
Submitted by Anonymous on Wednesday, 18 February, 2004 - 02:32

Updated on 02/18/2004 - 02:36
Downloads: 1710

User login
Browse archives
« December 2017  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   50871
Context Free Art (*.cfdg)   0.31   41057
JBuilder scheme   .001   16941
ColdFusion scheme   1.0   16526
BBEdit scheme   1.0   16519
R Edit Mode - extensive version   0.1   14764
Advanced HTML edit mode   1.0   13995
Matlab Edit Mode   1.0   13925
jEdit XP icons   1.0   13366
XP icons for jEdit   1.1   12395