jEdit Community - Resources for users of the jEdit Text Editor
Archives
printing with folds
Submitted by AlexCory on Friday, 9 March, 2007 - 19:10
jEdit 4.3pre8 using Java 1.5.0_09

Hello,

I'm using a plugin called the Configurable Fold Handler in jEdit. It comes in handy for wrapping up code in the window using little triangles in the left sidebar. I tried to print my code today where I had a fold inside of it. I didn't expect the fold to print out since it was folded. I expected it to print out 1 line where the fold was displaying, but it actually printed out the entire contents of the fold.

Is there a way to print what the buffer window EXACTLY looks like so that it doesn't print the fold contents? if not, could this be implemented with a future release of a plugin?



to redo this issue:
fold a piece of code within your normal fold tags, for me thats { /* open and } */ close. Configurable Fold Handler should use regular expressions for this aka. \{|/\* and \}|\*/ I'm using php but I'm pretty sure this issue can arise in C,C++,and Java.



Thanks,

Alex Cory
Dominion Enterprises
Highlighting Issue
Submitted by Lance on Friday, 9 March, 2007 - 20:29
I am having trouble getting my syntax highlighting to work with one form of comments. I am making a highlighter for Pick BASIC. Comments can be in the following format:

REM This is a comment
* This is a comment
A = A + 1 ;* Everything after the * is a comment
100 * Everything after the * is a comment. The 100 is a label.
MYLABEL: * Everything after the * is a comment. The MYLABEL: part is a label.

Currently everything is highlighting fine except the last two comment types. It doesn't seem to recognize them as comments. Here's the relevant part of the highlighter xml:

<MODE>
	<PROPS>
<!--		<PROPERTY NAME="lineComment" VALUE="*" /> -->
	</PROPS>

	<RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
			<BEGIN>"</BEGIN>
			<END>"</END>
		</SPAN>
		<SPAN TYPE="LITERAL2" NO_LINE_BREAK="TRUE">
			<BEGIN>'</BEGIN>
			<END>'</END>
		</SPAN>


		<!-- conditional compilation -->
		<EOL_SPAN_REGEXP TYPE="COMMENT1" AT_LINE_START="TRUE">\d+ \*</EOL_SPAN_REGEXP>
		<EOL_SPAN TYPE="KEYWORD2">#if</EOL_SPAN>
		<EOL_SPAN TYPE="KEYWORD2">#else</EOL_SPAN>
		<EOL_SPAN TYPE="KEYWORD2">#end</EOL_SPAN>

		<EOL_SPAN TYPE="COMMENT1" AT_WHITESPACE_END="TRUE">*</EOL_SPAN>
		<EOL_SPAN TYPE="COMMENT1">;*</EOL_SPAN>
		<EOL_SPAN TYPE="COMMENT1">; *</EOL_SPAN>
		<EOL_SPAN TYPE="COMMENT1">REM</EOL_SPAN>

Functions and operators are listed below here but didn't seem relevant to the problem. Any help on getting this working would be appreciated. Thank you in advance!

Writing A Plugin?
Submitted by salmanoglu on Monday, 12 March, 2007 - 12:28
I am newbie here and I have no idea about writing a plugin I read the documents but I dont Understand Can anyone send me a simple plugin example? Or tell me there is another document about Writing a plugin.I really need this HELP ME PLEASE!
ftp plugin and password mistake
Submitted by McSwell on Monday, 12 March, 2007 - 12:30
The ftp plugin has an sftp mode, in which you either enter a password at startup or use a key (but the key entry seems to be broken, see the thread 'sftp plugin : The key format is not a supported'). Occasionally I mistype my password. Rather than give me an error msg, it causes jEdit to hang, and I have to bring up the Windows Task Manager to kill it. (I don't know what happens on other platforms.)

I'm not a Java programmer, so I have no idea how to fix this. Any chance of getting it fixed?

Mike Maxwell
Properties Abbrevs for SuperAbbrevs Plugin. (properties v1.0 by elberry)
Submitted by elberry on Monday, 12 March, 2007 - 15:02
These abbrevs are for the properties file mode. They include abbrevs for creating jEdit plugins.
ErrorList can not find .c file
Submitted by blokeley on Tuesday, 13 March, 2007 - 23:57
This one is strange... if I use Commando to run make, and make generates some errors they appear in the ErrorList. When I open the ErrorList pane, the errors are listed with the correct file path and line number. So far so good.

However, when I click on an error, the line number changes to 1 and an empty buffer is opened.

The whole process works OK with .java files and javac errors, but not with .c files and make errors. Any ideas?

Setup:
Win XP Professional SP2
Sun Java 1.6.0
jEdit 4.3pre9
Console 4.3.2
ErrorList 1.4.2
Avoid automatic ident, faults in php edit mode
Submitted by Hans_Bauer on Thursday, 15 March, 2007 - 09:14
Hello all and thank you for the great program.

I'm using a different style of programming and so the automatic identing of JEdit (e.g. on closing braces) is extremely counterproductive for me. Is there any possiblity to switch off all identing? Due to problems of inserting a code example within this topic, you may have a look at 'http://www.h-bauer.de/temp/identing-php.txt' to see my style of programming.

Programming some php routines i found that the php-edit-mode seems to be faulty. I'm very sorry, but i could not bring all code to be visible within this thread. So again i only can ask you to have a look at 'http://www.h-bauer.de/temp/identing-php.txt' to see the amazing colors when using the php-edit-mode.

Many thanks in advance for your assistance.
Yours
Hans Bauer
Debian Package fails with sun-java6
Submitted by vikingr on Thursday, 15 March, 2007 - 22:17
Hey,

I've got Debian Etch with sun-java6 from Sid (Unstable).
When I tried to install jedit_4.3pre9_all.deb from your website, it fails
because the package has sun-java5 as a dependency.

As jEdit runs very well with sun-java6, it would be great if you could
fix that issue.

Thanks a lot!
daylight savings time
Submitted by was8309 on Thursday, 15 March, 2007 - 23:01
in JEdit v4.2, the time displayed in the status bar is not reflecting the new dst change. Insert_Date.bsh also does not, the code is :

Calendar rightNow = Calendar.getInstance();
// zone offset with daylight savings
int zoffset = (rightNow.get(Calendar.ZONE_OFFSET) +
rightNow.get(Calendar.DST_OFFSET)) / 60000;

I'm guessing I don't have a setting correct. By default does Jedit not use the JRE on my machine?
At http://ablogofideas.net/blog/2007/02/19/test-your-java-for-new-daylight-saving-time-changes/ there is a dst checker that I ran and got :

Hello, you are running Sun Microsystems Inc. JVM version: 1.6.0
OLD Daylight Saving Time (DST) dates: Apr 1 - Oct 28
NEW DST dates: Mar 11 - Nov 4
Now (2007-03-15 12:48:39 EDT) DST offset: 1 hours
2007-03-12 01:00:00 EDT DST Offset: 1 hours
2007-04-02 01:00:00 EDT DST Offset: 1 hours
2007-10-27 01:00:00 EDT DST Offset: 1 hours
2007-11-03 01:00:00 EDT DST Offset: 1 hours
.-----------------------------------------------
. Your JVM is OK with the new DST changes .
.-----------------------------------------------

sorry I know very little about java, any advise will be appreciated, thanks.
ftp plugin very slow.
Submitted by nalrim on Friday, 16 March, 2007 - 02:27
I'm using jEdit 4.3pre9 on Windows XP.
By the way, ftp plugin is very very slow.
I can't seem to edit remote file.
I want help for this problem.
getting SuperAbbrevs to run
Submitted by mamboze on Monday, 19 March, 2007 - 04:03
Hi,
A first post. I've just started with jEdit 1.5.0_06 and am very happy with it, but (always a but) I do have one problem. I can't get SuperAbbrevs to work. I've looked at one tut here

http://ifakedit.com/log/2006/02/19/jedit-tutorial-a-how-to-on-abbreviations-superabbrevs-in-html-ruby-on-rails-and-more/

I can't see where to put the key combo to expand the abbreviations shown in the Plugins > Plugin Options > SuperAbbrevs>Abbreviations dialog. I think I'm missing something rather obvious so any help would be very welcome
xml-Plugin and xhtml-file-validation
Submitted by Ralph_W on Monday, 19 March, 2007 - 14:58
Hello i have a problem with jEdit / xml plugin

I want to validate xhtml documents with jEdit. I installed the XML-plugin and the required plugins (error list and the others) and everythings is going all right when I start jEdit. To test the function I'm opening a xhtml-file, which has some errors in it. But in the error-list there are no errors displayed. I think it has something to do with the DTD? The xhtml-DTD is in the first line of the file but I think it's not automatically dedected?

Thanx for help

Ralph
Limiting search in subdirectories
Submitted by atg2d on Wednesday, 21 March, 2007 - 07:42
Hi is it possible with some plugin or from jEdit itself to limit the search in subdirectories to NOT search in a particular directory and it's subdirectories.
Here is my situation:
I have a mirror of a working site and in it there is a folder where users upload photos and videos. This folder has more than 50000 subfolders and much more files in them. The code for the site is above that big folder, and there are some other subfolders with javascript, css, etc. When i want to search something in my code(all the code javascript,css...) i have to do it folder by folder - i can't use the option "Search in subdirectories" because it will start searching in that big folder too. Normally i would remember to turn that option off, but sometimes i forget and the search starts in the big folder too and the only way to stop it is to kill the java process(which sometimes leads to resetting most of my settings in jEdit to the default ones).
So is there any way to tell jEdit to search in subfolders but not in that particular one and others like it?
Thanks
NASM (nasm.xml v1.0 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 05:29
NASM launching commando file. Supports almost all command line parameters.
YASM (yasm.xml v1.1 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 06:54
YASM launching commando file for 0.5.0 version.
Assembly-x86 Update (assembly-x86.rar v090723 by Kristian Ovaska, updates by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 07:00
x86 Assembly mode by Kristian Ovaska (kristian.ovaska@helsinki.fi)

- Intel syntax
- Instructions and registers of Pentium III/Athlon (including FPU, MMX, 3DNow! and SSE)
- Full NASM 0.98 & MASM 6.15 keyword support, partial TASM support

x86 Assembly mode updates by 13xforever (ilya.veselov@gmail.com)
08.05.2006 rewrite:
- added full AMD64 specs (registers and mnemonics - CPU, FPU, MMX, 3DNow!, 3DNow!+, SSE, SSE2, SSE3)
- added some Cyrix mnemonics
- added some undocumented commands
- update for yasm 0.5.0

07.09.2006 update:
- new RegEx engine for jEdit 4.3pre5+

13.10.2006 update:
- small fix for octal and hex numbers (127q and $0AB)

07.12.2006 update:
- small macros-related fix

19.01.2007 update:
- missing keyword for predefined .RDATA section (NASM)

22.07.2009 update:
- updated up to latest Intel's documentation (June 2009)
- added missing SSE3 instructions
- added SSsE3 instructions
- added SSE4 instructions (4.1, 4.2 and 4a)
- added VMX instructions
- added some missing instructions
Avisynth (avisynth.xml v2.56 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 07:04
Avisynth 2.5 script mode by 13xforever (13xforever@mail.ru)

update: 26.01.2006
- Avysinth 2.56
Cg ([Not so]Basic) (Cg.xml v1.2 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 07:07
For more information you may see nVidia "C for Graphics" edit mode. (Cg.xml v0.2 by Klaus Post)
(I didn't saw it, but filesizes of our edit modes may mean nothing, so choose it for yourself :))
Gg Release 1.x source mode by 13xforever (13xforever@mail.ru)

31.01.2006 update:
- Cg Release 1.2 (Feb 2004)

07.09.2006 update:
- new RegEx engine
GLSlang (GLSlang.xml v1.10-r59 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 07:09
GLSlang Release 1.x source mode by 13xforever (13xforever@mail.ru)

03.02.2006 update:
- GLSlang Version 1.10 Revision 59 (30-April-2004)

07.09.2006 update:
- new RegEx engine
SubRip (subrip.xml v1.1 by 13xforever)
Submitted by 13xforever on Thursday, 22 March, 2007 - 07:13
SubRip is a somewhat popular subtitling format. Basic format allows only basic :) functionality such as timing and effects like italic, bold and underscore. But later extentions allows color definition and screen positioning (but that's not supported by this edit mode).

21.01.2005 v1.0:
Simple SubRip subtitles mode by 13xforever (13xforever@mail.ru)

07.09.2006 v1.1:
Migration to new RegEx engine.
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