jEdit Community - Resources for users of the jEdit Text Editor
Archives
ctags and xml: 'follow tag' doesn't work
Submitted by McSwell on Sunday, 25 March, 2007 - 03:32
I'm using the 'Tags' plugin on an XML schema file, and I can't get it to work. Instead of jumping to the correct XML element, it jumps to the first element in the file where the correct element is located. This appears to be a result of its truncating the search string to the first 19 or so characters.

Specifically, I'm running ctags to build a tags file. This seems to be working correctly; for example, one of the elements is:

<xsd:complexType name="EnvironmentType">

The corresponding tag in the 'tags' file is:

EnvironmentType Phonology.xsd /^<xsd:complexType name="EnvironmentType">$/;" r

If in the Plugins | Options dlg box, under 'Tags-->General' I leave the checkbox unchecked for "If tag match is found continue searching subsequent tag index files", putting my cursor on the string "EnvironmentType" somewhere causes jEdit to jump to the first 'complexElement' tag in the file, which is not the correct one.

Now it happened at one point that I had two tags files, which both had entries for this XML schema file. With the check box checked, trying to follow a tag from that string gives me a dlg box that asks which of two (identical) tags I want to jump to. Each one looked something like this:

1. EnvironmentType <long filename>

r

<xsd:complexType na

You'll notice that the third line ("<xsd:complexType na") is truncated to about 20 characters. I think this explains why it's jumping to the first element in the file: it does a search for "<xsd:complexType na", and that leads it to the first 'complexElement' tag .

So why is the search string getting truncated? Does it have to do with the fact that the filename (which contains an sftp address) is so long, and it's overflowing the buffer? McSwell

Tango! icon theme for toolbars (icons-toolbar-tango!.zip v0.9 by 13xforever)
Submitted by 13xforever on Monday, 26 March, 2007 - 06:04
These icons are intended to use as replacement for standard jEdit icons for toolbars.

As you may notice there's some icons left to reimplement in Tango! theme, so feel free to update.
Identation of .rhtml files in jedit
Submitted by suramakr on Monday, 26 March, 2007 - 16:35
I am having difficulties getting jedit to properly indent by .rhtml files. The colorification takes place right, but somehow the various tags don't seem to indent at all. They all start from column 0. Is there any setting I need to take care of?

All ruby programs wrap and indent properly.

thanks
Sudhakar
Help with indentation
Submitted by suramakr on Monday, 26 March, 2007 - 22:23
I am using jedit 4.2. I have the ruby plugin installed. My problem is with .rhtml files. Why won't the lines get indented properly? all the html stuff, and scripts within the <% and <%= start from column 0. Any one has suggestions how I can fix this? anything in global options I need to set to correct this? With ruby code I don't experience this, with every enter the cursor automatically positions itself at the right offset. thanks Sudhakar
ANSI Encoding
Submitted by techogre on Tuesday, 27 March, 2007 - 14:41
Hello,

I'm trying to use jEdit to edit XML files. These files include french and english text, so there are accented characters. When I open the file in Notepad or Notepad++, the accented characters show up properly, and the file is noted as being encoded in "ASNI Encoded". In jEdit, the characters show up as boxes.

I prefer jEdit for the XML and Freemarker support.

Can anyone help?

Thanks!
Buffer selection within a macro
Submitted by Anonym on Wednesday, 28 March, 2007 - 11:30
Hello all,

first of all I would like to thank the developers. jEdit is a brilliant tool. The opportunity to write own java based macros is an excellent feature. Unfortunately I have some problems in regard to pick up the right buffer for an automatic safe. But before I go into detail I have to mention, that I am not an experienced Java programmer.

What I try to do is to manipulate data from file A and try to safe it in file B.
For this purpose I take the data out of buffer A use the tokenizer to extract the needed data and write that into buffer B.
Therefore I have written the following code:

editPane.prevBuffer();
textArea.setSelectedText(sNewLine+"\n");
textArea.goToNextLine(false);
editPane.nextBuffer();

The pitty is, that I have to ensure that the order in the buffer selector is correct. That is a little bit unconvienient. Does anyone know if there is an opportunity to select the right buffer by its path or filename?

Anything like: editPane.selectBuffer(string filename/path);

