jEdit Community - Resources for users of the jEdit Text Editor
Archives
what happened to shtml capablities?
Submitted by cagirl on Tuesday, 16 February, 2010 - 09:25
I recently upgraded to jEdit 4.3.1, and now my favorite capabilities, tag completion and tag matching, are unavailable to shtml files. They're still there for html, but not shtml. I've tried changing the catalog, global options, etc. Can anyone tell me how to get these back?????

Desperate in CA
How to change the Menu background to a color besides white?
Submitted by Think2010 on Wednesday, 17 February, 2010 - 01:57
In GlobalOptions:Editing there are options to change the font, but I didn't see one for color. In GlobalOptions:TextArea there are options to change the background color, but it doesn't effect menus.

I loaded Lookandfeel:Lipstick\Menu:Gradient\Themes:Default but don't see and option there either.
If this is not a feature I could probably modify Lookandfeel to do it. But I wanted to check here before trying that.
Project viewer plugin causes Jedit to freeze
Submitted by ricardino on Wednesday, 17 February, 2010 - 13:28
Im having trouble using the project viewer plugin. I can get it installed OK, but whenever i attempt to to anything with it (add new files, create new group etc) Jedit just freezes completely. The only way to get things going again is to end the Javaw.exe process and start again. When i attempt to remove the project viewer plugin, the same thing happens.

Im using windows xp pro 32 bit.

Any help would be greatly appreciated.

Thanks
Using beanshell in a macro
Submitted by pbolger on Wednesday, 17 February, 2010 - 21:44
I'm trying to write a macro to renumber footnotes links in a document - it's pretty simple: I just need to capture the previous number in a backreference, add an offset to it, and rewrite the link with the result. I've got the regex search worked out, but I'm completely in the dark on the syntax for the replacement. This looks like a situation where using a beanshell snippet would be appropriate, but I'm no java programmer. What I need is: [value in backreference plus the offset number] Any help would be appreciated.
Unable to download
Submitted by JonBlanchard on Thursday, 18 February, 2010 - 17:00
I get an error stating that the server is unreachable or unavailable while attempting to download an edit mode file for Tcl scripts.

Any updates to this?
ctagssidekick with VHDL files
Submitted by timxdunn on Thursday, 18 February, 2010 - 20:12
Hello,

I am new to the forum and I have a problem with the ctagssidekick plugin. I am trying to use it with VHDL files but after parsing all it finds are the entity name and any constants that I may have defined.
Has anyone got any experience of how to set up the ctagssidekick to work with VHDL?
Project Viewer
Submitted by jerryjacobson06 on Friday, 19 February, 2010 - 07:17
ValleySpeak Project Server allows the Project Managers to use Microsoft Project as a Managing tools in real time. It enables me to view and share the Microsoft Project schedules with team members in real time It lets me continue to use for managing your schedules and projects and at the same time it is easy to use and have access to the web based browser. It lets me to update the schedules through the browser. As the server uses the native Microsoft Project file, I can report the task in real time. It gives me the facilities far beyond what Microsoft Project alone provides, allowing to use the files in a collaborative environment. It provides 100% Two Way Integration with Microsoft Project. It also provides me with the Discussion forums that are helpful for you. It is easy to use it as it is compatible with Microsoft Project 2007 and provides highly secured solution with built in firewall and is used on Microsoft Windows 2000, Windows XP or Windows Vista.for details visit http://www.valleyspeak.com
Go language edit mode (go.xml v1 by Grzegorz Żur)
Submitted by grzegorz.zur on Friday, 19 February, 2010 - 09:25
Go language edit mode. More about Go at http://golang.org/
Jdiffplugin - Merge same text
Submitted by Jabberwock on Wednesday, 24 February, 2010 - 20:49
Hi,

With jDiffPlugin, it's possible to merge the part of text who are the same ?
I search on the plugin options and on the web with no success.

Antother question, i have a macro who do the diff of two buffer. With an old version of the plugin it's ok, but with the new one, some function are disepear. For exemple DualDiff.toggleFor.
Do you know how i can re*write my macro ?

Thanks in adavance.
Highlight Plugin: "Highlight word at caret" & subsequences
Submitted by autocart on Saturday, 27 February, 2010 - 16:41
Hi!

I wonder if this is a bug.

In the Plugin Options of the Highlight-Plugin I can check "Highlight word at caret" and as another seperate option I can check "Highlight subsequences".

