jEdit Community - Resources for users of the jEdit Text Editor

Files

Macros that deal with files or buffers


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.

Updated on 08/16/2006 - 20:07
Downloads: 1389

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 :))

Updated on 08/02/2005 - 22:52
Downloads: 1767

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.

Updated on 02/11/2007 - 17:39
Downloads: 1277

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: 1023

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).

Updated on 01/04/2006 - 16:47
Downloads: 2194

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 ;)

Updated on 02/19/2004 - 19:38
Downloads: 1957

Open_Last_Closed_Buffer.bsh v0.1 by Jakub Roztocil
Submitted by Oswald on Monday, 21 August, 2006 - 09:28
Opens last closed buffer.

Updated on 08/21/2006 - 09:28
Downloads: 1324

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.

Updated on 07/07/2008 - 06:11
Downloads: 1351

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.

Updated on 05/31/2008 - 13:11
Downloads: 4597

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.

Updated on 08/21/2005 - 12:24
Downloads: 1850

There are 480 downloads in our database
User login
Browse archives
« April 2024  
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
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293