I went through the whole helpfile and online wiki, but didn't found anything how I can manage that task. I also tried to record a macro but the file selection was not recorded.

Thank you for your response.

Best wishes, Andre
jEdit chatbox plugin?
Submitted by AlexCory on Wednesday, 28 March, 2007 - 14:46
I noticed you have a "chatbox" on the community website. Everytime I use it no one is ever on. My suggestion is to create a chatbox plugin to put into jEdit. I believe this will allow others to obtain help quickly from experienced jEdit users.

If anyone is like me and keeps their jEdit App open at all times (for me at work) then this could prove useful when trying to obtain help quickly.



Alex Cory
Dominion Enterprises
jEdit no show, reinstall still no show
Submitted by mamboze on Friday, 30 March, 2007 - 01:02
Hi,

I've got a strange problem. I've been using jEdit for a couple of weeks and have been really getting used to it. But last night I went to fire it up but it wouldn't run. So to cut a long story short, I've uninstalled and re-installed jEdit and the Java runtime. I've checked on whether the Java runtime was broken by giving Eclipse a run, no problem there (with no Java installed, Eclipse gave an error message, when re-installed, it ran OK). So I think I've ruled out the Java runtime as the source of the problem (but I may be wrong).

I want to get jEdit running again as it is a very good editor, so any help would be most welcome.
Error running jedit server in Win xp on limited account
Submitted by takeshin on Saturday, 31 March, 2007 - 16:06
When I start jEdit server
(newest jEdit, development version)
on a system startup in Windows XP Home
("C:\Program Files\jEdit\bin\jedit.exe" -background -nogui)
on limited user, no administrative rights account
I have following errors when opening files:
(rightclick, open with jEdit)

java.lang.NullPointerException: Null Pointer in Method Invocation
at bsh.Name.invokeMethod(Name.java:844)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:86)
at bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:84)
at bsh.Interpreter.eval(Interpreter.java:645)
at bsh.Interpreter.eval(Interpreter.java:739)
at bsh.Interpreter.eval(Interpreter.java:728)
at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:432)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:396)
at org.gjt.sp.jedit.EditServer$1.run(EditServer.java:343)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


This error does not occur on admin account.
How to fix this problem?
Syntax pakage, Undo and Redo and JavaCCLexer
Submitted by kagepower on Saturday, 31 March, 2007 - 18:34
Hello, I am from spain. I am developing an application, is a editor for javaCC.

But when using Syntax package in my project, undo and redo, it doesn't responded well.
I would like to know as making JavaCCLexer for to recognize reserved words.

help me plese... thank my mail is ronytour@hotmail.com
NetRexxJe plugin wont install.
Submitted by leke on Sunday, 1 April, 2007 - 17:56
I have some problems with the NetRexxJe plug-in. I tried to install NetRexxJe through JEdit, but it kept erroring saying that it needed other plugins. I installed all of the needed plugins and then it gave me a confusing error about why it couldn't install NexRexx.

The error was...
The following plugin could not be loaded.
This plugin does not support dynamic loading. You must restart JEdit after removing or installing this plugin.

I've tried the above on the latest and stable versions of JEdit.

Any Advice?
Thanks, Leo.
java heap memory
Submitted by damaru on Tuesday, 3 April, 2007 - 00:16
Hey,

I am working with some database file, just somthing over 10meg but I get the java heap memory exceeded. Jedit point me to the manual but I couldn't find where to change my java heap memory whatever it is. Where can I change that ?
PHP Mode Bug?
Submitted by nolink on Wednesday, 4 April, 2007 - 10:38
Hi.

There is a strange behavior if you edit .php-files.

Fresh install of jEdit 4.3pre9/Java 1.5.0_11 on WinXP

Create a new file and name it test.php
Ending .php is important.

Fill it with this:
1 Tab (press the TAB-Key on your keyboard) and than write Hi that it looks like
TABHi
The tab in front of Hi is important (no possibility to write a tab in this forum nor write more than 1 blank space...)

Now put a : after Hi that it should look like:
TabHi:
with a real Tab instead of "Tab".

What you get is not what you want, you get this:
Hi:

The Tab is gone.

If you do that with a file named test.htm you will get what you want, but not with php.

