jEdit Community - Resources for users of the jEdit Text Editor
Archives
Project with FTP upload integrated
Submitted by Anonymous on Thursday, 4 March, 2004 - 00:47
Hi. I'm used working on web projects where the working sources are on local drive and I make tests sending the pages via FTP on remote production server. Is there a way to make the job this way?
Thanks in advance
Paolo
Possible to select text between spaces?
Submitted by kenweb on Thursday, 4 March, 2004 - 01:19
Is there a way to select text between spaces? (e.g. selecting a complete url http://www.sun.com )

I know there are commands to "select to start of white space" and "select to end of white space" but they will not work together in multiple selection mode.

I like to put cursor anywhere on the url and be able to select the complete url. Is it possible? Combination of steps are fine since I will be recording a macro for the whole process.
VHD syntax mode bug fix
Submitted by pieter3d on Thursday, 4 March, 2004 - 05:19
In VHDL, a single apostrophe ' is used in the following case: 'event where can be any predifined signal (its like a variable). The bug is of course that the VHD highlighter thinks this is a single quote opeing a string, thus highlighting the rest of the line.

An easy rule would be to just check for the word "event" after a single quote. Here is the required update for vhd.xml - the following should replace the single quote span:
<SPAN_REGEXP HASH_CHAR="'" NO_LINE_BREAK="TRUE" TYPE="LITERAL1">
<BEGIN>(?!'event)</BEGIN>
<END>'</END>
</SPAN_REGEXP>

Screenshot of current error

Pieter Kapsenberg

VHD syntax highlighting mode fix (vhdl.xml v1.1 ?? by Pieter Kapsenberg & previous authors)
Submitted by pieter3d on Thursday, 4 March, 2004 - 05:33
In VHDL, a single apostrophe ' is used in the following case: <signal name>'event where <signal name> can be any predifined signal (its like a variable). The bug is of course that the VHD highlighter thinks this is a single quote opeing a string, thus highlighting the rest of the line.

An easy rule would be to just check for the word "event" after a single quote. Here is the required update for vhd.xml - the following should replace the single quote span:
<SPAN_REGEXP HASH_CHAR="'" NO_LINE_BREAK="TRUE" TYPE="LITERAL1">
<BEGIN>(?!'event)</BEGIN>
<END>'</END>
</SPAN_REGEXP>

Screenshot of current error

Pieter Kapsenberg

setting backup directory???
Submitted by Anonymous on Thursday, 4 March, 2004 - 09:29
Hello, I use jEdit with great success on my Creative Muvo memory stick (128MB). I hoping someone could give me a quick way to point jEdit's backup directory to a directory on the memory stick, regardless of the drive path (as the usb stick can PnP with any PC/drive letter). So I have created a valid backup path like: :files\japps\jedit\workbkups and I essentially want to have jEdit see "${JEDIT_HOME}\workbups" as the backup path to send all backups there... but I can't figure out how to do it....is there a simple beanshell script someone can offer to load at runtime to set the parameter, or some other solution? thnx, jEdit is very cool. technx
Java console I/O in jEdit (Console plugin)?
Submitted by MikeTheTall on Thursday, 4 March, 2004 - 23:27
I remember reading somewhere in the jEdit documentation that there's a problem with getting input from a Java, if the program attempts to read from System.in (i.e., from std input / console input). I can confirm that this is the case, using jEdit (4.1final) / the Console (3.5) plugin on WinXP Pro Smiling. The program halts w/ an unhandled exception since it can't read input.

My question is: are there plans to fix this (any time soon)?
Related questions: Is it possible to fix this (i.e., there's nothing in the architecture that will prevent this from eventually working)? If it's not too hard to fix, and someone would be willing to give this newbie a couple of pointers as to where to look, I'd be happy to try fixing it myself.

Some semi-related background: I'd like to use jEdit in a class on Java that I'm teaching at a community college. The students will need to be able to do I/O, and I want to avoid any command line magic (it's "Intro to programming for people who have never programmed before, most of whom have never seen a command prompt before" Smiling )

Thanks!
--Mike
How to download source code for installed plugins?
Submitted by pdoubleya on Friday, 5 March, 2004 - 13:34
I've been using JEdit for awhile now, on the recent pre9 build now. I want to start working on plugin enhancements locally, then submit them...but at some point in the past I started downloading plugins without the source code. I don't want to remove and reinstall the plugins as I will lose configuration--but I want to get the source code for the plugins I have. The Plugin Manager doesn't appear to have this option for installed plugins, only new ones.

Any ideas?
Thanks
Patrick
SpellCheck plugin should highlight the word it thinks is mispelled
Submitted by Anonymous on Friday, 5 March, 2004 - 19:48
In most interactive spellcheckers, when the spell checking dialog indicates a word is supposedly misspelled and prompts to ignore it, replace it, etc., the word in question is highlighted in the text buffer being spellchecked, so that one can see the context of the word. However, with the SpellCheck plugin, *all* the text in the buffer is highlighted as part of a selection, and there seems to be no way to see the context of the word. Because of this, a Console window with Aspell or Ispell would arguably be more useful than the SpellCheck plugin as it stands.

(BTW, don't suggest that I use Jazzy. It highlights supposedly mispelled words like it should, but the only way I can get it to handle capitalized words correctly is to add them to Jazzy's dictionary, and that makes Jazzy either hog memory or choke with an OutOfMemory error. Sad But that's another story.)
How do I stop jEdit from creating additional files prepended with ~
Submitted by Anonymous on Friday, 5 March, 2004 - 23:12
It creates an extra copy of the files I open that are prepended with a ~ i.e. ~myFile.file. I would like to turn this off if possible.
RDoc (Ruby documentation) edit mode v0.2 (rdoc.xml v0.2 by Rob McKinnon)
Submitted by robmckinnon on Saturday, 6 March, 2004 - 20:54
Edit mode for files using RDoc markup. Useful if you are writing RDoc content for RubLog, a Ruby weblog application. Perhaps these edit rules can be incorporated into the Ruby edit mode file eventually.
Colorizing variables?
Submitted by tupperduck on Sunday, 7 March, 2004 - 14:49
Is there an option/plugin that allows user defined variables to be colorized in addition to normal syntax coloring? (e.g. If I declare "bool PluginExists", both "bool" AND "PluginExists" would be colorized, as would any additional occurrences of "PluginExists".)
Display_shortcuts.bsh - no output to document
Submitted by Anonymous on Sunday, 7 March, 2004 - 19:53
I have new JEDIT 4.2pre9. Display_shortcuts.bsh can show table, but buttons and key letters are not working. I can only close the window using upper right cross ....
Display_abbreviations.bsh is working well. Problem with my hands?
Mike
Running programs after compiling
Submitted by MicroMoth on Sunday, 7 March, 2004 - 22:34
Hi,

I have just started using JEdit, can anyone tell me how I can get my programs to run after I have compiled it.

Thanks
Using DTD to edit and validate XML documents
Submitted by Anonymous on Monday, 8 March, 2004 - 09:29
I edit SVG documents but Jedit (4.1) don't validate them against declared dtd.
I Downloaded it in the dtds directory, but Jedit keep to find "many errors" in my file (element "..." must be declared...).
I don't either understand the "remote host", "login" "pasword" form to cache dtds...
cannot quit jedit using MacOS 10.3
Submitted by Anonymous on Monday, 8 March, 2004 - 21:59
Hi,

I'm running MacOS Panther with newest updates.
Jedit 4.2 pre9 won't quit/exit.
Launching DOS window from jEdit
Submitted by tupperduck on Tuesday, 9 March, 2004 - 02:12
(I am new to jEdit, so please bear with me)

I am learning C++ and am using jEdit (v4.1) as my editor of choice. I have noticed that the Console will not run programs requiring user input (e.g. std::cin >> menu_choice;) properly; it just continues through the program without waiting for values. Inconvenient, yes, but nothing major. These same programs function as expected when run from the Windows DOS prompt.

What I am trying to do is create a macro to run such a program in DOS. What I have so far is:

// filename parsing code, blah, blah, blah
runCommandInConsole(view,"System",runDOS);

Which works BUT as soon as the all the values are entered and the rest of the program executes, the DOS prompt window disappears and focus returns to the jEdit Console. It seems that the DOS prompt is not being spawned independently of jEdit/Console.

Looking through the documentation I tried variations using "&" to create a background process and "%detach" to create a separate process. Same result. I also tried the approach in the Launching External HTML Checker script by specifying the actual application path (C:\WINNT\system32\cmd.exe), but that runs DOS within Console (without spawing a DOS window) and I can't figure out how to send commands to it.

SO I guess my questions are:
1) Is there a way to launch the DOS prompt as an independent window?
2) Is there a way to send commands to a DOS process running in Console?

Hope that makes sense.
Thanks.
indenting a rectangular selection with any text...
Submitted by Anonymous on Tuesday, 9 March, 2004 - 11:20
Hi,

Is there a way to indent a rectangular selection with any text?
In some editors (Ultraedit for one) you can perform a zero width rectangular selection (I managed that in Jedit) and just type in the text (in Jedit, the text just appears on one line unfortunately). Is there any way to accomplish that?

Thanks,

Seb.
What's wrong with the plugins.jedit.org website?
Submitted by Anonymous on Tuesday, 9 March, 2004 - 18:22
Whenever I go to plugins.jedit.org, the page takes a while to load. When the page comes up, the left column appears in the entire screen, and the bottom of the page has a message that says:

error opening cache file '/home/groups/j/je/jedit-plugins/cache/%2Fhome%2Fgroups%2Fj%2Fje%2Fjedit-plugins%2Flib%2Fchrome%2Fcategory_list.php.cache' for writing

The entire jedit website seem to be sick over the weekend (3/6 to 3/7), but it seems to be ok now. However, the plugins home page is still having problems. The Plugin Manager in jedit seems to be working though, when I click the "Install New Plugins" button (although I haven't actually tried to install any plugins).

Does anyone know what's going on?
plugins.jedit.org broken
Submitted by thammr on Wednesday, 10 March, 2004 - 00:20
Sorry if this is the wrong forum for this but

plugins.jedit.org has been broken for several days.

Can somebody please fix it????

"error opening cache file '/home/groups/j/je/jedit-plugins/cache/%2Fhome%2Fgroups%2Fj%2Fje%2Fjedit-plugins%2Flib%2Fchrome%2Fcategory_list.php.cache' for writing"
Column selection?
Submitted by Anonymous on Wednesday, 10 March, 2004 - 14:54
Is it possible to select an entire column? -Disregarding paragraphs or other divisions in the text.
Rectangular selection is not very convenient when dealing with very large files. I'm looking fore some feature that enables me to select a portion of a line and being able to select "extend selection vertically throughout entire file", or anything similar with same effect.

Does jEdit already have such a feature or is it available as a plugin?

I would really appreciate any help on this!
User login
Browse archives
« March 2004 »
MoTuWeThFrSaSu
19
31  
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