jEdit Community - Resources for users of the jEdit Text Editor
Archives
Launcing a new jEdit instance?
Submitted by pjlehtim on Friday, 17 December, 2004 - 08:29
Is is somehow possible to launch another instance of jEdit? What I need is to have two different sets of buffers. I edit multible XSLT files and multible input files. I don't want to have them all in the same buffer tab list(its getting too long and its hard to find the buffer I want). The best way would be to have Linux like virtual desktops inside jEdit. Just two separare buffersets and a keyboard shortcut to switch between them. But for now I'd be happy just to launch another jEdit instanve with separate set of buffers. Any way I can do that?
handling user input
Submitted by escalope on Friday, 17 December, 2004 - 09:59
Hello JEdit developers

I am trying to develop a plugin and have at the moment the following problem. My plugin needs to intercept key events sent to the main jedittextarea and remove some keypress events when they are not appropriate (say that the user types "t" and I don't won't that letter to appear in the jedittextarea). My plugin at the moment does receive key events, it can interact with the jedittextarea, but cannot suppress keypress actions, even if I invoke the consume method in a custom key listener and put this one in first place in the keylistener list.

I know how to do this with the conventional javax.swing.jtextarea but found no way to do solve the problem without modifying the jedit sourcecode.

How can I prevent a jedittextarea to type certain letters at certain moments?

Btw, I don't think that using keystrokes is a good solution since I ought to make continuous changes to existing key bindings.

Thanks in advance

Jorge
Problem with soft wrap
Submitted by Anonymous on Saturday, 18 December, 2004 - 05:13
Using soft wrap, the text is wrapping every line at a character count significantly below the wrap margin value (not because of word breaks). The text is wrapping where the wrap guide is shown, and when I hover the mouse over the wrap guide the wrap margin value is correctly displayed, but when I count the characters up to the wrap guide the number is much less than the wrap margin value (e.g., soft wrap occurs after character 45, even though wrap margin is set at 75). Problem appears to be independent of font selection.
find and replace
Submitted by Anonymous on Saturday, 18 December, 2004 - 17:30
I need to replace 3 lines of code, each line is on a seperate line in the file. I have to replace it with 4 lines of php code, however when I copy my 3 lines into the jedit editor, it puts them all on one line and so doesnt find the lines that need changing.

It appears it can only search for a string or something to replace providing its all on one line, what about if i want to replace a block of code in 45 files like I need to now?

How do I do that?
thnx
Spell Check plugin not work
Submitted by Anonymous on Saturday, 18 December, 2004 - 18:31
Hello, (my English is bad, it's not my native)

When i install Aspell and dictionary (Czech) and run plugin in jEdit, this ends with error:
Error: (Aspell) is: Cannot access aspell process: Přesměrování se uzavírá. (this is my native language, in english: "Redirection is closing".)

jEdit runs on WinXP Pro, version 4.2 final.

Please, help me. Thank you. Tom.
jedit gets stuck and stuck again
Submitted by csy on Saturday, 18 December, 2004 - 21:51
hello, jedit gets stuck for about 3 seconds every few minutes wich is very tedious Smiling activity log tells me: [error] ConnectionManager: java.net.SocketException: Connection reset [error] ConnectionManager: at java.net.SocketInputStream.read(Unknown Source) [error] ConnectionManager: at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source) [error] ConnectionManager: at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source) [error] ConnectionManager: at sun.nio.cs.StreamDecoder.read(Unknown Source) [error] ConnectionManager: at java.io.InputStreamReader.read(Unknown Source) [error] ConnectionManager: at java.io.BufferedReader.fill(Unknown Source) [error] ConnectionManager: at java.io.BufferedReader.readLine(Unknown Source) [error] ConnectionManager: at java.io.BufferedReader.readLine(Unknown Source) [error] ConnectionManager: at com.fooware.net.FtpResponse.setMessage(Unknown Source) [error] ConnectionManager: at com.fooware.net.FtpResponse.(Unknown Source) [error] ConnectionManager: at com.fooware.net.FtpClient.setResponse(Unknown Source) [error] ConnectionManager: at com.fooware.net.FtpClient.sendCommand(Unknown Source) [error] ConnectionManager: at com.fooware.net.FtpClient.logout(Unknown Source) [error] ConnectionManager: at ftp.FtpConnection.logout(Unknown Source) [error] ConnectionManager: at ftp.ConnectionManager.closeConnection(Unknown Source) [error] ConnectionManager: at ftp.ConnectionManager$1.actionPerformed(Unknown Source) [error] ConnectionManager: at javax.swing.Timer.fireActionPerformed(Unknown Source) [error] ConnectionManager: at javax.swing.Timer$DoPostEvent.run(Unknown Source) [error] ConnectionManager: at java.awt.event.InvocationEvent.dispatch(Unknown Source) [error] ConnectionManager: at java.awt.EventQueue.dispatchEvent(Unknown Source) [error] ConnectionManager: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) [error] ConnectionManager: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [error] ConnectionManager: at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [error] ConnectionManager: at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [error] ConnectionManager: at java.awt.EventDispatchThread.run(Unknown Source) anyone know whats wrong here? thank you in advance
remember window position of floating windows?
Submitted by csy on Saturday, 18 December, 2004 - 23:28
is it possible?

and if possible that the windows open again at startup after closing editor?
proper bidi support
Submitted by Anonymous on Sunday, 19 December, 2004 - 15:57
As not being a Java developer, I don't know if adding BiDi support can be done in Java, or not yet.

