jEdit Community - Resources for users of the jEdit Text Editor
Archives
JPyDebug doesn't work
Submitted by misterdanny on Tuesday, 26 June, 2007 - 01:35
I installed this in hope of being able to work with python in jedit (i need something to check for errors) on the "error list" window it only shows

"1: Python Source Insepctor launch error = IOException when building process : CreateProcess: ....." then theres a long string of different file locations then at the very end it says error=2

I think something is setup wrong but I went through every menu to see what setting might be wrong to cause this and I couldn't find anything. This shows up even if the file is empty or if all it says is print 'hi' or something.

Any ideas? or alternatives to python error checking in jedit?
JPyDebug doesn't work
Submitted by misterdanny on Tuesday, 26 June, 2007 - 01:36
I installed this in hope of being able to work with python in jedit (i need something to check for errors) on the "error list" window it only shows

"1: Python Source Insepctor launch error = IOException when building process : CreateProcess: ....." then theres a long string of different file locations then at the very end it says error=2

I think something is setup wrong but I went through every menu to see what setting might be wrong to cause this and I couldn't find anything. This shows up even if the file is empty or if all it says is print 'hi' or something.

Any ideas? or alternatives to python error checking in jedit?
Modify curly brace ({}) behavior.
Submitted by the_0ne on Tuesday, 26 June, 2007 - 12:58
I'm trying to find the way to modify the curly brace behavior so it doesn't constantly tab my hash/array/function blocks. I've found all kinds of key behavior in the Utilities -> Global Options -> Shortcuts section, but don't see where the curly brace behavior is coming from. It's really annoying. Something like this is almost impossible to type into jedit.

part_type_info = { 'to' => { 'optlist' => "fontname=optima fontsize=12 encoding=unicode " +
"fillcolor={gray 0} alignment=justify leading=120%",
'caption_part' => false } }

Everytime I type an open set of curly braces, it lines up where it thinks it should and I have to then space it myself. I just want the curly braces to not do anything, I can format the code myself.

Thanks in advance...
OMBPlus Edit Mode (ombplus.xml v0.1 by Uwe Pliha)
Submitted by uhuebner on Tuesday, 26 June, 2007 - 13:11
Syntax Highlighting for OMBPLUS (Oracle Warehouse Builder Scripting Language) Mainly took the TCL mode from Michael Jacobson and added OMBPlus-keywords
Editing fortran source code
Submitted by GKalman on Tuesday, 26 June, 2007 - 14:00
Apparently Java is the deafult case. I have no problem when working with a "foo.java" file to insert a "line comment". Then "//" appears correctly in front of the selected line.
However, when I try to do same for a "foo.f90" file, jEdit ignores the command (instead of inserting "!").

My setup for the editing dialog: (with WindowsXP)
Utilities/Global Options/jEdit/Editing/Change Settings for mode: fortran
File name glob: *.f90
Default edit mode: fortran
Then push buttons: Apply & OK

Then from the "Edit" drop-down menu:
Edit/Source/Line Comment

Result on the highlighted line: command IGNORED
Although, as I said, with a Java file I had no problem doing the same.

Why?

First-time user.
getting an I/O error message
Submitted by mamboze on Wednesday, 4 July, 2007 - 11:55
I downloaded a ubuntu iso yesterday and somehow, I'm not sure how, when I start jEdit I now get an I/O error message -

The following I/O operations could not be completed
E:\downloads\ubuntu-7.04-desktop-i386.iso
There is insufficient Java heap memory to complete this request.Try increasing the maximum heap size.

Not surprising, since the iso file is about 700Mb.

But my problem is that I don't know what needs to be done to get rid of the message.

Thanks in advance
Eclipse CDT scheme (MyEclipse.jedit-scheme v0.1 by Shlomy Reinstien)
Submitted by shlomy on Thursday, 5 July, 2007 - 09:51
This editor scheme is more or less like the one used by the Eclipse CDT.
Where are Favorites stored?
Submitted by Todd on Thursday, 5 July, 2007 - 21:26
I'm moving my settings to a new computer and would like to manually edit my Favorites so they work on the new machine. I found the XML files for the Project Viewer plug-in, but can't figure out where Favorites are saved. One post I found said they were in the settings folder in a file called "properties", but I have no such file (using 4.3pre9). Can someone point me in the right direction? Thanks.

Todd Prouty
Restricting regex search matches to single line
Submitted by trenthill on Monday, 9 July, 2007 - 01:37
Hi all,

