jEdit Community - Resources for users of the jEdit Text Editor
Archives
It's raining macros....
Submitted by jgellene on Friday, 9 November, 2001 - 03:12
  • BeanShell_Scratch_Pad.bsh - this macro provides a multi-line text area for entering and testing BeanShell scripts.

  • Build_CDBB_Database.bsh - this macro from Tom Gutwin automates the building of a CodeAid database file.

  • ChangeUIFonts.bsh - based on code written by Dirk Moebius, this macro changes display fonts used by jEdit and most dockable plugins.

  • EditBus_Components.bsh - this macro writes a list of EditBus components to the current editing buffer.

  • EditBus_Viewer.bsh - adapted from a deprecated plugin, this macro provides a graphical list of components attached to the EditBus.
Macros from jEdit 3.2.2 available online
Submitted by jgellene on Sunday, 11 November, 2001 - 15:02
Because they are already available with jEdit 3.2.2, these macros will not be featured in the "Latest Downlaods" report. They have been revised to work with jEdit 4.0 where necessary and contain their own documentation. A group of six search macros from version 3.2.2 that work together are available in a single archive as the "Find Occurence" macro package.

These additions bring the current number of macros in our Downlaods database to 82 (not counting multiple macros bundled in packages).
Modifying plugins for jEdit 4.0
Submitted by jgellene on Monday, 12 November, 2001 - 07:10
  • Under jEdit 3.2.2 and prior versions, the QuickNotepad plugin had a separate class, QuickNotepadDockable, implementing the DockableWindow interface. The class's methods delegated actions to the plugin's top-level visible component, a class derived from JPanel called QuickNotepad. The DockableWindow interface is deprecated in jEdit 4.0, so this class was eliminated. If the top-level component had implemented the DockableWindow interface, it would have been necessary to remove the implements statement and eliminate the getName() and getComponent() methods of that in the plugin class (unless, of course, the plugin itself requires them).
New beta plugin: Word Completion 0.2
Submitted by jgellene on Tuesday, 13 November, 2001 - 10:43
Please note that it's a bit difficult to describe the behaviour if you are not that used to it. Just install it into your system and try it out (see below).

The plugin is available in source form in jEdit's CVS repository.
A pre-compiled binary can be found at the IQ Computing web site or in the beta plugins download area on the jEdit Community web site.

To install the binary Jar file, just copy it into jEdit's "jars" directory, then restart jEdit.
CodeAid databases now available
Submitted by jgellene on Wednesday, 14 November, 2001 - 17:05
Some of the databases have been uploaded to the jEdit Community server, while others are available through download links posted by the person who compiled the database. Because the databases are not the conventional `type` of compiled binary, issues regarding licensing and distribution could be raised by the authors of the code base. We do not offer any view on whether those issues actually exist or how they might be resolved, but we have decided to take a conservative, practical approach to the uploading of CodeAid databases.
  • We will accept for uploading CodeAid databases derived from software issued under an Open Source license.
  • We will accept download links to other servers for CodeAid databases where the code base is subject a "community" `type` license or some other license that permits distribution of source code by parties other than the copyright holder.
  • Ultimately It is the responsibility of the person mantaining the download link (and, of course, anyone downloading the database) to make sure that use of a database is permitted.
jEdit Lite: running jEdit from a floppy disk
Submitted by jgellene on Saturday, 17 November, 2001 - 17:13
First, I decided that I would do without the help documentation and the "Tip of the day" feature. Opening jedit.jar with a zip file utility, I removed all of the files in the /doc directory and all of the HTML tip files. The resulting jedit.jar shrunk to 986KB. Not bad for a start.

Next, I looked at the edit modes in the /modes directory. What would I really need on the road? I narrowed the selection down to the following: beanshell, c, cplusplus, html, java, javascript, perl, php, python, text, xml and xsl. The largest price paid was for the php mode: the file was 97KB, over four times the size of the next largest. Maybe someday we'll have a php-lite mode, but I decided to keep it in.
New macros for November 2001
Submitted by jgellene on Friday, 23 November, 2001 - 15:00
  • Run_Script.bsh - Runs script using interpreter based upon buffer's editing mode (by default, determined using file extension). This macro was recently revised to handle paths containing spaces correctly under Windows.

  • Add_Import.bsh - Adds an import statement to the beginning of a Java source file and returns the editing caret to the starting location.

  • Clip_Get_and_Set.bsh - Creates get() and set() methods from variables contained in selected text. This macro works by grabbing text on the lines of the selected text and parsing it to get the first two tokens that are not contained in the macro's global string variable 'modifiers'. It then copies simple get() and set() methods to the clipboard.
jEdit 4.0pre2 now available
Submitted by slava on Sunday, 25 November, 2001 - 04:28
New Features

  • MacOS plugin bundled (Kris Kopicki)

    • jEdit exits cleanly when Command+Q is pressed
    • Files created or associated with jEdit can now be opened from the Finder by double-clicking on them, or dragging them to the jEdit icon
    • jEdit is assigned as the creator of new files

  • A few Alt-key shortcuts added for commonly-used commands so that you don't have to move your fingers all over the keyboard:

    • A+i, A+k: prev, next line
    • A+j, A+l: prev, next character
New ErrorSource API
Submitted by slava on Tuesday, 27 November, 2001 - 10:49
The changes are as follows:

  • The EditBus plugin has been dissolved, and all classes have been moved to the ErrorList plugin. So you must remove any dependencies on "EditBusPlugin" from your plugin's property file.
  • All ErrorSource API classes have been moved to the "errorlist" package; so you will need to add "import errorlist.*;" where necessary.
  • To register an error source, you must now call:
    ErrorSource.registerErrorSource(errorSource);
    Instead of
    EditBus.addToBus(errorSource);
    EditBus.addToNamedList(ErrorSource.ERROR_SOURCES_LIST,errorSource);
User login
Browse archives
« November 2001 »
MoTuWeThFrSaSu
 
1
3
6
8
10
12
16
18
21
22
24
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   111393
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17493
Advanced HTML edit mode   1.0   16227
Matlab Edit Mode   1.0   16091
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312