jEdit Community - Resources for users of the jEdit Text Editor
Archives
Having trouble with whitespace plugin
Submitted by raklet on Sunday, 14 June, 2009 - 20:23
Using jedit 4.3pre16 and java 1.6.0_13 on linux.

When I first installed the whitespace plugin, it wouldn't show any whitespace characters at all. I munged these forums and online until I finally figured out that I needed to install Sun's JDK. After I installed it and restarted jedit, all was well. After a couple weeks of use, I just noticed that whitespace is not showing up again. I don't know exactly when it went away because I wasn't looking for it.

I don't mind figuring out where it went wrong, but I'm not even sure where to look. If someone could point me in the right direction, I would appreciate it.

Thanks
Needed JSON Formatter Plugin
Submitted by bigjim on Tuesday, 16 June, 2009 - 18:39
Does anyone have or is anyone working on plugin for formatting JSON data similar to the XML Indenter plugin? With JSON becoming a popular protocal for those developing rich web applications it would be real useful to be able to take a long JSON string intended for computer processing and format it in a way a human could read it.

Thanks,
Jim
FastOpen Problems
Submitted by raklet on Wednesday, 17 June, 2009 - 13:36
Using jEdit 4.3pre16
7:19:10 AM [main] [message] Log: When reporting bugs, please include the following information:
7:19:10 AM [main] [message] Log: java.version=1.6.0_13
7:19:10 AM [main] [message] Log: java.vm.version=11.3-b02
7:19:10 AM [main] [message] Log: java.runtime.version=1.6.0_13-b03
7:19:10 AM [main] [message] Log: java.vendor=Sun Microsystems Inc.
7:19:10 AM [main] [message] Log: java.compiler=null
7:19:10 AM [main] [message] Log: os.name=Linux
7:19:10 AM [main] [message] Log: os.version=2.6.28-11-generic
7:19:10 AM [main] [message] Log: os.arch=i386
7:19:10 AM [main] [message] Log: user.home=/home/raklet
7:19:10 AM [main] [message] Log: java.home=/usr/lib/jvm/java-6-sun-1.6.0.13/jre
7:19:10 AM [main] [message] Log: java.class.path=/usr/share/jedit/jedit.jar


Fast open is not behaving properly. First, it does not find all of the files in my project. I have indexing set to 5 seconds and will even click on reindex to make sure it is up to date. I have hundreds of files located in dozens of directories. Here is a subset of some of my files as an example.

Directory - Sources
Files:
Subs-Auth.php
Subs-Boards.php
Subs-Charset.php
Subs-Graphics.php
Subs-Members.php
Subs-Post.php
Subs.php

That is just a small sample of numerous files. In fast open, I type the letters "su" because I am looking for Subs.php. Fast open only returns one result - Subs-Post.php. It misbehaves in this way with every other file search. It will only return few or no results out of many possible. Providing a complete file name usually ends up with no match at all.

There are some errors in the activity log generated by Fast Open.

7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.getFilePattern(FastOpen.java:583)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.findfile(FastOpen.java:467)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.indexingCompleted(FastOpen.java:1028)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.AbstractIndexManager.notifyListeners(AbstractIndexManager.java:98)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.AbstractIndexManager.queryFilesFromSource(AbstractIndexManager.java:61)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.PollingIndexManager.collectFiles(PollingIndexManager.java:60)
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.PollingIndexManager.run(PollingIndexManager.java:41)
Mac OS X & Fonts
Submitted by warhammerkid on Wednesday, 17 June, 2009 - 15:12
I just thought I'd let people know who are using Mac OS X that the latest Java update from Apple fixes all the old font problems. In addition, it introduces some interesting changes to anti-aliasing.

