jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
Can I adjust line spacing?
Submitted by frisky on Sunday, 8 April, 2007 - 01:55
Can I adjust line spacing?
Verilog / HDL plugin for jEdit
Submitted by thamiral on Monday, 9 April, 2007 - 11:00
Hello All,

Until now, I have been using jEdit mostly with C/C++, perl, java and on occasion, shell scripts.

I have used jEdit for Hardware description languages, but mostly for the syntax highlighting.

I think it would be great to start-up a plugin, specifically for HDLs that does the following:
Code formatting/beautifier
Auto-completions based on files that have been registered as part of a project (E.g. Includes etc)
Hierarchical views of module instantiations, local resources, etc
Linters (for online/dynamic syntax checking)

I have seen a plugin for eclipse that aims to accomplish all these, however, I strongly prefer jEdit and I think jEdit has a good chance of being as good for the purpose of simple editing.

I'm curious to know what others think and how many people would be interested in such a plugin.

Sincerely,

Taha
projectviewer and empty dirs
Submitted by dirtymafia on Tuesday, 10 April, 2007 - 04:15
It seems that when I make a new project or 're-import' the current project empty dirs are not included. I have not found an option for changing this behavior. Is this something that is wrong with my setup or am I just not finding the option I need to change. Any help or guidance would be much appreciated.
How to return the Console's process code?
Submitted by stretch6555 on Tuesday, 10 April, 2007 - 05:48
Hi,

I've been trying to write some simple beanshell code which calls some methods from the Console plugin. In one part of this code I'm calling the following method:


runInSystemShell(view, "latex " + file);


Now in examples like the above, the program (in this case "latex") returns a process or error level number when it finishes. If the program completes without errors, it returns 0. If it encounters an error it usually returns a non-zero process code. Is there a beanshell/Java command or Console method that will return this process code?? Unfortunately, the above method (runInSystemShell) doesn't return a value so I don't know what the process code is after it completes.

Any help appreciated. Thanks.
How to return the Console's process code?
Submitted by stretch6555 on Tuesday, 10 April, 2007 - 05:49
Hi,

I've been trying to write some simple beanshell code which calls some methods from the Console plugin. In one part of this code I'm calling the following method:


runInSystemShell(view, "latex " + file);


Now in examples like the above, the program (in this case "latex") returns a process or error level number when it finishes. If the program completes without errors, it returns 0. If it encounters an error it usually returns a non-zero process code. Is there a beanshell/Java command or Console method that will return this process code?? Unfortunately, the above method (runInSystemShell) doesn't return a value so I don't know what the process code is after it completes.

Any help appreciated. Thanks.
JAVA_HOME PATH How do I set it?
Submitted by steve_o on Tuesday, 10 April, 2007 - 13:06
I have installed jEdit on my edgy Ubuntu box and unfortunately for me it does not work. On reading their documentation found at: http://www.jedit.org/index.php?page=compatibility#unix
It appears that I need to set my JAVA_HOME PATH. I am a Linux newbie and I have no idea how to do that. I have searched far and wide but cant find a definitive way to achieve this or much in the way of help.

All help will be welcomed

Cheers in advance

Steve
JAVA_HOME PATH How do I set it?
Submitted by steve_o on Tuesday, 10 April, 2007 - 13:30
I have installed jEdit on my edgy Ubuntu box and unfortunately for me it does not work. On reading their documentation found at: http://www.jedit.org/index.php?page=compatibility#unix
It appears that I need to set my JAVA_HOME PATH. I am a Linux newbie and I have no idea how to do that. I have searched far and wide but cant find a definitive way to achieve this or much in the way of help.

All help will be welcomed

Cheers in advance

Steve
PHP Color : Array in String Problem
Submitted by codazoda on Tuesday, 10 April, 2007 - 15:55
When you use an array inside of double-quotes in PHP, the brackets cause the variable highlighting to stop.

For example, the following statement:

$agi->exec("Playback hip/spons/$row[cid]");

The text "$row[cid]" should be blue, using the standard color scheme. Instead, however, only "$row" is blue and "[cid]" is pink like the rest of the string.

I'm using the latest version of the php.xml file from the repository.

I'd try to fix this myself, but don't feel comfortable enough with regular expressions to tackle it.


Thanks,
Joel
Spanish Translation
Submitted by crono0000 on Tuesday, 10 April, 2007 - 18:48
I like to known, if exists some version or plugin for jEdit in spanish, for the GUI and documentation.
Full path name in printouts?
Submitted by benjamingeiger on Wednesday, 11 April, 2007 - 10:48
I'd like the header of my printouts to include the entire path to the file, rather than just the filename. (I work on projects where many files have the same name.)

Is this possible with stock jEdit, or will I need to write a plugin to do this?

Feel free to move this to the Feature Requests forum if it fits better there...
SVN Plugin?
Submitted by trimble on Friday, 13 April, 2007 - 19:31
Would anyone know if an SVN plugin is available for jedit? That would be very cool.
looking for two features (count selected, trim spaces)
Submitted by AndyColson on Friday, 13 April, 2007 - 20:25
Hi all,

