jEdit Community - Resources for users of the jEdit Text Editor
Archives
Keyboard shortcuts, brief emulation etc.
Submitted by kean on Wednesday, 1 February, 2006 - 12:13
Has anyone done anything in the direction of Brief emulation ?
A plugin or a compete list of keyboard shortcuts ?

Another problem I have is that I cant find the buttons for BACK_QUOTE, OPEN_BRACKET and CLOSE_BRACKET ! I'm using a norwegian keyboard.

Any help would be greatly appreciated !
After a few hours of jEdit experimenting I'm almost sure that this will be my new text editor of choice !

Kjell Eirik
JMail Plugin Issues
Submitted by kraftomatic on Thursday, 2 February, 2006 - 13:19
Hey Guys,

I'm having some problems getting the JMail plugin to work. I go through and set all my account settings, and get the following error:

Could not connect to SMTP host: localhost, port 25; nested exception is java.net.ConnectException: Connection refused: connect.

At first I'm thinking that it's something to do with a firewall in the background, so I try changing the port to say, 20 (it's 25 by default). However it still looks like it's trying to connect to "localhost" which doesn't make any sense. My email settings have a different port and host, yet they for some reason aren't being used.

Does anyone have any suggestions?

Thanks.
Welcome to russian site about jEdit
Submitted by Siver on Thursday, 2 February, 2006 - 14:45
I am pleased to invite everybody at http://jedit.ru - russian site devoted to jEdit.
Launch a file from jEdit
Submitted by hurricanedavid on Thursday, 2 February, 2006 - 14:54
How would I use jEdit to run a file I'm working on?

I found the InfoViewer plug-in, which launches web-type files in external browsers. That's good for the web-type files. But what about for other kinds of files?

I am constantly working on AutoHotKey scripts and then wanting to run them to see the changes I've made. Right now, I have to make a change, then flip back to the Windows Explorer file window and double-click the file to run it to see the changes I just made.

I'm sure there's a way to do this in jEdit. I've searched the help and this forum, but found nothing. Thanks for any help.
Reference for macros
Submitted by mariuszn3 on Thursday, 2 February, 2006 - 17:56
I miss some kind of reference for building macros in jEdit (I can't find it anywhere).. like what properties (if there's any) textArea has etc. Is there any reference on web?

My issue:
I have macro:
------------
textArea.collapseFold();
textArea.expandFold(true);
------------

I'd like first line to be exectuted only if focused line start of not folded content. I thought of something like:
------------------
if (!textArea.folded) {
textArea.collapseFold();
}
textArea.expandFold(true);
---------------------

Of course as I'm just guessing what properties or syntax to use.. it don't work.

Any help?

Thank you.
Two XML Requests
Submitted by machineghost on Thursday, 2 February, 2006 - 19:25

Two requests for the XML plug-in of jedit:

1) A fix for the issue mentioned in the post "same problem with XSL stylesheets" of this thread: "http://community.jedit.org/?q=node/view/1262/". Basically, JEdit doesn't look at the namespaces defined within a tag when judging whether a tag has a valid namespace, so if you have:

<xsp:page xmlns:xsp="http://apache.org/xsp">

you get the error:

"test.xml:4:cvc-elt.1: Cannot find the declaration of element 'xsp:page'."

even though the XML standards say that this is a perfectly acceptable way to declare a namespace.

