jEdit Community - Resources for users of the jEdit Text Editor
Archives
Issues with TaskList
Submitted by hath on Wednesday, 12 May, 2010 - 18:21
Hi,
I'm trying to use the TaskList plugin. Its working for the most part but it only seems to be able to parse and display thing in the current buffer. It has a tab for all Open files which would be really useful but it doesn't work. Right now I'm using a Sessions plugin and I'm wondering it could be the cause?

The only other plugins I have at the moment are quicknotepad, and TextAutoComplete.
multiple untitled buffers
Submitted by mauricebis on Friday, 14 May, 2010 - 07:19
Hi,

I'm using Jedit 4.3.1 on the following platform:
5:28:44 PM [main] [message] Log: java.version=1.6.0_17
5:28:44 PM [main] [message] Log: java.vm.version=14.3-b01
5:28:44 PM [main] [message] Log: java.runtime.version=1.6.0_17-b04
5:28:44 PM [main] [message] Log: java.vendor=Sun Microsystems Inc.
5:28:44 PM [main] [message] Log: java.compiler=null
5:28:44 PM [main] [message] Log: os.name=Linux
5:28:44 PM [main] [message] Log: os.version=2.6.24-16-generic
5:28:44 PM [main] [message] Log: os.arch=i386

For some reason, I've the screen cluttered with multiple untitled buffers (it goes until 17) which I can't close. I also suspect this has a negative impact on performance. In the hope that this bug can be fixed in the future, would there be a way to edit manually the file where Jedit's state is saved so that on reopening, these multiple untitled windows disappear?

Thanks.
Adding a shortcut to "Execute script" command of the superscript plugin.
Submitted by sinarf on Saturday, 15 May, 2010 - 14:42
I'd love to use jEdit for all my scripting work.

I installed the superscript plugin as explain here: http://groovy.codehaus.org/JEdit+Plugin
It's working fine but I couldn't find a way to add a keyboard shortcut to the "Execute script" button, and there is nothing available from the global options / shortcuts list or even in the plugin configuration.
Adding a shortcut to a command in jEdit is so basic stuff that I cannot believe it has not been done yet.

Before I try to dive into hacking the plugin to give access to the command from menus or shortcut, I thought I ask you guys if I didn't miss something?

Thanks in advance for any information.
A few questions
Submitted by 357mag on Monday, 17 May, 2010 - 08:39
I'm experimenting with jEdit and I downloaded the console plug-in so I don't have to open a command window. I can successfully compile and run my programs from the menu options on top but I also tried typing in the commands at the prompt but they fail.

To compile my program I've been typing: javac Experiment.java

To run my program I've been typing: java Experiment

But Jedit complains and has an exit code of 2

What's the deal?
Simple Question from a Simple Mind
Submitted by stevelw on Monday, 17 May, 2010 - 09:45
I have two questions that have me battering my head against the wall ...

1. How do I configure Jedit so that the find box is empty when creating/opening a document. At the moment every time I start the progam the find box is filled with an old search criteria that I no longer need.

2. How do I arrange for the app to open at a particular location and with a specific sized window?

Thanks
Next line and beginning of the next line
Submitted by kkerst on Monday, 17 May, 2010 - 18:12
I have a basic question: When using the arrow keys to move the caret/cursor to the next line, the position stays where it's at opposed to moving to the beginning of the next line. How do I configure Jedit such that the cursor returns to the beginning of the line each time I use the arrow keys to move to next line?

Thanks!

kkerst
How do you clear the console screen by using keys?
Submitted by 357mag on Wednesday, 19 May, 2010 - 01:09
Is there a way you can clear the contents of the console window by using keys? Like in the Windows command prompt you hit cls and the entire screen clears. If you hit cls in jEdit you will see the message that it exited with code 0 so it appears nothing went wrong but the screen does not clear. It's still full of junk.

And then tried assigning a few shortcut keys to the clear console command in the shortcuts menu but they don't work either. First I assigned cls to the clear console command and it did not clear the console. Then I assigned c to the same command and that didn't clear the window either.

Confused.
Updated CandyFold plugin
Submitted by maulik13 on Wednesday, 19 May, 2010 - 09:11
hi,

I have updated the candy fold plugin. I have tried contacting the author on SourceForge, but I have not heard anything back.
I was wondering how to I share this update?

-Maulik
jerky performance on 64bit win7
Submitted by Rambosmurf on Tuesday, 25 May, 2010 - 10:54
I see there are some other threads regarding this that pertain to slow draws of the textarea and/or windows such as the file browser, with a variety of hardware and os-configurations.