I have this problem if I write css-code in html-tags in php-files.
You can ad some code to make it a real php-file (I can't do it here, tags are not allowed...).

Lu...
Errors Downloading/Installing plugins from Windows x64
Submitted by jtrupiano on Wednesday, 4 April, 2007 - 14:17
Hi, not sure if this is a 64-bit issue--

New user to jEdit. Looking for a Windows RoR editor. Tried RadRails, but it won't install on 64-bit.

Anyway, I tried to download/install the Ruby plugin, but I get the following errors:

Not sure if this is a "bug," or if it's a known issue. Or have I forgotten to do something. Note that this is a completely fresh install-- haven't done anything at all to it.

Thanks in advance.

-John


[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/ErrorList-1.4.2-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/RubyPlugin-0.8.1-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
[error] Roster$Install: java.io.FileNotFoundException: http://mir1.ovh.net/sourceforge/jedit-plugins/SideKick-0.3.4-bin.zip
[error] Roster$Install: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.download(Roster.java:417)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster$Install.runInWorkThread(Roster.java:314)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.Roster.performOperationsInWorkThread(Roster.java:82)
[error] Roster$Install: at org.gjt.sp.jedit.pluginmgr.PluginManagerProgress$RosterThread.run(PluginManagerProgress.java:181)
Problem with PHP syntax highligting 4.3pre9
Submitted by ovidiu on Wednesday, 4 April, 2007 - 20:37
Hello,

Since I updated to 4.3pre9, the PHP syntax highlighting gets broken after encountering escaped strings. Example:

$string = "something\"";
$highlighting = "is_now_broken";

It's very annoying, especially for long files. Does anybody have any idea for a fix? Thank you.
Opening CP850 encoded (DOS) files
Submitted by Fredrik on Thursday, 5 April, 2007 - 06:39
I'm having trouble opening CP850 encoded (DOS) files...

This encoding is described in the jEdit user manual, so it should work, but no luck yet for me.

Manual: On Windows, various other encodings, referred to as code pages and identified by number, are used to store non-English text. The corresponding Java encoding name is windows- followed by the code page number, for example windows-850.

So I select Other in the encoding menu and enter windows-850, cp850, Cp850 or CP850, but whatever I try, I get an IO error: java.io.UnsupportedEncodingException: Cp850.

Anything else I can try?
Search And Replace Filter?
Submitted by gamigin on Thursday, 5 April, 2007 - 17:16
I can do a Search and Replace on all my Java source by using "*.java" in the filter field.
I can also search all my XML files by using "*.xml" in the filter field.

How do I serch both Java source and XML files in the same search? I've tried space, comma, semi-colon as delimiter and those don't work. I've searched the documentation and nothing is mentioned. Any ideas?
Jedit Markers - Storing Marker in jEdit settings folder as opposed to locally
Submitted by thamiral on Friday, 6 April, 2007 - 04:03
Hello all,

I use jEdit quite a bit and one of the features that I always use is the Marker feature, which allows me to get back to certain locations after having switched to another buffer.

Unfortunately jEdit markers create a temporary MARKS file locally for each file that has been "marked". This starts getting confusing, especially if there are many files in a directory.

I think it would be great to have jEdit, store this kind of information in a central location (such as the jEdit Settings Folder). As a matter of fact, jEdit already stores information about individual files, such as last line, in the jEdit settings Folder.

I'm curious to know what everyone thinks of this idea!

Sincerely,

Taha
How Do I Stop jEdit Server Running at Startup on Windows?
Submitted by cpsmusic on Friday, 6 April, 2007 - 06:25
Hi,

Is there a way to stop jEdit Server running at startup on Windows?

Cheers,

Chris
Not Going to Parent Directory" -->
File System Browser - Backspace --> Not Going to Parent Directory
Submitted by thamiral on Friday, 6 April, 2007 - 20:04
Dear All,

I'm running jEdit 4.3pre9 on Java 1.5.0_11 and I noticed that the File System Browser does not go to the parent directory when I hit backspace in the "File Name" text field, when there isn't anything in there.

Any ideas as to why this happened? The previous versions of jEdit never had this problem and unfortunately, no one seemed to have noticed this problem so far.

Thanks in advance,

Sincerely,

Taha
User login
Browse archives
« March 2007 »
MoTuWeThFrSaSu
 
3
6
7
8
10
11
14
17
18
20
24
29
 
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