jEdit Community - Resources for users of the jEdit Text Editor
Archives
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!
Fire up external application, one instance of jEdit
Submitted by anyhow on Tuesday, 7 February, 2006 - 22:22
Hi all
two qustiones:

i use jEdit for HTML development and would like to fire up current document in browser - how to do it (which plugin does it)?

how to avoid opening second instance of jEdit when i open some document with dblclick (application shortcut as associated document) and have yet one instance of jEdit opened in background

thanx in advance for answer
AVRdude download utility (avrdude.xml v0.1 by Bernd Klein)
Submitted by BerndKlein on Thursday, 9 February, 2006 - 07:27
Include this file into your Console-folder structure and you can download avr assembler hex files to your avr-board via avrdude

You need a proper installation of avrdude 5.0.x !


This file provides:
-> device-selection
-> programmer type ( I'm using parallel port, i didn't check if other types are working well)
-> writing to memory types (flash, eeprom, etc)
-> write/read from device
-> go into avr-terminalmode
-> erase flash before write

Version: 0.1

I only tested this file under Ubuntu Breezy Badger, it should be work on other distris too, but maybe not under windows

Your avrdude installation needs user access-rights to use the parallel-port, to get these rights for avrdude you should set the s-bit for avrdude
sudo chmod +s [path_to_your_avrdude_binary]/avrdude

If you get the below error-message:

avrdude: can't open device "/dev/parport0": No such file or directory
avrdude: failed to open parallel port "/dev/parport0


you have to include the kernel-module ppdev into your kernel. Easiest way to do this is to include the modules in you /etc/modules file:

sudo echo "ppdev" >>/etc/modules

After the next reboot the parallelport modules should be loaded automatically :-).
To include the module during "live" do this:
sudo modprobe ppdev

After this work, avrdude should be run without any errors


If something is missing, please contact me via mail
I cannot use LookAndFeel
Submitted by Stun on Friday, 10 February, 2006 - 02:35
I use jEdit 4.3 pre3 Version. But I cannot use plugin that LookAndFeel.
Plz help me!

--Error Code--
Cannot start java.lang.UnsupportedClassVersionError: lookandfeel/LookAndFeelPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.

--My SDK Spec--
J2SDK 5.0
Open a file at the specified line number (Textmate error handling...)
Submitted by dunnil on Sunday, 12 February, 2006 - 00:22
Hi folks,
There is a rails plugin [1] that convert errors to a url that can be opened by textmate.
Here is the main point:
html = "#{line}"
Is there a way for us to do something like this?

Thanks in advance,
- H


[1] code extracted from the plugin
def add_links_to_backtrace(lines)
lines.collect do |line|
expanded = line.gsub '#{RAILS_ROOT}', RAILS_ROOT
if match = expanded.match(/^(.+):(\d+):in/) or match = expanded.match(/^(.+):(\d+)\s*$/)
file = File.expand_path(match[1])
line_number = match[2]
html = "#{line}"
else
line
end
end
end
Formatter doesn't work
Submitted by Robert Schwenn on Sunday, 12 February, 2006 - 21:46
Running a beanshell script I got an error at the following expression, because the method "format" is not found:

java.lang.String.format("%d", 1234)

In a java sourcefile it works fine.
==> What's on with the beanshell?

Robert
TextMate snippets importing
Submitted by delackner on Monday, 13 February, 2006 - 07:36
SuperAbbrevs is a plugin that has functionality similar to Textmate's and Eclipse's to paste a template with placeholders that you can tab through. Textmate supplies a lot of nice defaults.

Textmate is OS X only, so I wrote a command line Cocoa tool to convert binary plists to xml plists, which I then batch run against the snippet files I want.

Then I modified SuperAbbrevs to have an import option, which takes a directory and imports all .xml or .plist files it finds there, converting $0 endings to $end endings.

If anyone would like to polish this into something more end-user usable, I'd be happy to email the code. For my purposes it has already consumed far more time than I wanted.
FTP Plugin - keep-alive support
Submitted by uzo on Tuesday, 14 February, 2006 - 07:14
is there some way to set the plugin to keep the connection alive (sending NOOP)? i couldnt find it. does some later version support this (using 4.2stable)?

thnx
PHP Parser bug
Submitted by uzo on Tuesday, 14 February, 2006 - 09:21
problem with identifying these variable names as variable names. Mistaken for logical operators:

$or
$and

Example:

$or = new Order($id);

Error message: statement expected
command line: option "+line: " on windows
Submitted by mku on Tuesday, 14 February, 2006 - 10:21
Hi everybody here in the forum , is ti true that on windows the no commandline options except filenames are possible ? I whant to open a file with "jedit +line: but without success. In the help i found the following statement: "If you are using jEditLauncher to start jEdit on Windows, only file names can be specified on the command line" Is that really true or is there another possibility to set a marker on the commandline ? Thanks in advance Martin
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