I'm having the same problem after reinstalling my computer with windows 7 64 bit, previously windows 7 32 bit. I did this as i god an 8gb ram upgrade and an ssd, but these hardware changes are imo unlikely to be the source of the problem. In that sense the hardware is essentially the same before and after reinstall.

The performance of jEdit 4.3.2 on the same pc under 32 bit was immaculate, while the performance under 64 bit is jerky. I can sense a slight lag as i type, selecting and scrolling through larger pieces of code is noticable more jerky, windows take a long time to render. I've tried reinstalling both jEdit and java, also googling for 64bit specific editions of java, but there doesnt seem to be any 64-bit specific java packages?

In any case, the java binary on my computer says 32-bit.

What i did notice however (just now) is that jEdit is running under something called server-background mode, as detailed by the about screen. I saw from a different thread (http://community.jedit.org/?q=node/view/4165#7870) that one user outlined a possible cause as java beeing run in server mode. Are these two related, and what exactly does this server mode in jEdit do?

If it helps, the hardware im running on is as follows:
Nvidia quadro fx 770 mobile
Core2duo cpu
Intel ICH9 family chipset
jEdit Console Commandos for Tcl/Tk
Submitted by Gary Gabriel on Saturday, 29 May, 2010 - 10:38
Hi,

jEdit Console commandos do not currently include Tcl/Tk. I was not
successful in finding any in the archives or references.
- Does anyone have the commandos to bind the Tclsh and Wish interpreters
into the Console and could provide them?


Thanks for your efforts and time- Gary Gabriel
filename.extension + ~ files
Submitted by ColaColin on Monday, 7 June, 2010 - 01:45
Why is jEdit creating additional files with a leading ~ ?
For example if I edit a main.bsh it will create a main.bsh~ next to the main.bsh.


Is there a way to stop jEdit from doing this ?
I want to edit files in a dir, which will get zipped and stored and i dont need additional files in it.
Jsch et GSSAPI
Submitted by Jabberwock on Monday, 7 June, 2010 - 09:07
Hi,

I create a class to connect with jsch to a server.
If i send the login/mdp it's ok.

But I want to use the GSSAPI authenfication. I look the jsch examples.
With this code i have the message "Auth failed".

Do you have an idea ? or examples ?

public void connect(String username, String password, String host, int port)
throws JSchException, IOException {
JSch shell = new JSch();
shell.setKnownHosts("chemin_vers_known_host");
this.login = username;
this.serveur = host;
this.password = password;
Session session = shell.getSession(username, host, port);
MyUserInfo ui = new MyUserInfo();
ui.setPassword(password);
//Session session = new Session(shell);
session.setUserInfo(ui);
session.setUserName(username);
/*UserAuthGSSAPIWithMIC uagss = new UserAuthGSSAPIWithMIC();
Log.log(Log.DEBUG,this,"ICI-1");*/
session.setConfig("PreferredAuthentications", "gssapi-with-mic");
session.connect();

channel = session.openChannel("shell");
fromServer = new BufferedReader(new InputStreamReader(channel.getInputStream()));
toServer = channel.getOutputStream();
channel.connect();
/*Log.log(Log.DEBUG,this,"ICI-2");
uagss.start(session);
Log.log(Log.DEBUG,this,"ICI-3");*/
variable_env_lue = false;
if(isConnected()){
//send("echo \"\"");
}
}
Macros for ProjectViewer
Submitted by Jabberwock on Monday, 7 June, 2010 - 09:12
Hi,

I write some macros for ProjectViewer.

You have a macro to do a search in the projects tree, and some for load/unload project, and one to add a project.

If you want to use the unload macro, call always the macro Export.bsh
If you want to load a project, call Import_Tree_Project.bsh, if you want to load a tree project, or Import_a_project.bsh if you want to load only one project.

The Add_project.bsh macro, add a project, and the focus stay where your are, and don't go inside the new project.

The Search macros is simple Smiling
javascript minify macro (compress.bsh v0.1 by Patrik Plihal)
Submitted by birdspider on Thursday, 10 June, 2010 - 17:57
minifies javascript
improved it to my needs

you can now specify an amount off lines which will be restored after compression to make comments persistent (so after deployment I can check which version of the script the server is running) this is especially usefull if you use a version control with 'on commit - keywords'
Frequent crashes on OS X
Submitted by dfilip on Sunday, 13 June, 2010 - 20:33
I have just started using JEdit and love it ... when it works! However, using it under OS X frequently crashes.

I am justing Snow Leopard - 10.6.3 - and drag-n-drop files into the JEdit which usually launches JEdit with the file source. However, sometimes - more frequently after I've just logged in (?!) - it will launch, and then immediately crash, giving me the options to ignore / restart / report. Sometimes it will launch JEdit with an empty buffer (even though I've dragged-n-dropped a file), sometimes it will crash immediately, and sometimes it will launch with the correct file source. After a crash, I repeat the same drag-n -drop of the same file repeatedly, it will eventually work and not crash, but may take 2 or 3 or up to 4 or 5 times before it works, although I don't think I've ever had to do it more than 5 times. However, after I've launched it by draging-n-dropping a file into it, editing and saving files seems to work flawlessly.