Well, even if I check the option "Highlight word at caret" but do not check the subsequences option it still highlights subsequences. I.e. I have the caret at the word "c:TE". (In my case the ":" is part of the word.) In the next line I have "c:TE2" and "c:TE2c:TE2" in both cases the subsequences "c:TE" are highlighted but not the "2", altough the option is not checked. Do I misunderstand the concept of this option or is it a bug?

Thanks, Stephan
Fast Open plugin -- is it Open Source?
Submitted by Lee Elms on Saturday, 27 February, 2010 - 17:26
I think the title says it (nearly) all ... if the source is available, can someone point me to it.
custom macro works when recorded, but not when run
Submitted by dushanm on Sunday, 28 February, 2010 - 19:55
This was posted to jEdit-users but I never saw it show up, so is being re-
submitted it here.

I'm using jEdit 4.3.1 under Mac OS X.6.2 (Snow Leopard).

I recorded a macro to reformat a paragraph differently from how the re-
gular Format macro does it. This 'Reformat' macro is supposed to reformat
only from the line containing the cursor, put two spaces (instead of one)
after the sentence-end punctuation, and finally place itself at the be-
ginning of the next paragraph.

When recorded, it does exactly this, but when run as a macro it doesn't.

Here's what happens. Suppose I have 3 paragraphs, 1, 2, and 3, and the
cursor is somewhere in para 1. Then Reformat

- separates sentences in the region between the cursor and the end of
para 1 with two spaces,

- joins para 1 and para 2 by deleting the empty line separating them
(but without reformatting para 2), and

- if the cursor was on the 1st line of para 1, it moves it to the begin-
ning of that line; if the cursor is below the 1st line of para 1, it
places it at the beginning of para 3.

Here is the macro:

textArea.goToStartOfLine(false);
textArea.insertEnterAndIndent();
textArea.goToNextParagraph(true);
textArea.goToPrevLine(true);
SearchAndReplace.setSearchString(". ");
SearchAndReplace.setReplaceString(".. ");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(false);
SearchAndReplace.replace(view);
SearchAndReplace.setSearchString("? ");
SearchAndReplace.setReplaceString("?? ");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(false);
SearchAndReplace.replace(view);
textArea.formatParagraph();
textArea.goToPrevParagraph(false);
textArea.goToNextParagraph(false);
textArea.goToNextParagraph(true);
textArea.goToPrevLine(true);
SearchAndReplace.setSearchString("?? ");
SearchAndReplace.setReplaceString("? ");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(false);
SearchAndReplace.replace(view);
SearchAndReplace.setSearchString(".. ");
SearchAndReplace.setReplaceString(". ");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(false);
SearchAndReplace.replace(view);
textArea.goToPrevParagraph(false);
textArea.goToNextParagraph(false);
textArea.backspace();
textArea.goToNextParagraph(false);

Any suggestions as to why the altered behavior? Thanks.

- Dushan Mitrovich
Unfocused gutter border
Submitted by rovf on Monday, 1 March, 2010 - 14:57
What exactly is the *unfocused* gutter border (configurable in GlobalOptions/jEdit/Gutter)? So far, I have only seen the colouring for the *focused* gutter border (i.e. the border between gutter and text area).

Ronald
How to fetch current Keyword/Token?
Submitted by uhuebner on Tuesday, 2 March, 2010 - 10:54
I'm trying to change my existing macro of uppercasing keywords to use exactly the case that is given by the Keyword-XML file, e.g. gettext -> getText instead of GETTEXT.
I get the next token bei using Token.next. But I only get the representation in my TextArea. How can I retrieve the corresponding original Keyword as given by the XML file?

Thanks
uhuebner
Mac OS X - Shortcuts
Submitted by gerhard.tinned on Tuesday, 2 March, 2010 - 11:57
I am using jEdit now for a couple of years. I started using it on Windows and now i moved over to MacOS X.

I used it with Mac OS X 10.5 and now 10.6. But since i am moved from Windows to Mac i observed a very interesting behaviour with the keyboard shortcuts for Copy and Paste.

In the Text Area (i hope my naming for all the components are correct) the Copy and Paste shortcuts are Cmd+C and Cmd+V ... which is exactly as it is used in all Mac-Applications. But all the poup-windows (like Search and Replace, Global Options, ...) The text fields do not react on this shortcuts. They use the shortcut i remember from the Windows version ... Ctrl+C and Crtl+V.