(Problems were things like the cursor not showing up in the right place if you weren't using the default fonts)
Php code folding.
Submitted by mat_r on Thursday, 18 June, 2009 - 11:33
Hi,

I'm trying to set up code folding using the ConfigurableFoldHandler. I've got it working well folding code between { and } however I would also really like to get it working around comment delineators /* and */ . To do this I have been trying to cobble together a regular expression but without much luck. If anyone has any suggestions of how best to achieve this I would be most grateful.

Thanks,

Matt.
Change gutter line numbering interval
Submitted by kircheis on Friday, 19 June, 2009 - 16:24
Is it possible to change the gutter numbering interval (without folds)? For example, instead of

1
2
3

Show every 10 numbers

10
20
30

That would make it easier to follow Cobol code when I have it on jEdit and on the Mainframe terminal screen.
jEdit launcher, Mac OS/X, Java 1.5.0_19
Submitted by k.kelln on Monday, 22 June, 2009 - 19:29
I just upgraded my Macbook (OS/X 10.5.7) to Java 1.5.0_19 and my jEdit launcher stopped working. This happens everytime I update Java or Mac OS/X versions. I can fire off the jar version, but the normal launcher crashes and burns. Of course, with the jar version I lose the Mac specific interface. Ideas?
How to enter a right angle brtacket (>) (Newbee)
Submitted by HJarausch on Tuesday, 23 June, 2009 - 11:21
Hi, I'm new to Jedit and cannot enter a right angle bracket (>). e.g. Trying to enter I can only enter
More than one buffer for a file in one view
Submitted by weberjn on Wednesday, 1 July, 2009 - 11:24
Hi,

sometimes I'd need for large files to have the file in more than one buffer to be able to have a cursor at several positions in the file.
e.g. I'd like to have one buffer that shows the start of the file and one where the cursor is positioned at the end.
Is this possible?
I have read http://community.jedit.org/?q=node/view/3870
but I'd not like to have several views.

Thanks,
Juergen
Does plugin availability depend on the OS?
Submitted by eze on Wednesday, 1 July, 2009 - 22:28
Greetings! I have recently installed jEdit on Windows and Ubuntu. Under Windows the Plugin Manager lists some plugins not listed under Ubuntu. For instance, XML and Python Client. Is this normal? Is there a fix besides manual installation (which already gave me a few headaches)?

Thanks in advance!

Eze
cannot start :java.lang.unsupporedclassveresionerror :bad versions number in .class file try updating new version of the plugin
Submitted by jagadeesh on Friday, 10 July, 2009 - 07:46
cannot start :java.lang.unsupporedclassveresionerror :bad versions number in .class file try updating new version of the plugin(lazy8ledzer)
dockable Find / Search dialog
Submitted by squindler on Wednesday, 15 July, 2009 - 05:38
It would be really handy for the Find dialog to be dockable - I find it really handy to leave the dialog open while stepping through search results but at work I'm often stuck with limited screen real estate so the dialog obscures the text area.
TextAutocomplete - fix for 0.9.8b (TextAutocomplete.jar v0.9.8b)
Submitted by shlomy on Wednesday, 15 July, 2009 - 11:34
This version fixes the slow startup introduced in version 0.9.8b due to an incorrect URL for the default word list file.
ProjectViewer Plugin not available
Submitted by devashanti_om3 on Wednesday, 15 July, 2009 - 16:49
I just installed jEdit v 4.2 Final on a new machine. I have used jEdit for many years and I always install the ProjectViewer plugin, but it is not available in Plugin Manager for this version when I download the Plugins. I located it on a separate website and downloaded it but am not sure how to install it as I always used the jEdit Plugin manager in the past. I installed other plugins through jEdit's Plugin Manager and the option to have them installed to the jEdit settings directory was selected, but I cannot find the jEdit settings directory in the C:\Program Files\jEdit main directory anywhere. Can someone help me understand how to install ProjectViewer and why it is no longer included in the Plugin available through jEdit's Plugin Manager?
Trying to use plugins with a StandaloneTextArea
Submitted by frisco on Thursday, 16 July, 2009 - 09:52
I want to use jEdit to replace our old TextArea component in an custom Java Ide, I have been able to create the textarea in an empty frame and load java mode to have syntax higlightning (I was unable to load it from the jar, but it is working).
Now I want to add code completion to the text area I have seen that I should use JavaSideKick to do that but as far as I see there is no way to load plugins in the TextArea version (PluginJar is missing and it seems to use some kind of connection that TextArea does not have).
So I ask for help here, maybe I am missing something or someone has any idea on how to load plugins in an Standalone TextArea?
list with all variables used in a script
Submitted by tom1234 on Saturday, 18 July, 2009 - 10:20
Hi all,

when writing a schript (or program) with jEdit I would like to have a list with all variables used in this script. Does jEdit provide such a functionality? I haven't found such a thing.

Tanks for your help.
Tom
List open files in alphabetical order
Submitted by optigon on Sunday, 19 July, 2009 - 16:18
I have been using Jedit for a few years. Thanks.

My question is about how recently opened files are listed in the buffer pull down list. I believe at some point they were listed alphabetically, but now (mine) are listed by most recently opened.

Is there an option for making the list of opened files alphabetical?

Richard Jones
Proper colors for inline CSS
Submitted by Lobotom on Wednesday, 22 July, 2009 - 08:30
Hi people,
I have had jEdit installed on my comp for two years or so, and for the last months I've been using it intensively for making web pages : my main benefit from jEdit was to easily spot details of CSS properties, as I had the content of the style="" attribute displayed just like CSS in a .css file, green prop names and pink/red/blue values.

Now for no good reason yesterday I decided to update jEdit to 4.2 final and behold! I have lost all embedding functionnality. I used to almost never mind jEdit settings, so I'm not sure what my previous install was, I do remember I kicked off out-of-date plugins (one or two) after 4.2 was installed.

I've been trying any kind of plugins and modes since yesterday, including "A colouful HTML" which does NOT work well at all (for my 4.2 at least, random HTML tag color choices, same for CSS) but I couldn't find anything that would do it.
I'm in dire need for retrieving an equivalent of my previous install, and much frustrated that an update threw me back to the stone-age of editing comfort. I could try another editor, but hey, I feel familiar with jEdit and I'd prefer trying it all before waving it bye-bye.

Any clue or direction is very welcome.

(As a side note I'll add that the css.xml that comes with a 4.2 final fresh install doesn't even work properly : in pure CSS files I've noticed some properties names, like "top", are mistaken with values).
Create Global Object in macros
Submitted by Jabberwock on Friday, 24 July, 2009 - 06:05
Hello,

How i cab create a global object in Macro ?

In my case, i create a TelnetWrapper object with the connection, how I can create a global object, becaus i dont' want to process the reconnection, i prefer to re-use my previous object ?

For example :
step 1 : i launch my macro, i create the TelnetWrapper object_toto with the connection.
step 2 : i launch again my macro, but i want to re-use my object_toto without re-connection

It's poossible ?

Thw very much
Highlighting Headers in Html Edit Mode
Submitted by Gary Gabriel on Saturday, 25 July, 2009 - 08:15
Hi,

I use jEdit to code html and to write html formatted content. For writing content jEdit html mode proves trying and detracts from focusing on the content, and the content logic or flow. I'm searching for a better solution where the header tags h1, h2, h3, h4, h5 and h6 are highlighted. This supports connection of the content logic. It also enables faster orientation in the page and much less time spent looking for a specific page point.

Are there alternatives to offer the highlighting or an easy orientation on the headers? InfoViewer does not highlight (html) headers hence not offering relief.

Or is there another possibility to use?

Thanks for your help- Gary Gabriel
« June 2009 »
MoTuWeThFrSaSu
2
4
5
6
7
8
11
12
15
20
21
24
25
26
27
28
29
30
 
Forum topics
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   96034
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299