jEdit Community - Resources for users of the jEdit Text Editor
Archives
Buffer options - syntax highligting not preserved on reload
Submitted by Cheruvim on Thursday, 15 March, 2012 - 15:14
Hey all,

I'm not sure if this is a bug or not, so I will open up a discussion here to point it out.

It seems that if you change the buffer option, specifically, syntax highlighting and then an external program (like say svn or git) changes the physical file on the file system, jedit will ask you if you want to reload the file. When you do, the highlighting reverts back to whatever the global settings are. Shouldn't it preserve what the buffer settings are if they are meant to override the global?

To reproduce this.

1) open a file type that uses a specific syntax highlighting (like C++ or PHP)
2) change the buffer options to use a different highlighting (Java or Perl)
3) change the file outside of Jedit
4) Bring Jedit back into focus and either agree to have it reload the file (I have it set to prompt) or watch it reload (if you set it up to do so automatically [haven't tried this]) and you should see the highlighting revert back to the global options.


Thoughts?
No graphic display (window) when starting jedit - java process hangs
Submitted by rdehmel on Thursday, 15 March, 2012 - 15:57
Hi,
I have just installed jre 1.6 on my very very old Linux box. Suse LinuxEnterprise 1.0 (SLES Cool

de/jedit> java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
de/jedit> uname -a
Linux atgws-rdl 2.4.19-64GB-SMP #1 SMP Mon Oct 21 18:48:05 UTC 2002 i686 unknown
de/jedit>

When I try to install jedet the graphic window does not popup. One of the java processes uses 100% CPU time.

Trying text mode -> Installation of jedet is OK!

Trying to start jedit same as above: No window and one of the java processes uses 100% CPU time.

All other graphic stuff is fine on the linux box.

Any idea?

PS: I love jedit, because I use it already on windows.

Ruediger
recover the path file
Submitted by maximeD on Sunday, 18 March, 2012 - 22:42
Good evening all,

I test currently to developpe a small plugin, and I'm stuck on one small point:

I would like to recover the current file path , how could I achieve that?

thank for your help
Voxspell for other language ?
Submitted by jojaba67 on Thursday, 22 March, 2012 - 19:34
Hello,

I installed Voxspell (a very old plugin but still working). Unfortunately, only english language is checked. I looked for infos on the Web but didn't find anything about that. I just saw that the dictionnary that is used is called en.spl.
My question : can I replace the en dictionnary by a french one without changing anything of the rest of the plugin (I'm not a java coder) ?
If yes, where can I find this fr dictionnary ?

Thanks in advance.
Zend framework tool command wrapper (zfToolWrapper.zip v0.1 by Tom Power)
Submitted by tp21 on Sunday, 25 March, 2012 - 10:20
Macros to wrap the zftool commands if you don't feel like typing them
jEdit 4.5.1 is out!
Submitted by Vampire on Tuesday, 27 March, 2012 - 15:51
Hi all,

I proudly present jEdit 4.5.1, the latest stable release of the 4.5 series of jEdit.

Detailed changes can as always be found in the Change Log at http://jedit.org/CHANGES45.txt
This release is a bugfix release.


Volunteers are always welcome to contribute to the future of jEdit:
http://www.jedit.org/index.php?page=devel


That being said, here is the download link:
http://www.jedit.org/index.php?page=download


FYI, merge requests for the 4.5 series (fix done, but waiting for a review) can be found at:
http://sourceforge.net/tracker/?group_id=588&atid=1235750&status=1&artgroup=2274635

Have fun with the new release.
newbie problem-Help! fonts don't work
Submitted by cristyla on Thursday, 29 March, 2012 - 13:46
Hello, I am new in using Jedit, and for some reason my Jedit doesn't like any foreign fonts-more specifically french accents, and greek. They are not displayed as they should be. Can anyone guide me on how to fix this? thanks!
Right Gutter/Column That Shows Selection Locations - Looking for it
Submitted by hurricanedavid on Thursday, 29 March, 2012 - 17:09
How do you activate the thin column that is on the right of the editing space, next to the scroll bar, that will indicate all other occurrences of the selected word? I find that invaluable.

I stumbled upon it by accident before, but my settings folder got erased and I have to start over. I don't know what it's called, or if it is a plug-in or what.
additing multiple background colours
Submitted by milindvel on Monday, 2 April, 2012 - 12:20
I am using Jedit & found it very helpful in writing c progs.
I request to add one facility.
At present Background colour of the "c" file is user changable but it is same for entire file.
I wish to have different colours (user settable) so as to identify different functions, calls,subroutines.
This is necessory especially for long length c files.

I hope it will be useful to many other programmers/developers.

-Milind Velankar
syslog-ng
Submitted by Skeeve on Saturday, 14 April, 2012 - 11:36
Hi!

I'm using jEdit for ages now die about almost everything.

Recently I got the task to configure syslog-ng but I could not find anything for jEdit which would help me. Does anybody here know of any stuff which could be usefull? Edit modes? Macros?

Many thanks in advance.
jEdit hangs on Win7 32bit
Submitted by Dominicus on Tuesday, 17 April, 2012 - 05:37
I updated jEdit from 4.4.2 to 4.5.1 on Win 7 32-bit PC, and now my environment is toast.
Upon opening, gave me an I/O error related to "Sidekick". I uninstalled 4.5, and installed 4.4.2 back.
No luck.
I can open a file with code and move the cursor around, but as soon as I update anything (i.e. add or delete a single character), jEdit hangs.
I have to kill the process from Task Manager.
Tried uninstalling either of the two version and now both installations behave exactly same...hung after first interaction.
After uninstalling a version, I reboot to install another, and the install wizard tells me it needs to close an existing version of jEdit that's running...how can this be, after I've uninstalled and rebooted?
I suspect there's a component or accessory to jEdit that both corrupted and persists even after uninstall.
any clue how I can fix my environment to successfully reinstall and start from scratch?
Default jEdit keyboard shortcuts conflict with OS X?
Submitted by patricksurry on Wednesday, 18 April, 2012 - 16:28
Sorry, this feels like a stupid question, but can't find an obvious answer anywhere.

I've recently moved from Windows to Mac and brought jEdit with me, and been confused about why the 'go to recent buffer' key wasn't working (command-`). Eventually discovered it was because OS X already uses that binding for 'show-next-application-window'.

Is there any standard set of OS X keybindings for jEdit that avoid these kinds of conflicts, or do I need to roll my own? Seems like something lots of OS X users would run into?

Thanks.
Disabling FTP/SFTP welcome message dialog
Submitted by rubio.terra on Thursday, 19 April, 2012 - 13:03
Is there a way to disable the FTP/SFTP welcome message dialog that pops out when connecting to a VFS using the FTP plugin? The problem is that every time a remote buffer is saved (Ctrl+S), the same nagging welcome message from the server appears.
JEdit Autodesk Maya Integration
Submitted by filmico on Friday, 20 April, 2012 - 14:33
Hello Guys,

My Name is Gerardo Sebastian Verrone; I am a TD specialized in rigging.

I have recorder and uploaded to youtube 10 videos Tutorials covering how you can install and configure JEdit to integrate it as an external code editor to work with Autodesk Maya.

This tutorials are up to date to be usefull for Maya 2011/2012/2013 or until Adesk change things drastically.

Trust me, you are not going to find videos out there explaining all this steps.

The tutorials are located here: http://www.youtube.com/playlist?list=PL592CA6ACA94D8101

I'd like to thanks to the developer and maintainers of JEdit as it is a great application with many posibilities to expand it.

Cheers.

Gerardo Verrone
Issue running jEdit on Mac OS X 10.5.8 (Using OpenJDK7 bsd-port compiled against platform)
Submitted by jlove on Sunday, 22 April, 2012 - 09:11
Hi,

I love jEdit and use it all the time on my standard Linux desktop however I've recently purchased a PowerMac G4 and have managed to compile OpenJDK7 against the platform. Great... now I can upgrade to the latest version of jEdit!! I downloaded the source and compiled against my platform but due to complications I have to explicitly set Djava.awt.false=false as an option when running jEdit.

Everything loads correctly and I can browse through the menu items, install plugins etc however the one thing which doesn't work is keyboard input into buffers. When I try to type into a buffer no text appears and instead the output is directed to the console.

Could somebody please help me understand what is happening and perhaps suggest any way of avoiding this issue? I'm not afraid to get my hands dirty in the code if it comes to that but I'd appreciate a starting point!

Kind Regards,

JLove
Search in directory encoding exception
Submitted by yohann.martineau on Thursday, 26 April, 2012 - 16:00
I try to use jedit to make recursive text search in all files in a directory.

When I perform a search, jedit complains about cp1252 encoding not applicable on pdf files. Yes, I'm on windows xp...

The file could not be loaded correctly (some data might be lost) with
the encoding "Cp1252".
(java.nio.charset.UnmappableCharacterException: Input length = 1)
Try selecting a different encoding.
It can be selected with the menu File->Reload with Encoding.
If you want it to be done automatically, add the candidates into
"List of fallback encodings" in Encodings pane of Global Options.


I don't understand why jedit tries to search in pdf files as pdf files are binary files. Does it try to extract text from pdf files and then apply an encoding to find text?

It seems that jedit can skip binary files, it seems to be an interesting feature, but I don't know how jedit considers files as binary. If I uncheck "skip binary files", the same exception pops out but for bin files, obj files, etc. I've been looking at the documentation, but cannot find anything about binary files association. I think this behavior is expected, but not very user friendly.

Is it possible to use jedit to search in all binary files as well?

Does it just try to decode the file using its default encoding (cp1252, I'm on windows xp) and considers the file as binary if it fails? (I guess it's not that simple)


thanks,

yohann
How to submit an edit mode
Submitted by Skeeve on Sunday, 29 April, 2012 - 16:26
Hi!

I just finished my LQL edit mode (for mk-livestatus). How can I submit it?
jEdit, Mac, Java 1.7+
Submitted by alopecoid on Monday, 30 April, 2012 - 15:10
Hi,

Java 1.7 has been officially released by Oracle for OS X 64-Bit:
http://download.oracle.com/otn-pub/java/jdk/7u4-b21/jdk-7u4-macosx-x64.dmg

I have been attempting to get jEdit (4.5.1) running with this JVM without any success. When I modify JVMVersion from 1.6+ to 1.7+ in /Applications/jEdit.app/Contents/Info.plist, I get an error "No compatible version of Java 1.7+ is available.". I have also tried setting this to the exact version number.


You will see here that I have Java 1.7 installed correctly:

/usr/libexec/java_home --verbose

Matching Java Virtual Machines (5):
1.7.0_04, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
1.6.0_31-b04-413, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Home
1.6.0_31-b04-413, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_31-b04-413.jdk/Contents/Home
1.6.0_31-b04-413, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_31-b04-413, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home


And:

echo ${JAVA_HOME}

/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home


Also, Java 1.7 is even set as the default:

java -version

java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)


I have been running jEdit on Linux (Ubuntu) and Java 1.7 for quite some time without any major issues.


Any ideas?

Thank you.
add a line to every line in a file?
Submitted by jbrave on Tuesday, 8 May, 2012 - 03:14
I want to take a text file which is a program source, and insert a print statement after each line, for example if line 1 is:

x=5

then insert
print "line 1: x=5"

so that when a program crashes hard (as in, the system reboots before I can see what happened) at least I can see the last line that executed.

Is there some kind of macro or plugin that I can use to do things like that?

Thanks.

- Joel
Error_Message_When_Large_File_Handeling
Submitted by sanjeevpc on Tuesday, 8 May, 2012 - 14:19
When large input data are entered in a new file, the heap gets out space and displays an beanshellerror message which is not user friendly message. Also in the the beanshellerror message the text is typable.

Expected Results:
Appropriate user friendly error message should be appeared and in the error message text should not be typable.

Test Enviroment: OS: Windows 7, 64-bit
User login
Browse archives
« March 2012 »
MoTuWeThFrSaSu
  1
4
6
8
10
11
12
16
17
19
20
21
23
24
26
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
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   47363
Context Free Art (*.cfdg)   0.31   37316
JBuilder scheme   .001   11738
R Edit Mode - extensive version   0.1   11479
BBEdit scheme   1.0   11303
ColdFusion scheme   1.0   11292
Advanced HTML edit mode   1.0   10931
Matlab Edit Mode   1.0   10796
jEdit XP icons   1.0   10257
XP icons for jEdit   1.1   10029