Autosave not working?
Submitted by
ewiener on
Monday, 28 July, 2008 - 18:06
It doesn't seem like autosave is working on my jEdit installation. If it is, I can't find any of the files it's creating. Is there any way I an find out if its working?
Modeline in jEdit?
Submitted by
kLy on
Thursday, 24 July, 2008 - 11:24
Is there something like the modeline function of vim in jEdit, or something available through a plugin? It's just a real pain when specific buffer settings aren't saved and you have to set them each time when opening the file
Safely override php.xml
Submitted by
kendowns on
Wednesday, 23 July, 2008 - 13:35
Hello!
I have added a custom rule to /usr/jedit/modes/php.xml so that certain heredoc blocks are delegated to Javascript syntax coloring. I would like to distribute this change to users of my framework, but it does not seem like the Right Thing to directly modify this file.
Is there a defined way to add things to these default syntax coloring files without directly modifying the original file? Can I put a copy of it in my ./jedit/modes file? Is there some other mechanism for doing this?
TIA...
ColdFusion comments / changing jEdit comments
Submitted by
Todd on
Tuesday, 22 July, 2008 - 20:04
I'm working on some ColdFusion files and when I do the standard c+e c+c for a comment, it inserts an HTML comment <!-- comment -->, not a CF comment <!--- comment ---> with three hyphens. Is it possible to change this?
Thanks,
Todd
Using 4.3 pre14
jEdit licence when using textarea
Submitted by
blafountain on
Wednesday, 16 July, 2008 - 23:10
Hello, I stumbled across jedit's capability to be embedded in a swing application using TextArea. This product is a perfect fit for what i need. The only thing is my application is not going to be released as GPL. I was wondering if there was any consideration to make the jedit-textarea.jar under a LGPL style license while jedit as a whole under the GPL.
I would need to make some additions to the TextArea that i would love to contribute back, but with a GPL license i will have to either build my own or find another (probably purchase, i wasn't able to find another product equal to jedit that was LGPL).
thanks for your time.
Show CR LF
Submitted by
yocec on
Wednesday, 16 July, 2008 - 13:21
Is there a way to show end line symbol ? carriage return and/or line feed
When I open a file, I need to know end line caracter : LF only or CRLF
Is ther any way to do that ?
Thanks
PHPParser: removing check for ?>
Hi
In Drupal, it is recommend not to close PHP code with a '?>'. as not to clash with other modules. PHP code works fine with out it.
Is there a way to remove the check for '?>' from the parser?
Opening ans saving file in macro
Submitted by
JeanPierre on
Saturday, 5 July, 2008 - 02:47
I do not know java and my question should be really stupid, but I do not find an answer. I create a macro using "Record macro" and "Stop recording". The macro is:
--------------------------------------------------------------------------------------------------------
// This is a recorded macro. First, check over the
// commands to make sure this is what you intended. Then,
// save this buffer, and the macro should appear in the
// Macros menu.
GUIUtilities.showVFSFileDialog(view,null,VFSBrowser.BROWSER_DIALOG,true);
SearchAndReplace.setSearchString("^(-)(.*KW.*A0.*\\.(jpg|mpg|mov|avi|asf))");
SearchAndReplace.setReplaceString("$2");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(true);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);
SearchAndReplace.setSearchString("^-.*\\n");
SearchAndReplace.setReplaceString("$2");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(true);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);
buffer.saveAs(view,true);
--------------------------------------------------------------------------------------------------------
The macro is working fine, but i would like to start the macro automatically opening (loading in a new buffer) a given file "D:\folderInput\fileinput.txt"
and finish the macro automatically saving the file (saving the buffer in the file) "D:\folderOuput\fileouput.txt"
Any help will be appreciated.
JP
SplashScreen conflict when building jEdit
Submitted by
a992400 on
Sunday, 15 June, 2008 - 19:05
Hello. I'm trying to rebuild jEdit from source, and I'm using the jEdit source code for version 4.2, and Apache Ant version 1.7.0. Ant correctly locates build.xml in the root directory of the jEdit source, and starts the building process. But it fails with two errors, and many warnings. Ignoring the warnings for now, I'm looking at the first error:
[javac] D:\_t\org\gjt\sp\jedit\GUIUtilities.java:1532: reference to SplashScreen is ambiguous, both class org.gjt.sp.jedit.gui.SplashScreen in org.gjt.sp.jedit.gui and class java.awt.SplashScreen in java.awt match
[javac] private static SplashScreen splash;
Apparently Java AWT has a class named SplashScreen (http://java.sun.com/javase/6/docs/api/java/awt/SplashScreen.html), and jEdit is trying to use the same name for its own class. So I'm wondering how jEdit was able to be successfully built for the release? Anyone have any ideas on this?
Switching beween Diff and Unsplit in JDiff
Submitted by
ntbenari on
Friday, 6 June, 2008 - 10:29
Hi
JDiff is cool but I can't see the full width of the buffers in the Dual Diff display. The toolbar has Unsplit and Diff buttons that do what I want, except that Diff returns the display to showing the same buffer in both panes, instead of the two buffers that I am comparing using Dual Diff. Is it just me or is this a bug?!
Moti
FTP Plugin: usernames containing '@' symbol?
Submitted by
painted on
Thursday, 5 June, 2008 - 18:21
Hello,
I love jEdit and especially the FTP plugin, it makes my work much easier.
My question is, I have several FTP accounts with the username having a format like:
paul@whatever.com
But when I enter it in the Open from FTP Site dialog, it parses it into something like:
paul@whatever.com@webhost.com
and it fails. Can anyone suggest a way to make this work?
Thanks
OpenIt Plugin Work-Around: Eliminate Indexing Upon First Run
I used to use the OpenIt plugin all the time. However, at some point, it started to do it's indexing not when jEdit started, but when the OpenIt command was first invoked. This made opening that first file take a few minutes if you had lots to index. So I quit using it.
However, my friend Newton found the solution.
To make it index automatically upon startup -- so that the first time you run it you don't have to wait -- put a BSH file in your jEdit startup directory with the following line in it...
org.etheridge.openit.SourcePathManager.getInstance();
(I named mine "openItStart.bsh")
Link to the Plugin info...
http://plugins.jedit.org/plugins/?OpenIt
This plug-in is at version 1.5 now. And it is currently working on my machine in jEdit v 4.3pre9.
Having trouble creating some macros
Submitted by
AzizLight on
Monday, 2 June, 2008 - 13:11
Hi everybody,
During the last two month all I have done is test programmers' text editor. I'v tested Emacs, Smultron, Eclipse/PDT, Textmate, Notepad++ and of course jEdit. And everytime, I was going back to jEdit, even after using Textmate. However there are some thing in jEdit that are missing and that I have tried to do with macros and wasn't able (because I'm a newbie and I'm not good at creating macros :S) :
1. When I open ... well anything ( "{", "[", "(", "'", """, "<") I want the closing part to appear automatically. That's the easy part and I kind of managed to do it. However, the part I did not managed to do is: if i'm just before a closing one ( "]", ">", etc) and I close it again, then it goes out of it instead of creating a new one.
2. If I have a block that is between curly brackets for exemple, if I double-click just outsite the closing bracket, I want it to select the block that is inside the brackets.
There are more macros that are very important and useful but I can't remeber what they are, I will update this post as soon as I remeber..
In a more general way, what I can't manage to do is create macros that make more than one thing (with conditions for exemple)...
Voila. Can someone give me instructions, advice or even hints on how to achieve that please?
Thanks in advance,
Aziz Light
com.mysql.jdbc.Driver not found
Submitted by
Cheo on
Monday, 2 June, 2008 - 10:40
Hi all
I've got a Netbeans web project working perfectly in my Debian box. I'm using the MVC pattern and would like to give jEdit a go for unit testing my Model.
I'm using a MySQL server, but cannot make my Model work because the com.mysql.jdbc.Driver is not found during run time. It compiles fine.
In my Project Viewer plugin, I right-clicked in my project->Properties->SQL Server Configuration and added my MySQL server.
I'm using the SQL pluggin and have set up the Driver's classpath by doing Plugins->Plugin Options->SQL->JDBS and adding the file mysql-connector-java-5.1.6-bin.jar. I can run queries in the SQL plugin with no problem and see the results in the SQL Result Set.
I have even added the mysql-connector-java-5.1.6-bin.jar file manually into ~/.jedit/jars as well.
So, I don't really know what is the problem. Any help will be appreciated.
Best regards,
Sergio
Locking/Unlocking the Scroll between side by side "Split" Viewing Panes
Submitted by
rahnen on
Friday, 30 May, 2008 - 15:47
I am trying to uses jEdit to View to Split Pane Buffers side by side and would love to be able to lock and unlock the scrolling. I've looked thru the menus but don't see anything that will allow me to do this. Can anyone help me out?
set jEdit as default edito
Hi, I am actually using jEdit on Windows Vista
is there any way how to set it us default editor, so I can just double click on a php file and it opens in jEdit?
at the moment I have to drag the files inside the editor window, or right click on them and select Open with jEdit
How do I remove period (or dot) at every line?
Submitted by
Ethien on
Saturday, 17 May, 2008 - 10:40
How do I remove period (or dot) at every line?
jEdit is a good program that I would like to use in my future projects except for one feature that really bothers me a great deal. That is period or dot shown at every line. I could not find a way to disable that. I have checked every option there is. I am pretty sure I am missing an option somewhere to turn that off.
I would like very much to continue using the jEdit without having to see period/dot at end of line.
Thanks in advance!
~Ethien
Multiple Buffer lists
Submitted by
imgod2u on
Thursday, 15 May, 2008 - 18:39
I find myself working on multiple projects at once and I'd ideally like to be able to separate the buffer list into different projects (in different windows). For instance, one window will have a buffer list containing all of the files I've opened in that window (that belong to project A of course) and the other window will have a separate buffer list that contain files opened in that window that belong to project B.
Is such a thing possible? Is there a plugin for this?
How to open more unsaved buffers?
Submitted by
powery on
Wednesday, 14 May, 2008 - 10:51
How to open more unsaved buffers? When only one unsaved unchanged buffer (Untitled-1) is open (no more open files), then using File/New or Ctrl+n action opens no buffer.
jEdit 4.3pre14
Any ideas?
Dark background
Hi to everyone, I just started using jEdit and I already like it
What is the best way to have a skin like the ones in the screenshots, dark blue background and appropriate colours of syntax highlighting?
Like this one http://www.jedit.org/index.php?page=screenshot&image=21