jEdit Community - Resources for users of the jEdit Text Editor
Archives
running local apache server through jedit
Submitted by misterdanny on Friday, 22 June, 2007 - 00:56
Is there a way to have jedit run an application in the background launching it from jedit? I normally have to open apache and jedit to work on PHP things, It would be cool to have apache open/close buttons inside jedit to use apache as it's needed all within the same thing.
Encoding per folder
Submitted by atg2d on Friday, 22 June, 2007 - 09:29
Is it possible to set specific encoding per page?
I am working on more than one project at a time and some of them are utf-8 some are windows-1251. I have set up utf-8 as my default encoding, but when i open one of the other projects that uses windows-1251 i have to change the encoding to windows-1251 and then close(without saving) and reopen the file for the encoding to take place(if i forget and save the file with the incorrect encoding all non ASCII characters are screwed).
I wonder if it is possible to set some associations 'folder - encoding' and when opening file jedit checks whether the file is in one of these directories and opens it with the specified for that folder encoding.
So is there such functionality or plugin for jedit?
If not i would like to make that a request. If i had any kind of java experience i would do a plugin myself but i don't - i will have to learn java and jedit plugin architecture, while someone with experience in jedit plugin development will probably be able to do it in an hour.
Thank you
XML: insert closing tag doesn't
Submitted by McSwell on Saturday, 23 June, 2007 - 21:59
The XML plugin has two options for inserting a closing tag: when a '
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
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   108249
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