If I manually launch JEdit with an empty buffer and then drag a file into it, it usually works, but again, sometimes will crash.

Important hint: because I am developing for a Java 1.5 server, the JVM that I am using is Java 1.5.0_19, from Snow Leopard. Therefore, I am NOT using the 1.6 JRE that Apple provides with Snow Leopard, but rather the JRE 1.5 that Apple provided with Leopard. Could this be causing my problems?

Is anyone else having similar problems under OS X? I think its a great editor when it works, which is actually most of the time, but find it frustrating when it crashes.

Any help would be appreciated.

Thanks,

Dave.
Whitespace marking...dots
Submitted by imgod2u on Monday, 14 June, 2010 - 02:30
So this must be new to 4.3.2 or around there. But I've noticed that all of my whitespaces (on OSX) are being marked with a small dot. While I'm sure this is quite helpful, I find it distracting. How do I turn this off?
javascript packer macro (pack.bsh v0.1 by Patrik Plihal)
Submitted by birdspider on Thursday, 17 June, 2010 - 14:40
see javascript minify @ http://community.jedit.org/?q=node/view/4476
instead of YUI compress this one uses a port of http://dean.edwards.name/packer/
encodings
Submitted by efthimis on Friday, 18 June, 2010 - 13:32
Hallo my friends i am a novice user of jedit and i want to ask you how can i use the x-MacGreek encoding to see some files that i have. I used it before but i have made an upgrade of java and then it dissapeared from the list of my Global Options where can i find it?
I have an old version jEdit 4.3pre12 using Java 1.6.0_20 but i had not any problem before this upgrade.
Thanks a lot...
Efthimis
Horizontal bar on the screen
Submitted by mauricebis on Friday, 25 June, 2010 - 10:29
Hi,

I'm using jEdit version 4.3.2 on Ubuntu lucid. It works pretty well but there's an issue which is a bit annoying: A horizontal bar or sometimes various horizontal bar appear at random in the textarea, these horizontal lines appear or disappear as I type along and insert or remove lines in a non predictable way. Any ideas? Thanks.

Log head:
22:23:31 [main] [message] Log: java.version=1.6.0_18
22:23:31 [main] [message] Log: java.vm.version=14.0-b16
22:23:31 [main] [message] Log: java.runtime.version=1.6.0_18-b18
22:23:31 [main] [message] Log: java.vendor=Sun Microsystems Inc.
22:23:31 [main] [message] Log: java.compiler=null
22:23:31 [main] [message] Log: os.name=Linux
22:23:31 [main] [message] Log: os.version=2.6.32-21-generic
22:23:31 [main] [message] Log: os.arch=i386
22:23:31 [main] [message] Log: user.home=/home/maurice
22:23:31 [main] [message] Log: java.home=/usr/lib/jvm/java-6-openjdk/jre
22:23:31 [main] [message] Log: java.class.path=/usr/share/jEdit/jedit.jar
22:23:32 [main] [debug] MiscUtilities: Saving backup of file "/home/maurice/.jedit/activity.log" to "/home/maurice/.jedit/settings-backup/activity.log~1~"
22:23:32 [main] [notice] jEdit: jEdit version 4.3.2
Error: 'global' path
Submitted by srikrishnan on Wednesday, 7 July, 2010 - 08:19
Hi All,

I have newly upgraded to "JEdit 4.3.2 Server mode, using Java 1.6.0_19". from the starting itself frequently the following error window popup

"cannot run 'global'. Please set the path to 'global' in the plugin options."

I have checked the menue "Plugins -> Plugin Option -> global Plugin" in that following field has been set as follows:

'global' path = global

Eventhough it has been poping up very frequently, how can I avoid this?

Thanks in Advance,
R. Srikrishnan
User login
Browse archives
« May 2010 »
MoTuWeThFrSaSu
 
2
3
4
5
6
7
8
9
11
13
16
18
20
21
22
23
24
26
27
28
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
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   108250
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