2) Support for RELAX NG (the OASIS standard) schemas. Even better would be support for Sun-style RELAX NG with embedded Schematron schemas (http://www.sun.com/software/xml/developers/schematronaddon/), but I imagine this would be more trouble to add than it would be worth. Since basic RELAX NG is a very wide-spread standard however, it should be relatively easy to find a validator for it and integrate it with the existing XML plug-in for jedit.

Installing Jedit system wide??
Submitted by sunking on Thursday, 2 February, 2006 - 19:43
I want to install Jedit in a system wide state, would I install to '/usr/local/bin'??
Right now it's installed in my local home folder so only I can start it.
Which is fine but I have to 'cd' into my home folder and do java -jar jedit.jar everytime.
Ideally I like to add it to my start menu and just click to start, which I know
I can do, (at least I think I can), Just want to know if there are any specail parameters
I need to add when i install?
example: should I just change the default install to /usr/local/bin??
Dead simple way to run jEdit from a USB drive in Windows without a pesky command window.
Submitted by walkeraj on Thursday, 2 February, 2006 - 20:26
Simply create a directory called "settings" in the jEdit directory, and use this batch file to start it. It will set up the environment variables from the relative path, so that no matter where jEdit is it will load its settings from that directory. The "start" command will cause Windows to spawn the jar as an independant process of the command prompt window, leaving it free to close. Then, run jEdit as normal!

---start_jedit.bat---
@echo off
set GUI=-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
set CNFG=^-settings=%CD%\settings
start %CD%\jedit.jar %CNFG%
---------------------
Xlib connection refused by server/jedit won't start
Submitted by sunking on Thursday, 2 February, 2006 - 20:39
I instaled jedit using the Slackware package,install went fine,
but when I type jedit in xterm I get: Xlib connection error plus others.
Xlib no protocol specified
Using Slack 10.2
jdk-1_5_0_06

I also did a local install in my home folder using the defualt jedit4.2 installer.
that runs fine using java -jar jedit.jar, but it's a real pain to 'cd' into my
home folder to run.
Codebrowser feature request
Submitted by MatthewGM1 on Friday, 3 February, 2006 - 01:48
I would be nice if double-clicking a file in code browser closed the file like some other buffer changers. Thanks.
Encoding in jEdit Console (way to change it?)
Submitted by Ced-le-pingouin on Friday, 3 February, 2006 - 14:10
Hi,

This is my first post here, but I'm a long time jEdit user. What a great piece of software! Thanks to its many authors and contributers Smiling

The problem:
When I use the Console in System mode to execute commands, the output of these commands has its accents and other extended characters replaced by squares. I'm under Windows XP Pro, French. The output of the commands is in french.
Under "standard" dos box in WinXP, I sometimes have to change the codepage to 1252 ("Windows" Latin 1) or UTF-8 (cp 65001) and choose the correct font to get readable output.

But changing the codepage under the jEdit console is useless, since it is done by the chcp command, and every Console command is executed in its own "shell", so any previous codepage change is not reflected on subsequent commands.

It seems the default encoding for the executed commands is 850, but that doesn't match the display in the jEdit Console (is it UTF-8 ?).

Is there a way to change the encoding of the Console ?
Or am I wrong about the cause of this problem? Is there a solution?

Thanks.
Ced
How to see structure tree of XML file?
Submitted by Siver on Saturday, 4 February, 2006 - 16:03
I have learnt from XML plugin page http://plugins.jedit.org/plugins/?XML that "...the element tree is shown in a dockable window".
But how to see it?
I saw the XML tree in the screenshots but would like to see it in my jEdit buffer too Smiling.
Select the current buffer's file in windows explorer (Show_in_WindowsExplorer.bsh v1.2 by Robert Schwenn)
Submitted by Robert Schwenn on Saturday, 4 February, 2006 - 18:48
Only for windows machines: Starts Windows explorer and selects the current buffer's file there.

Last update: bugfix (unwanted message was shown)

An option to modify scrollwheel behaviour in the editor, please.
Submitted by Denyer on Sunday, 5 February, 2006 - 01:01
How difficult would it be to add a toggle option to invert the shift/non-shift action? For quickly reviewing a file, I'd rather not have to reach for the keyboard to scroll text a screen at a time, or have to remember that jEdit will be doing something different from every other application I have installed. Equally, there are times when using a modifer key to scroll a few lines would be useful.

Thanks for reading.
could FTP plugin handle all file access needs?
Submitted by lsloan on Sunday, 5 February, 2006 - 03:46
I've just started using jEdit in the past couple of weeks. I had been using a combination of SubEthaEdit and Fugu under Mac OS X. When I needed a good, free editor that worked well for editing Python and had code-folding, I tried jEdit. Using the FTP plugin, I've been able to edit files on servers over an SFTP connection.

I've started using more and more plugins with jEdit as I find that they offer good features. One of the disappointing things though is that plugins like XSLT, Project Viewer, QuickNotepad, and others aren't able to work with files through the FTP plugin. I suspect that the reason for this is that these plugins try to open files in the filesystem directly. They don't know how to handle these SFTP URLs.

I wonder if these other plugins would be able to work with files through an SFTP connection if all of their file operations went through the jEdit API. Does jEdit offer functions for working with files? Would that allow working with files via SFTP?
AVR Assembly syntax highlighting (assembly-avr.xml v0.1 by Bernd Klein)
Submitted by BerndKlein on Sunday, 5 February, 2006 - 16:42
This file contains all keywords for ATMEL avr microcontrollers.
ATtiny and ATmega

if something is missing, please contact me via mail

You find a AVRA-Compiler extension and a avrdude download utility under "commando files"
AVRA AVR Assembler compiler (avra.xml v0.1 by Bernd Klein)
Submitted by BerndKlein on Sunday, 5 February, 2006 - 16:52
Include this file into your Console-folder structure and you can compile avr-assembler files out from jEdit.

You need a proper installation of the avra assembler !

To get the latest version of avra, please go to: http://avra.sourceforge.net/
Current version 1.1.0 - Build 372

Version: 0.1
If something is missing, please contact me via mail
independent views?
Submitted by lsloan on Monday, 6 February, 2006 - 19:53
What I've been unable to do with jEdit so far is to have two or more views open, each with an independent set of open files. Is this currently possible in jEdit? If not, could it be? I would like to have one window with open files A, B, and C, and a second window with files X, Y, and Z.
PHPSideKickParser : does not support interface X extends Y (while php5 does)
Submitted by Baldurien on Monday, 6 February, 2006 - 20:40
[error] PHPSideKickParser: gatchan.phpparser.parser.ParseException: Encountered "extends" at line 13, column 48.
[error] PHPSideKickParser: Was expecting:
[error] PHPSideKickParser: "{" ...
[error] PHPSideKickParser:

Some data :
interface BufferedOutputStream extends OutputStream {
...
}
jEdit equivalent to Xedit "All" command?
Submitted by edjgallagher on Tuesday, 7 February, 2006 - 06:27
Good evening. I'm a Xedit user at work losing my favorite editor with the elimination of Unix as the prime operating system. One of Xedit's features I use most often is the "All" command which allows one to display a just a specific set of lines eligible for editting based on a repeating target. Those lines not meeting the display requirements are excluded from the display. Once editting is complete the full file can be redisplayed with the editting changes incorporated. Does jEdit have (or can it be easily configured to have) a similar functionality. If so, I think I've found a new favorite editor. Thanks!
User login
Browse archives
« February 2006 »
MoTuWeThFrSaSu
 
8
11
17
19
23
25
28
 
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