In my opinion this looks a bit confusing for me as i do not leave the Application but the shortcut is different on every window. Sad
Is there any way to change this somehow inconsistent shortcuts?

Thanks.
Use jEdit as external editor
Submitted by lg on Thursday, 4 March, 2010 - 09:43
I want to use jEdit as external editor for my e-mail client. When invoking an external editor my e-mail client creates a temporary file and then opens the editor with that file as the argument. Then when I am finished editing I need to close the editor to notify the parent process that I am done. However since I almost always have jEdit open I don't want to close it in full (I might have 5-10 other buffers open) when I am done writing my e-mail, just close the current buffer.

What I need is a switch to jEdit that starts a separate process, disconnected from the current running instance of jEdit. I have looked at the man page and seen -wait, -newview, -newplainview and other switches but no one seems to do what I need. Have I missed something or is this a missing feature I should report?

Thanks
Updating Account Information
Submitted by nyambol on Thursday, 4 March, 2010 - 13:58
Hello,

Two items. First and most important, I had to create a new site identity in order to log in, after I reset the theme of my old account to one of the items in the 'theme's option list. That 'theme' was completely broken, a set of template tags that hooked into nothing. So there was no longer any way for me to do anything on the site, including reset the theme, once logged in. I did email someone identified as being in charge of community development, but nothing happened. This is really poor on two fronts. No one to contact when there are problems, and (IMO) worse, a half-assed deployment of Drupal that includes elements that are not implemented. It seems that it's caveat emptor if you are fiddling around with your account settings.

The second item is that I tried to upload an 'avatar' picture, and that feature seems broken, too. At least, I uploaded a picture (74x85 png) and after saving settings, the avatar setting reverted to 'no file chosen.'

C'mon guys. I know everybody has a real job, but it's just common courtesy and sense to disable functions that you don't want to mess around with. Purge the themes list or disable it altogether. It's not like it would hurt my feelings if I was stuck with the default site look. A broken "feature" is worse than no feature at all.

Thanks.

mp
Getting past installation
Submitted by okfqcnpe on Thursday, 4 March, 2010 - 17:29
I like the idea of jEdit and it really appeals to me, especially the portability. Is there any way for me to make it a simple executable jar file that i can run on any java-compatible platform? I want to be able to place it in my external hard drive so if i ever need to borrow a laptop, i can simply plug my hard drive in and start coding. I scanned the Install.java file and saw that every installation checks the current OS and installs based on that. Is there anyway to skip the install part and just compile an executable jar?
Moving rectangual selection of text with jedit?
Submitted by oleg on Friday, 5 March, 2010 - 17:00
Hi all!
I started using jedit a few weeks ago and I have couple of questions:

1) After making rectangular selection of text, how can I move text block left, right up or down. This feature would be very useful to change indentation of the code section

2) Can I force hypersearch to highlight the words it found within the buffers ?

3) Whenever I use multiple vncviews, jedit will only start in the vncview that I started first. Whenever I try to execute jedit in the other view, new jedit window pops up in the first vncview.

4) How can I make hypersearch bar to search within multiple buffers. Hypersearch bar searches only within current buffer, I need to pop the dialog to search multiple buffer. Having another check box next to the bar that switches between current buffer and multiple buffers would be very nice.

5) Hypersearch bar keeps the search history. It keeps 20 past searches. Does the tool allow to increase the size of this history buffer?
How to compile and run a java file?
Submitted by jeremyzeehk on Friday, 5 March, 2010 - 23:08
So i am leaning java with jedit. and in PC, at the bottom, there is a console and i type "javac" and "java" to compile and run java program. but now im have a mac, but there is no console button, and i dont know how to compile it. can anyone help me?
User login
Browse archives
« February 2010 »
MoTuWeThFrSaSu
1
2
3
5
6
8
12
13
14
15
20
21
22
23
25
26
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   107800
Context Free Art (*.cfdg)   0.31   46069
BBEdit scheme   1.0   18605
JBuilder scheme   .001   18506
ColdFusion scheme   1.0   18039
R Edit Mode - extensive version   0.1   17486
Advanced HTML edit mode   1.0   16220
Matlab Edit Mode   1.0   16084
jEdit XP icons   1.0   15243
XP icons for jEdit   1.1   14306