according to jEdit's help, under "Searching For Text":
"Selecting the Regular expressions check box allows a regular expression to be used in the search string. Regular expressions can match inexact sequences of text that optionally span more than one line."

However, I can't seem to find an option to prevent multi-line matches. Is there something I'm missing? I suppose I could explicitly change the search string to prevent newlines from being matched, but that seems like a rather painful approach for what I find to be a common need.

jEdit version is 4.3pre9.

Thanks, Trent.
Autosave directory
Submitted by greghk on Monday, 9 July, 2007 - 21:13
Would like to put files on external storage such as USB flash (and even diskettes). Then jEdit them directly on the external storage. For speed and to reduce the write cycles on the external storage I would like to put the directory for the autosave file on a hard drive.

The deluxe implementation might be to specify a default global autosave directory, then an optional buffer autosave directory in case of name conflicts. Minimum and safest implementation would probably be to put the autosave directory in the buffer options.

There seems to be a lull in jEdit development so I would be willing to spend some time on a macro or plugin. A quick peak in the jEdit API Reference shows org.gjt.sp.jedit.bufferio.BufferAutosaveRequest which takes a path parameter. So a hack might be to turn off autosave, then implement an autosave plugin with some simple minded path redirection. Recovery would then be manual. Any design suggestions appreciated.
SuperAbbrevs import file format
Submitted by tnini on Tuesday, 10 July, 2007 - 15:28
I am trying to import in abbreviations using the "Import from file" feature of SuperAbbrevs but I can't get it to work. Can anyone give some direction for this and how the import file should be laid out/formatted?

jEdit version 4.3pre9.
SuperAbbrevs version 0.25

Thanks,
Troy
custom syntax coloring
Submitted by mituller on Tuesday, 10 July, 2007 - 21:24
Although JEdit takes care of most of the coloring of syntax that I need, I would like to change a few things, such as
Anti-alias all text in the editor on Mac OS X
Submitted by simonvwade on Thursday, 12 July, 2007 - 00:17
Add the following two lines to the Properties dict tag in jEdit.app/Contents/Info.plist:

<key>swing.aatext</key>
<string>true</string>

For example:

<key>Properties</key>
<dict>
<key>apple.awt.textantialiasing</key>
<string>true</string>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.antialiasing</key>
<string>true</string>
<key>swing.aatext</key>
<string>true</string>
</dict>
server init very slow at 189385ms
Submitted by timstearns2 on Thursday, 12 July, 2007 - 03:26
The problem started with Xubuntu 7.04. If I start JEdit with the -nosettings switch then JEdit starts right up. I've also removed and added plugins with no effect. These lines are problematic: [notice] jEdit: An error occurred while connecting to the jEdit server instance. [notice] jEdit: This probably means that jEdit crashed and/or exited abnormally I've never noticed any messages indicating that JEdit closes incorrectly? Searches through the forums and bug tracker have left me clueless. Anyone have any idea, what I've overlooked? Thanks Tim Activity Log: [message] Log: When reporting bugs, please include the following information: [message] Log: java.version=1.6.0 [message] Log: java.vm.version=1.6.0-b105 [message] Log: java.runtime.version=1.6.0-b105 [message] Log: java.vendor=Sun Microsystems Inc. [message] Log: java.compiler=null [message] Log: os.name=Linux [message] Log: os.version=2.6.20-16-generic [message] Log: os.arch=i386 [message] Log: user.home=/home/tim [message] Log: java.home=/usr/lib/jvm/java-6-sun-1.6.0.00/jre [message] Log: java.class.path=/usr/local/share/jedit/4.3pre9/jedit.jar [notice] jEdit: An error occurred while connecting to the jEdit server instance. [notice] jEdit: This probably means that jEdit crashed and/or exited abnormally [notice] jEdit: the last time it was run. [notice] jEdit: If you don't know what this means, don't worry. [notice] jEdit: java.lang.NullPointerException [notice] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:243) [notice] jEdit: jEdit version 4.3pre9 [message] jEdit: Settings directory is /home/tim/.jedit [message] jEdit: jEdit home directory is /usr/local/share/jedit/4.3pre9 [debug] SplashScreen: init:26ms [debug] SplashScreen: init system properties:19ms [debug] SplashScreen: init GUI:28ms [debug] SplashScreen: init beanshell:152ms [debug] SplashScreen: loading site properties:16ms [debug] SplashScreen: loading user properties:20ms [notice] EditServer: java.net.BindException: Cannot assign requested address [notice] EditServer: at java.net.PlainSocketImpl.socketBind(Native Method) [notice] EditServer: at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) [notice] EditServer: at java.net.ServerSocket.bind(ServerSocket.java:319) [notice] EditServer: at java.net.ServerSocket.(ServerSocket.java:185) [notice] EditServer: at org.gjt.sp.jedit.EditServer.(EditServer.java:83) [notice] EditServer: at org.gjt.sp.jedit.jEdit.main(jEdit.java:389) [debug] SplashScreen: init server:189385ms [debug] SplashScreen: init look and feel:13ms [debug] SplashScreen: init VFS Manager:7ms [debug] ActionSet: Loading actions from jar:file:/usr/local/share/jedit/4.3pre9/jedit.jar!/org/gjt/sp/jedit/actions.xml [debug] DockableWindowManager: Loading dockables from jar:file:/usr/local/share/jedit/4.3pre9/jedit.jar!/org/gjt/sp/jedit/dockables.xml [debug] EditBus: SearchSettingsChanged[source=null] [debug] SplashScreen: init resources:345ms [notice] jEdit: Loading plugins from /usr/local/share/jedit/4.3pre9/jars [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=/usr/local/share/jedit/4.3pre9/jars/LatestVersion.jar,class=LatestVersionPlugin] [debug] EditBus: PluginUpdate[what=LOADED,exit=false,source=/usr/local/share/jedit/4.3pre9/jars/QuickNotepad.jar,class=QuickNotepadPlugin] [notice] jEdit: Loading plugins from /home/tim/.jedit/jars [debug] SplashScreen: init plugins:122ms [message] HistoryModel: Loading history [debug] SplashScreen: init history model:21ms [message] BufferHistory: Loading recent.xml [debug] SplashScreen: init buffer history:9ms [message] KillRing: Loading killring.xml [debug] SplashScreen: init killring:21ms [debug] jEdit: SOCKS proxy disabled [debug] jEdit: HTTP proxy disabled [debug] EditBus: PropertiesChanged[source=null] [debug] SplashScreen: init various properties:24ms [message] jEdit: Loading mode catalog file /usr/local/share/jedit/4.3pre9/modes/catalog [message] jEdit: Loading mode catalog file /home/tim/.jedit/modes/catalog [debug] SplashScreen: init modes:86ms [debug] SplashScreen: activate plugins:2ms [debug] Macros: Registered beanshell macro handler [debug] EditBus: DynamicMenuChanged[menu=macros,source=null] [message] BeanShell: Running script /usr/local/share/jedit/4.3pre9/startup/getGraphicsEnvironment.bsh [message] BeanShell: Running script /usr/local/share/jedit/4.3pre9/startup/startup.bsh [debug] String: BeanShell interpreter version 2.0b4-jedit [debug] SplashScreen: init macros:248ms [debug] SplashScreen: run startup scripts:1ms [debug] SplashScreen: run startup scripts:2ms [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=null,source=Untitled-1 (/home/tim/)] [debug] EditBus: BufferUpdate[what=CREATED,view=null,source=Untitled-1 (/home/tim/)] [message] PerspectiveManager: Loading /home/tim/.jedit/perspective.xml [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[inactive]] [debug] EditBus: EditPaneUpdate[what=CREATED,source=org.gjt.sp.jedit.EditPane[inactive]] [debug] EditBus: ViewUpdate[what=CREATED,source=org.gjt.sp.jedit.View[active]] [debug] EditBus: EditorStarted[source=null] [debug] WorkThread: Work request thread starting [jEdit I/O #1] [debug] WorkThread: Work request thread starting [jEdit I/O #2] [debug] WorkThread: Work request thread starting [jEdit I/O #3] [message] jEdit: Startup complete [debug] WorkThread: Work request thread starting [jEdit I/O #4] [debug] JEditTextArea: InputMethodSupport is activated [notice] jEdit: Loading edit mode /usr/local/share/jedit/4.3pre9/modes/text.xml [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Untitled-1 (/home/tim/)] [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1 (/home/tim/)] [error] KeyEventTranslator: Invalid key stroke: C+e C+BACK_QUOTE [debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=log-viewer,source=org.gjt.sp.jedit.gui.DockableWindowManager[,0,0,1024x699,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]] [debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=log-viewer,source=org.gjt.sp.jedit.gui.DockableWindowManager[,0,0,1024x699,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]]
SQL plugin -- show number of results
Submitted by awarberg on Thursday, 12 July, 2007 - 10:59
Hello Is it possible to setup the SQL plugin to show the number of rows retrieved from the query? Right now it will show the exact number when the number is <= 10, but for >10 it just shows >10... the exact number would be very valuable to me. Thank you for a great program (jedit) and an awesome plugin (SQL). Best regards Andreas Warberg
change double-click text highlighting behaviour
Submitted by Markus.Daum on Thursday, 12 July, 2007 - 13:57
Hi,