I'm using jEdit for all my code-writing needs, and I wish it can support BiDi to allow me to write/edit Arabic.
Currently, with 4.2, I'm able to write Arabic, but it doesn't align properly with other english text.
also, If I tried to select any word of the arabic sentence, the selection doesn't seem to select the word highlighted, so when I begin typing to edit the selected word, it actually edits a completely different word.

Cheers,
-Amr Mostafa
Macros for use with Progress 4GL (ProgressMacros.zip v1 by Patrick Tingen)
Submitted by ptingen on Monday, 20 December, 2004 - 07:27
Some macros that can come in handy when working with Progress 4GL:

The macros are:
 - Keywords_to_Lower_Case.bsh   
   This macro converts keywords to lower case.

 - Keywords_to_Upper_Case.bsh   
   This macro converts keywords to upper case (surprise eh?)

 - Make_Get_and_Set_Methods.bsh 
   This macro can make get and set functions for a variable. Place
   the cursor on a line containing 'define variable ' and activate 
   the macro. It will create get and set macros. It also works with 
   multiple define statements. Just select all lines and activate
   the macro. 

    define variable CustomerName as character.
    
    /* Name: getCustomerName
     * Desc: Returns the value of CustomerName.
     */
    function: getCustomerName returns null:
      return CustomerName.
    end function. /* getCustomerName*/ 
    
    
    /* Name: setCustomerName
     * Desc: Sets the value of CustomerName.
     */
    function: setCustomerName returns logical (par1 as null):
      assign CustomerName = par1.
      return true.
    end function. /* setCustomerName*/ 
   
 - ProcedureList.bsh
   This macro activates an advanced search command and gives
   a list of all internal procedures, triggers and functions in 
   your code. It presents them using the hypersearch panel. 

Have fun!
Setting Enviroment path?
Submitted by fail66 on Tuesday, 21 December, 2004 - 06:03
[warning] jEdit: jedit.jar not in class path!
[warning] jEdit: Assuming jEdit is installed in /home/xxxxx.
[warning] jEdit: Override with jedit.home system property.

I assume I have an environment variable set wrong, could someone please lend a hand and point me in the right direction?
pair programing
Submitted by Anonymous on Tuesday, 21 December, 2004 - 12:01
are u planing to develop a future pair programing pluging like subethaedit ?
keep text selection when switching buffers
Submitted by Anonymous on Tuesday, 21 December, 2004 - 19:23
When I select text in buffer "A", switch to buffer "B" and back to "A", the selection disappears. It is really annoying Sad
Could it be fixed in next realease of jEdit pls?
Average plugins size
Submitted by ajba74 on Wednesday, 22 December, 2004 - 13:49
Greetings,

Rookie question: what is the average size of a plugin? I am asking because I use a slow dialup connection. Is it required much bandwidth to keep my jedit updated?

Thanks you all,
Arnaldo
Jedit Spell Check PlugIn
Submitted by Anonymous on Wednesday, 22 December, 2004 - 14:33
Using jedit with Docbook for wrintting my documentation, i'm often using the spellcheck plugin. It's very useful but some important functions are missing ( save new word for example)

What kind of other tools can I use in order to control mi french text ?

Thank
Olivier
HighLight all search results in buffer
Submitted by chentz on Wednesday, 22 December, 2004 - 19:53
Hi,
I'm request highlight for all results of search. This help highlight new words in a specific situation.
how to change folding style like Visual Studio or KDevelop?
Submitted by pi1ot on Thursday, 23 December, 2004 - 04:46
like this:
http://www.quake-au.net/php/screenshot.png
http://static.kdenews.org/mirrors/qwertz/kde31alpha/s12.png
Assembly Edit Mode for TI C3x (assembly-c3x.xml v1.0 by Bill Finger)
Submitted by fingew on Thursday, 23 December, 2004 - 13:53
Edit mode for the TI C3x line of DSP processors.
JEdit as ZDE (project, functions, vars, viewer; languages check support)
Submitted by Anonymous on Sunday, 26 December, 2004 - 12:22
Hello all!

I'm trying jEdit at the third time, but now I want to move on it completely... =)
Just have some problems questions: what should I install (which plugins/macros/...) to get:
- project files viewer;
- variables, functions (in the hole project or just in file) viewer;
- support for PHP 5, Standart ML, C/C++. I mean feature just like in ZDE (Zend Development Editor) - editor launch copmiler/interpriter and give notices/errors/warnings to some window.

As far as I understand, there are all that possibilities there, but I tried to install all plugins and macros and they do not work. Some of them do not work at all, some of them can't be understanded (even after reading help).

Thank you in advance,
/Alexandre.
Run macro on Event
Submitted by raccuia on Monday, 27 December, 2004 - 10:19
Hello,
I'd like to know if I can run a macro when I save a buffer, catching the click on Save button.
Sorry if anyone have already ask for this question, but I don't found anything about it. Can anyone tell me if I can catch this event ed run my macro or where I can found any information?

Thanks in advance.
Mino
jedit and java 1.5
Submitted by Anonymous on Wednesday, 29 December, 2004 - 15:49
How do I use jedit with java 1.5? Can't seem to find any plugins or anything that help. Will it be long before jedit is released with 1.5 support?
User login
Browse archives
« December 2004 »
MoTuWeThFrSaSu
 
15
24
25
28
 
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   108249
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309