jEdit Community - Resources for users of the jEdit Text Editor
Archives
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.
associate text files with jedit
Submitted by frisky on Friday, 23 March, 2007 - 03:13
Hi,

It should be easy to associate text files w/jedit but I can not find jedit.exe anywhere on my windows2000, but jedit works OK.

The FAQ say something about a jedit launcher....

I'm looking for simple cookbook step by step instructions on how to get files associated w/jedit...please link me

thanks
highlight current line only in active pane
Submitted by McSwell on Friday, 23 March, 2007 - 17:31
When I split the window into two or more panes (View | Splitting | Split {horizontally, vertically}), it's hard for me to tell which pane the cursor is in. (OK, if jEdit is the only app I'm using, I can probably remember, but when I switch to a different app and then come back, my memory fails me.)

Currently, the only way (AFAIK) is to look for the "caret". But this can be hard to notice, even if it's a blinking red (outline) block. (No comments on my eyesight, please!)

My suggestion: when the current line is highlighted (Global Options, in the dialog box "Highlight current line" is checked under jEdit->Text Area), only highlight the current line of the *active* pane (= active "Text Area").

An alternative or additional possibility would be to slightly gray the non-active pane.

Mike Maxwell
Modes:: How do you match the beginning of a file w/ a regex?
Submitted by LDiracDelta on Friday, 23 March, 2007 - 18:44
I'm creating a Specman syntax highlighting mode and I'm trying to make all the text from the start of the buffer to "<'" be highlighted. Some sort of regex like: {BEGINNING_OF_FILE} ^<' Does anyone know how to do that?
Modes:: How do you match the beginning of a file w/ a regex?
Submitted by LDiracDelta on Friday, 23 March, 2007 - 18:45
I'm creating a Specman syntax highlighting mode and I'm trying to make all the text from the start of the buffer to "<'" be highlighted. Some sort of regex like: {BEGINNING_OF_FILE} ^<' Does anyone know how to do that?
ctags and xml: 'follow tag' doesn't work
Submitted by McSwell on Sunday, 25 March, 2007 - 03:32
I'm using the 'Tags' plugin on an XML schema file, and I can't get it to work. Instead of jumping to the correct XML element, it jumps to the first element in the file where the correct element is located. This appears to be a result of its truncating the search string to the first 19 or so characters.

Specifically, I'm running ctags to build a tags file. This seems to be working correctly; for example, one of the elements is:

<xsd:complexType name="EnvironmentType">

The corresponding tag in the 'tags' file is:

EnvironmentType Phonology.xsd /^<xsd:complexType name="EnvironmentType">$/;" r

If in the Plugins | Options dlg box, under 'Tags-->General' I leave the checkbox unchecked for "If tag match is found continue searching subsequent tag index files", putting my cursor on the string "EnvironmentType" somewhere causes jEdit to jump to the first 'complexElement' tag in the file, which is not the correct one.

Now it happened at one point that I had two tags files, which both had entries for this XML schema file. With the check box checked, trying to follow a tag from that string gives me a dlg box that asks which of two (identical) tags I want to jump to. Each one looked something like this:

1. EnvironmentType <long filename>

r

<xsd:complexType na

You'll notice that the third line ("<xsd:complexType na") is truncated to about 20 characters. I think this explains why it's jumping to the first element in the file: it does a search for "<xsd:complexType na", and that leads it to the first 'complexElement' tag .

So why is the search string getting truncated? Does it have to do with the fact that the filename (which contains an sftp address) is so long, and it's overflowing the buffer? McSwell

Tango! icon theme for toolbars (icons-toolbar-tango!.zip v0.9 by 13xforever)
Submitted by 13xforever on Monday, 26 March, 2007 - 06:04
These icons are intended to use as replacement for standard jEdit icons for toolbars.

As you may notice there's some icons left to reimplement in Tango! theme, so feel free to update.
Identation of .rhtml files in jedit
Submitted by suramakr on Monday, 26 March, 2007 - 16:35
I am having difficulties getting jedit to properly indent by .rhtml files. The colorification takes place right, but somehow the various tags don't seem to indent at all. They all start from column 0. Is there any setting I need to take care of?

All ruby programs wrap and indent properly.

thanks
Sudhakar
Help with indentation
Submitted by suramakr on Monday, 26 March, 2007 - 22:23
I am using jedit 4.2. I have the ruby plugin installed. My problem is with .rhtml files. Why won't the lines get indented properly? all the html stuff, and scripts within the <% and <%= start from column 0. Any one has suggestions how I can fix this? anything in global options I need to set to correct this? With ruby code I don't experience this, with every enter the cursor automatically positions itself at the right offset. thanks Sudhakar
ANSI Encoding
Submitted by techogre on Tuesday, 27 March, 2007 - 14:41
Hello,

I'm trying to use jEdit to edit XML files. These files include french and english text, so there are accented characters. When I open the file in Notepad or Notepad++, the accented characters show up properly, and the file is noted as being encoded in "ASNI Encoded". In jEdit, the characters show up as boxes.

I prefer jEdit for the XML and Freemarker support.

Can anyone help?

Thanks!
Buffer selection within a macro
Submitted by Anonym on Wednesday, 28 March, 2007 - 11:30
Hello all,

first of all I would like to thank the developers. jEdit is a brilliant tool. The opportunity to write own java based macros is an excellent feature. Unfortunately I have some problems in regard to pick up the right buffer for an automatic safe. But before I go into detail I have to mention, that I am not an experienced Java programmer.

What I try to do is to manipulate data from file A and try to safe it in file B.
For this purpose I take the data out of buffer A use the tokenizer to extract the needed data and write that into buffer B.
Therefore I have written the following code:

editPane.prevBuffer();
textArea.setSelectedText(sNewLine+"\n");
textArea.goToNextLine(false);
editPane.nextBuffer();

The pitty is, that I have to ensure that the order in the buffer selector is correct. That is a little bit unconvienient. Does anyone know if there is an opportunity to select the right buffer by its path or filename?

Anything like: editPane.selectBuffer(string filename/path);

I went through the whole helpfile and online wiki, but didn't found anything how I can manage that task. I also tried to record a macro but the file selection was not recorded.

Thank you for your response.

Best wishes, Andre
jEdit chatbox plugin?
Submitted by AlexCory on Wednesday, 28 March, 2007 - 14:46
I noticed you have a "chatbox" on the community website. Everytime I use it no one is ever on. My suggestion is to create a chatbox plugin to put into jEdit. I believe this will allow others to obtain help quickly from experienced jEdit users.

If anyone is like me and keeps their jEdit App open at all times (for me at work) then this could prove useful when trying to obtain help quickly.



Alex Cory
Dominion Enterprises
jEdit no show, reinstall still no show
Submitted by mamboze on Friday, 30 March, 2007 - 01:02
Hi,

I've got a strange problem. I've been using jEdit for a couple of weeks and have been really getting used to it. But last night I went to fire it up but it wouldn't run. So to cut a long story short, I've uninstalled and re-installed jEdit and the Java runtime. I've checked on whether the Java runtime was broken by giving Eclipse a run, no problem there (with no Java installed, Eclipse gave an error message, when re-installed, it ran OK). So I think I've ruled out the Java runtime as the source of the problem (but I may be wrong).

I want to get jEdit running again as it is a very good editor, so any help would be most welcome.
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