I am trying to find a plugin/macro to show (in the status bar) how many lines/characters are currently selected. I'm sure someplace I saw a plugin for that but now I cannot find it. Any ideas?

Also, I'd like an option to trim spaces (on save would be great), is that an option or plugin someplace?

Thanks,

-Andy
Python escape quote syntax highlighting wrong
Submitted by dj_segfault on Tuesday, 17 April, 2007 - 13:53
Using jEdit 4.3 pre 9, in my python code, escaped quotes (\") are confusing the syntax highlighting. For instance, in the line req.write(" ") Everything is normal up to the first \". The [" ] is black, then from [")] on throughout the program up to the next quote on the next line is considered a string. So everything is pretty much reversed after that. It's very annoying. I've been forcing them to PHP mode just so my eyes don't go crosseyed with all the pink code. Is there an update to the python syntax highlighting? I tried comparing the Python and PHP configs, but it was too confusing for me to follow. I did find http://community.jedit.org/?q=node/view/1930#1625 which is relevant, but it isn't explicit enough on how to fix the problem for someone who hasn't worked on the mode files before. Besides, I can't be the only one who'se seeing this. Thanks.
changelog?
Submitted by thefayth on Wednesday, 18 April, 2007 - 08:50
hi,
i don't know what forum i should ask this in so i'll put it in here, sorry if it shoulsn't be, i was wondering does anyone know when i can access the changelog for jEdit i'm doing a little bit of research for a project and it would help if i had a changelog to see how its developed over time. Thanks for any help.
4.3 pre9 hangs when opening specific perl file
Submitted by dougis on Wednesday, 18 April, 2007 - 22:35
I need some help if possible.
I have a perl lib file that causes jedit to hang whenever I open it (runs CPU to 50% and I have to kill the task to get out of it).
I am running on windows and running version 4.3pre9 (my linux box running 4.2 does not seem to have the same issue).
Is there a way to figure out what it is in the file that is causing the hang up? I have tried saving the file in another editor to try and mess with the formatting, also attempted pulling it off my server via SFTP to reload the file and it still hangs.
Any ideas I can try to track down what causes this?
question
Submitted by McSwell on Thursday, 19 April, 2007 - 14:11
I'm trying to add special coloring for #ifdef (etc.) in Python files. These constructions are not a part of standard Python, hence not included in the standard jEdit Python mode. That is, my intention is to use the built-in Python coloring for all the normal Python keywords etc., and to extend this by adding a different coloring for #ifdef etc.

I did the following: to my user's 'catalog' file (i.e. the one in c:\documents and settings\<username>\.jedit\modes) I added the following line:

<MODE NAME="python2" FILE="python.xml" FILE_NAME_GLOB="*.py" />

Then I created in that same directory a file python.xml, which leaving out the usual stuff has the following:

<RULES>
<IMPORT DELEGATE="python::MAIN"/>
<KEYWORDS>
<KEYWORD4>#ifdef</KEYWORD4>
</KEYWORDS>
</RULES>

(I tried to indent the above, but I'm not sure how to do that in this forum...) And of course I set a special color for KEYWORD4 in jEdit's Utilities | Global Options: Syntax Highlighting.

If I'm understanding the documentation in the jEdit Help, this is the recommended way to extend a built-in coloring.

But it doesn't work. That is, I don't get any special coloring for #ifdef, only the normal Python coloring.

I have ruled out a number of things that I could be doing wrong. Specifically, I get #ifdef colored appropriately (as KEYWORD4) if I leave out the <IMPORT DELEGATE> line--but then I of course don't get any of the normal Python coloring. I have also verified that there are no KEYWORD4 tags in the original (as-shipped) python.xml file.

So what am I doing wrong?

Mike Maxwell
"Can't happen"--yeah, right
Submitted by McSwell on Thursday, 19 April, 2007 - 19:48
I've got six or seven buffers loaded, and all work but one. When I try to display that particular file, the buffer is blank. I can go to the top of the file, and move the cursor down line by line; each line will appear until I get to about line 10, when a "BeanShell Error" msg appears. And it literally says "Can't happen". Some comfort...

I've tried closing and re-opening that file, closing and re-starting jEdit, and even rebooting my PC. Nothing works. At this point the file in question does not seem to be damaged on disk, but I certainly can't use jEdit to edit it.

There's a rather lengthy error msg. Unfortunately, it does not appear to be possible to copy it to the Windows clipboard. It starts out (I'm typing this in by hand, so no guarantees that I haven't made a mistake):

java.lang.InternalError: Can't happen
at org.gjtsp.jedit.syntax.TokenMarker.handleRule(TokenMarker.java:412)
at org.gjtsp.jedit.syntax.TokenMarker.markTokens(TokenMarker.java:158)
at org.gjtsp.jedit.Buffer.markTokens(Buffer.java:2115)
and so on for hundreds of lines.

I would attach the Activity Log, but it is nothing short of huge.

Suggestions on how to fix this are welcome...

Mike Maxwell
User login
Browse archives
« April 2007 »
MoTuWeThFrSaSu
  1
2
7
12
14
15
16
22
24
26
28
29
30
 
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