I wonder if / how it is possible to change the behaviour of jedit when a word in the text edit pane is (LMB) double clicked. Currently it does select / highlight only coherent letters and numbers, but ignores any special characters (so that these characters will not be part of the selected text).

This is a problem for me, because I'm currently coding in MEL (Maya's Embedded Language), where all variable names have to be defined with a leading dollar sign, like "$myVariableName" for example. When I double click on such a variable name, everything but the special character(s) are selected / highlighted, so in my case only "myVariableName", but not "$myVariableName". How / where can I change this behaviour, i.e. how could I add the dollar sign to the characters that are considered by this double click selection?

Cheers!
Markus
How to chaging default explicit fold characters
Submitted by thebugslayer on Thursday, 12 July, 2007 - 17:30
Hi,

Is there way to change default explicit fold marker "{{{" and "}}}" to something custom?

thanks
tbs
OS X and My Java Nightmare
Submitted by thynctank on Tuesday, 17 July, 2007 - 04:36
(this is a repost from FreeMind forum on SourceForge... I really need help!)

I do hope the FreeMind patrons/artisans can help me! I've only recently had a machine with enough RAM/free cycles to consider really using Java apps seriously. I've taken a shine to Eclipse (natch!) FreeMind and more recently jEdit.

So today when I went to open a .mm file I created on Friday (it's Monday night now) I was distraught to find FreeMind wouldn't load. I figured I must've done something wrong. But as I clicked and clicked away at the dock icon which had worked fine for months (!) I realized I hadn't changed anything -- my guess is and automatic OS X update is the culprit, and I install those almost without a thought.

To back up my "something changed and I didn't do it" theory, I tried running jEdit. Same deal. Basically, the icons for these apps will bounce in the dock to indicate they are launching, and then simply stop, indicating a failed launch. BUT! No error code, no message of any kind.

To further confuse things, Eclipse is loading fine.

I've tried upgrading to the most recent Java (apparently SE 6? Or J2SE 1.5... I've always hated Java numbering schemes), playing with the various Java Preferences apps in OS X (I have 4 installed, one for each of the previously-mentioned versions and one for 1.4.2, one for 1.3.1...) and nothing. I've tried wiping out the /usr/bin/java dir but can not install older versions (I'm sure there are just other dirs I'm missing to allow for a clean install, but I worry about Apple Auto updater even after that...)

Has anyone else had this issue? I'm really pulling out my hair here!
Creating uneditable blocks of text
Submitted by david_kightley on Tuesday, 17 July, 2007 - 19:02
I want to create a mode which will highlight a block of text and make it read-only. Is this possible?

Basically, what I am looking to do is put text into a file that are comments which the user cannot change. It would look something like this...

**Editable text**
Normal text......
%% This comment cannot be changed or deleted %%
More text here that the user can enter or change.
.....

I would want the text between the %% symbols (or whatever) and the delimiters themselves to be fixed so that they cannot be changed from within JEdit.

Can parts of the edit window be made uneditable?

Thanks in advance

-- David Kightley

Developing jEdit in NetBeans
Submitted by Daria Titova on Tuesday, 17 July, 2007 - 22:22
Dear jEdit developers,

I would like to let you now that we have recently ported jEdit 4.2 environment into the NetBeans IDE.
You may wish to check it out:
http://wiki.netbeans.org/wiki/view/NetbeansedJEdit

Now you can completely run, debug, and profile jEdit inside the NetBeans IDE, and have access to all nifty features NetBeans IDE provides to make developer's more productive and happy.

I would greatly appreciate any feedback you may have about my project and any ideas on how to make it more useful for jEdit community.

If you are new to NetBeans please go to http://www.netbeans.org for all information, tutorials and fun stuff.

Daria Titova
NetBeans Engineer.
User login
Browse archives
« June 2007 »
MoTuWeThFrSaSu
 
1
2
3
8
9
10
13
14
17
18
19
21
24
25
27
28
29
30
 
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