jEdit Community - Resources for users of the jEdit Text Editor
Archives
SuperAbbrevs missing options
Submitted by sgtrock123 on Saturday, 11 August, 2007 - 00:09

Hi all,

I've installed and used SuperAbbrevs in the past, and recently re-installed it on a new machine after upgrading jEdit to 4.3pre9. I noticed that the option to "Expand Abbreviation" is now gone, and instead the only option available is to bring up a dialog box to type in the shortcut. Why was this removed? It seems cumbersome to me to force a mode switch, breaking the flow as I'm typing. It's simply not as fluid as the type-then-expand strategy.

This happens in the two latest versions available on SourceForge, so I reverted all the way back to 0.01 and it has the "Expand Abbreviation" option. However, it will not run under 4.3, presumably the jEdit API has changed (I'm not a jEdit expert), as attempting to tab from the inside of the snippet to the end throws the following error:

java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
	at superabbrevs.SuperAbbrevs.nextAbbrev(SuperAbbrevs.java:155)
	at SuperAbbrevsPlugin.nextAbbrev(SuperAbbrevsPlugin.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at bsh.Reflect.invokeMethod(Reflect.java:134)
	at bsh.Reflect.invokeStaticMethod(Reflect.java:98)
	at bsh.Name.invokeMethod(Name.java:874)
        ... (40 more lines snipped)

(I'm using Java 1.5.0_06 on XP SP2, in case this is a bug I'm not aware of)

Any plans to bring this feature back, or is it gone for good?

Thanks...

Problems with C+c and C+v
Submitted by mamboze on Saturday, 11 August, 2007 - 09:52
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.

The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.

Any suggestions on how this might be resolved would be much appreciated
Problems with C+c and C+v
Submitted by mamboze on Saturday, 11 August, 2007 - 09:58
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.

The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.

Any suggestions on how this might be resolved would be much appreciated
Problems with C+c and C+v
Submitted by mamboze on Saturday, 11 August, 2007 - 10:08
Hi,
I recently migrated from win xp to ubuntu. I installed jEdit for work with ruby on rails and things are fine except for one little problem - isn't there always one.

The C+c sequence doesn't copy, it cuts and leaves a 'c' in the text, similarly with C+x, an 'x' is left. C+v copies and then appends a 'v'. The DELETE/INSERT alternatives work OK. This is no big deal but the C+c etc keystrokes work elsewhere in ubuntu so why not in jEdit.

Any suggestions on how this might be resolved would be much appreciated
AviSynth Edit-Mode (avs.xml v2.1 by Thorsten Willert)
Submitted by Thorsten Willert on Saturday, 11 August, 2007 - 18:43
Edit-Mode for AviSynth:
  • Auto-indent
  • Highlighting for all functions, types, keywords ...
  • Highlighting for all filters from http://avisynth.org/mediawiki/External_plugins

Changes in V2.1:
Updated plugin list (the same like on http://avisynth.org/)
Autocomplete not working
Submitted by sgtrock123 on Sunday, 12 August, 2007 - 19:03
Is there a known problem with 4.3pre9 not autocompleting HTML/XML tags? I upgraded to 4.3pre9 quite a while back, and though I can't confirm that it was the upgrade that removed the autocomplete it does seem like it has been "quite a long time" since I had autocomplete working in jEdit. Is there a configuration change that I can make?

To be clear, I'm not talking about the autocompletion of words in the buffer as provided by the TextAutocomplete plugin. I'm looking for the ability to type in <foo> and getting <foo>(cursor here)</foo> instead, with indention for block-level elements.

jEdit "used to" have this feature, and I haven't seen it in a long time. Any help greatly appreciated.

Thanks,
-dave
Enhance JEdit speed
Submitted by mabra on Tuesday, 14 August, 2007 - 17:34
Hi All !

Since a longer time, I am a big fan of JEdit. This is the one side. On the other hand, I must prevent me regularly from writing "JEdit is the world slowest editor" [So I don't put this into the subject Eye-wink ].
The usual problem - on windows so far - is that the process is outswapped and re-loading all parts needs a long time. I do not know why. This is true on all of my machines and between the slowest [450MHz] and the fastest [2.4GHz] is not much difference while working. The problem mostly appears, if JEdit is re-called from the taskbar [re-aktivated, made the top-level window now].

The Eclipse community has the same problem, see:

description [http://www.javaperformancetuning.com/news/roundup045.shtml] and
solution [http://suif.stanford.edu/pub/keepresident]

I found this solution today, while I was looking for something like that - due to the last big hung of JEdit. I'll just recommend to implement this solution for JEdit too.

Any comments are welcome!

Best regards,
mabra
Add directory reference for virtual directories/nodes in projectviewer
Submitted by mabra on Tuesday, 14 August, 2007 - 17:44
Hi All!

I use the projectviewer to organize much of my work. You can import new files to explicitely named nodes in the viewers tree. This is a very good option.

Sometimes, thes files imported into such a node are located elsewhere, but not within your project. If you later want to add more files to this node, you must locate the files deep in your tree.
It would be a good option to associate a physical directory to the node to prevent browsing again.

Just an idea.

Best regards,
mabra
How to make 'Tasklist' work with plain textfiles?
Submitted by mabra on Tuesday, 14 August, 2007 - 18:06
Hi All !

I am using the tasklist plugin to make notes inside my code. I wish to use this type of annotations for [plain] textfiles also. This looks easy, just go to the plugin options and select the edit mode.

But is does not work.

Any ideas? Each tip is really very welcome!

Best regards,
mabra
Why jEdit Rocks
Submitted by JonathanAquino on Thursday, 16 August, 2007 - 04:31
I've just written a rave review about our favorite editor, complete with numerous screenshots about the parts of it that I find most impressive:

http://jonaquino.blogspot.com/2007/08/why-jedit-text-editor-rocks.html
no answer first time(s) - why don't C+c and C+v work in ubuntu as they should
Submitted by mamboze on Monday, 20 August, 2007 - 05:37
Well, the title says most of it. I have used jEdit on win xp before, great editor, now on ubuntu, still a great editor but with one irritating hassle, C+c does a cut instead of a copy and leaves 'c' behind, C+v pastes and adds a 'v'. OK, I can use C+insert and S+insert,these work OK but these are listed only as alternative shortcuts in Options/Shortcuts.

Sure, jEdit rocks but it could rock a bit better for me if these shortcuts worked as designed and specified in the relevant Options section.

I'm not sure whether this is a bug (unlikely) or that I've overlooked some switch or other. Has anybody else experienced this problem?
no answer first time(s) - why don't C+c and C+v work in ubuntu as they should
Submitted by mamboze on Monday, 20 August, 2007 - 05:39
Well, the title says most of it. I have used jEdit on win xp before, great editor, now on ubuntu, still a great editor but with one irritating hassle, C+c does a cut instead of a copy and leaves 'c' behind, C+v pastes and adds a 'v'. OK, I can use C+insert and S+insert,these work OK but these are listed only as alternative shortcuts in Options/Shortcuts.

Sure, jEdit rocks but it could rock a bit better for me if these shortcuts worked as designed and specified in the relevant Options section.

I'm not sure whether this is a bug (unlikely) or that I've overlooked some switch or other. Has anybody else experienced this problem?
site feedback
Submitted by tonyhnz on Monday, 20 August, 2007 - 17:29
Firstly - the product itself is great, have worked with it using ruby and erlang now and found great plugins/tips that help productivity.
The site is another matter.., i apologize if these have been covered elsewhere.
The stylesheet is very bland and could do with revamp. I have messed with drupal in the past and know that it can look much better then this without too much effort. Maybe some sort of competition to choose a new theme ?
It is very difficult to search the forums to try to see if a particular question has already been asked. I am not sure what search method is used (maybe drupal built in) but i have found better results using google search. Maybe google search could be integrated into site.
Lastly the wiki seems to be completely hosed up apart from the home page ( i am using firefox ). I get all sorts of garbage displayed and cannot see any wiki content. I would suggest mediawiki be used instead and to have integrated logins from the drupal site.
I would like to see the website reflect the strength of the product as it may turn off some potential users in it's current state.
I am willing to help with this.
Associating Files With jEdit
Submitted by doggroomer on Monday, 20 August, 2007 - 18:07
I really like using jEdit. It is a wonderful piece of software.
But with version 4.2 there is no way to associate file types with jEdit.
I was looking for a way to associate file types with jEdit in Windows.
Windows will not let you associate an executeable ".jar" file with a file type.
I like the function in windows of just double clicking on the file name and
having the file load in a particular application. When a file is double clicked
in Windows the file name is passed to the program associated with that file.
From some simple testing I knew that jEdit would accept a command line argument
with the file name in it. So all you have to do is create a simple executeable
file that will pass its command line arguments to jEdit and load jEdit. I did
this using Visual Studio 2005.


Create a new windows application and name it "jEdit".

Make the Icon for the executeable
In the Solution Explorer right click on the jEdit project and select
"Properties".
In the main screen on the left hand tab section choose the "Application"
tab.
Under icon browse to the jEdit icon saved wherever jEdit was installed on
your computer.

Add this code in the form load event

Try
Dim jFile As String = ""
If My.Application.CommandLineArgs.Count = 0 Then
'There are no command line arguments
'So there is no File Name supplied
'Will just load Jedit when .exe is double clicked
jFile = Nothing
Else
'A file associated with this appliction is doubled clicked
'The file name is passed in the first command line argument
'Enclose filename in quotation marks in case of spaes in file name
jFile = Chr(34) & My.Application.CommandLineArgs.Item(0) & Chr(34)
End If
Dim applicationName As String = "C:\Program Files\jEdit\jedit.jar"
Dim jProcess As New System.Diagnostics.Process
jProcess.StartInfo.FileName = applicationName
jProcess.StartInfo.Arguments = jFile
jProcess.Start()
jProcess.Close()
Catch ex As Exception
MessageBox.Show(ex.Message, "jEdit Load Error")
End Try
Me.Visible = False
Me.Close()

The "C:\Program Files\jEdit\jedit.jar" is installation location for the jEdit
executeable. So change this as necessary.

Build the project

Navigate to the Visual Studio 2005 project folder for the jEdit project you
created and locate the executeable created after the build.

Save the ".exe" in the jEdit installation directory.

You now have a "jEdit.exe" that you can associate file types too.
Vertical lines marking block locations
Submitted by etiger13 on Monday, 20 August, 2007 - 20:42
Does anyone know how I can get the vertical lines showing where the tabs line up like here: http://www.rutherfurd.net/jEdit/jedit_ss3.jpg
the vertical lines I want start with the current tab and go all the way down to the next tab. not the lines in the gutter, but the lines in the actualy document itself
Can't run ant buildfiles that use cpptasks from ant-contrib
Submitted by ilkka on Tuesday, 21 August, 2007 - 10:22
Hi, I'm having trouble using cpptasks in my Ant buildfiles in jEdit. The builds run fine when I run Ant from the command line or using standalone Antelope. When I try to use the AntFarm or Antelope plugins however, with either the Ant plugin or the standalone Ant, I get this error message (output is from Antelope but it's the same either way):
===== BUILD STARTED =====
BUILD FAILED
C:\workspaces\ ... \build.xml:7: Problem: failed to create task or type antlib:net.sf.antcontrib.cpptasks:compiler
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.

This appears to be an antlib declaration. 
Action: Check that the implementing library exists in one of:
        -C:\apache-ant-1.7.0\lib
        -C:\Documents and Settings\USERNAME\.ant\lib
        -a directory added on the command line with the -lib argument Total time: 0 seconds ===== BUILD FINISHED ===== Tue Aug 21 11:58:51 EEST 2007
The required ant-contrib and cpptasks jars are in both the systemwide ant lib directory and in .ant\lib under my home directory. The tasks are imported into the buildfile using the antlib functionality, like this:
<?xml version="1.0"?>
<project name="blah"
	default="compile"
	xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks"
	xmlns:antcontrib="antlib:net.sf.antcontrib">
	
	<target name="compile">
		<cpptasks:cc ... >
		</cpptasks:cc>
	</target>
</project>
Any help greatly appreciated.
C+c, C+v and file browser changes
Submitted by mamboze on Wednesday, 22 August, 2007 - 15:14
Since changing from win xp to ubuntu, I have found in jEdit, C+c does not copy, it cuts and appends a 'c'; C+v pastes but appends a 'v' (C+insert and S+insert work OK, but I prefer C+c and C+v). Also in the file system browser in jEdit under ubuntu, left mouse clicks do not open files or display folder trees, the right mouse button has to be used.

I'm not sure if this ia a bug or maybe a reinstall is in order. I posted twice to the using jEdit forum, but got no reply. I would like to fix these two problems as they reduce the pleasure of using what is be one of the best editors around
jEdit clobbering file's group
Submitted by easley on Thursday, 23 August, 2007 - 08:12
On my Linux box, I changed the group and permissions of a file so certain other users can also edit it. My 'main group' is "david", so by default any files I create have this as the group. The common group between me and the other users who need to edit this file is called "users". I used chgrp to change the group of the file to "users". "ls -l" confirms the group is now "users". When I open the file in jEdit, update and save, the group gets changed back to "david". When I change the group to "users" again try editing the file with a native editor (e.g. gedit) the group is not clobbered on save.

I'm using version 4.3pre10, installed using the Java installer.

Anyone know how to work around this? Should I report it as a bug?

David
Javascript Editing Performance
Submitted by seani on Friday, 24 August, 2007 - 14:19
Hi,

I'm changing some largish JS source code files (5000 ~ 10,000 lines), and I've noticed that there's quite pause when I type a function name followed by a "(" character in these files.

I'd guess this is something to do with some sort of code-completion/parsing. Any insights, and how would I turn off whatever behaviour might be causing the delay?

Thanks

Sean
jEdit startup behavior on WinXP
Submitted by NMPE on Friday, 24 August, 2007 - 15:54
When I installed jEdit I chose to have it start automatically when Windows started. Now I don't want that behavior anymore. (I don't mind waiting for it to load completely on the odd occasion that I use it now.) Is there any way I can change this setting without removing it and reinstalling? [jEdit4.3pre9 using Java 1.6.0_01]
User login
Browse archives
« August 2007 »
MoTuWeThFrSaSu
 
2
4
5
8
10
13
15
17
18
19
23
27
 
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