jEdit Community - Resources for users of the jEdit Text Editor
Archives
Freemarker Square Braces Support
Submitted by rjuyal on Monday, 3 September, 2007 - 07:24
For Freemarker there must be square braces support too, instead or with, support of < and > braces.
if this support is already there then please tell me.

Thanks
Rakesh Juyal
r.juyal@gmail.com
selecting text from current position till a pattern to search
Submitted by rsc on Monday, 3 September, 2007 - 11:35
I often have the task to select or delete a text (more than one line) from the actual position till a pattern to search for. If you know UEDIT there you can press "shift" and initiate the search. All the text from the current position including the string found will be marked.

I accomplished this by recording a macro and manipulating the Java code afterwards. However, if you are recording a quick macro this is much too intricate.

What did I miss?

Thanks for your help, Rolf.
autoindent and matlab
Submitted by skvalen on Monday, 3 September, 2007 - 14:29
hi, I have fiddled with the autoindent in matlab mode, and i come up with this:

< PROPERTY NAME="indentNextLines" VALUE="^\s*(if|for|function|switch|try|while)([\t ]*\(|[\t ]+|$).*(?!end)$" />
< PROPERTY NAME="indentNextLine" VALUE=".*?\.{3}.*" />
< PROPERTY NAME="unindentThisLine" VALUE="^\s*(end|else|elseif([\t ]*\(|[\t ]+).*|case|otherwise|catch)[\t ]*(%.*)?$" />
< PROPERTY NAME="unindentNextLines" VALUE="^\s*end\s*(%.*)?$" />

that gives something like this:
if foo
    bar
    end
    foobar

and that is wrong, but if I mark it and press 'indent-lines' (c+i) I get:

if foo
    bar
end
foobar

which is correct.

Anny idea who this can be correct on the fly?
Perl regexp spanning multiple lines
Submitted by imgod2u on Tuesday, 4 September, 2007 - 19:00
I'm not sure if this has been covered before and/or is a current feature or plugin (searched but couldn't find anything) but it'd be nice if syntax highlighting (for perl) were able to recognize the use of the /x operator that allows a regexp in perl to ignore whitespace (and thereby, spanning multiple lines without having the regexp look for a newline). Or even just have syntax highlighting recognize regexps that span multiple lines. It's a pet peeve but I figure if it's going to be doing syntax highlighting, it might as well cover all of the features of the language.
SyntaxHelper (SyntaxHelperPlugin.jar v0.1 by Shlomy Reinstein)
Submitted by shlomy on Friday, 7 September, 2007 - 02:52
The SyntaxHelper plugin maks it easier to configure the syntax highlighting styles in jEdit by providing the syntax highlighting option pane in a dockable, with the following features: 1. Immediate feedback in the buffer when a style is changed 2. Ability to cancel changes to styles 3. Tracking the caret and marking the style used for the token under the caret.

Note: This plugin works only with the development (SVN trunk) version of jEdit. It won't work with jEdit 4.3pre10.

10 Sep: Updated with a few bug fixes.

jEdit 11pre
Submitted by George Dunham on Friday, 7 September, 2007 - 05:20
Hi All

I see plugins for 11pre but can't seem to find jEdit 11pre. Please, where do I look?
colorizing text
Submitted by sinebubble on Friday, 7 September, 2007 - 18:03
I'm working with a fairly large shell script with lots of if statements. I'm trying to find some way of colorizing blocks of text to show my closed if statements, but I'm not having any success. Couldn't find a plugin to do the work, either. Any advice?
Installer won't start
Submitted by Riker on Friday, 7 September, 2007 - 22:20
Whenever I try to start the jEdit installer, I keep getting the "Please install JDK or JRE" error. I've installed the latest version of JRE twice, and it still won't start. Any ideas?
jedit as default editor -- unexpected behavior
Submitted by dheitzmann on Saturday, 8 September, 2007 - 19:06
I've used JEdit for years, successfully. Under Windows 2k. About a year ago, my machine suddenly started opening JEdit whenever I tried to open a PDF file (directly from Windows explorer, or from IE)... I've done the obvious thing of setting the preferred application for .pdf files to acrobat reader, and Windows says that is the current setting -- yet, JEdit still gets opened if I double-click on a PDF file. The only way to successfully open a PDF file is to use "Open With...", which works, but is annoying. To my knowledge, this isn't happening with any other file type. I've tried re-installing Acrobat Reader, to no avail. The only thing that had changed on my machine around the time this started was the routine installation of Windows automatic maintence... A search of Microsoft's support site doesn't lead me to any clues.

Does anyone know where there might be some setting in Windows that is causing this behavior? Again, I've already tried setting the "registered file types" list in Windows Explorer, and this has not solved the problem. I don't think this is necessarily a JEdit issue, directly, but it doesn't seem to happen with any other file extension or application. Help, anyone???
-don
JavaStyle plugin and Generics
Submitted by pprodano on Sunday, 9 September, 2007 - 19:25
Hello everyone, I have been using the JavaStyle plugin for a couple of years, and I love it. However, ever since I learned how to use Java's Generics framework (I believe introduced in version 1.5 of Java), the JavaStyle plugin stoped working for me. It complains that it doesn't recognize the angle brackets syntax, like: // an ArrayList used to store the data points ArrayList data = new ArrayList(0); Does anyone have a workaround for this? Are there other plugins that could do the same thing, and yet still be able to handle Generics? Thanks, P
disappearing Find dialog
Submitted by jurrie on Monday, 10 September, 2007 - 00:32
I am no longer able to see jEdit's Find dialog. The functionality is still there (Ctrl-f, enter text, press Enter -> jEdit searches the current buffer for the specified string) but the dialong is not visible.

The problem started while I was using 4.3pre9. I installed 4.3pre10 over the existing installation but the problem remains. I'm using jEdit on Windows XP SP2.

How can I get the Find dialog to appear once again?
I'm hoping to avoid an uninstall + re-install to another directory if possible.
Help! Poker playing jEdit noob needs urgent .txt file help
Submitted by ddess on Monday, 10 September, 2007 - 12:11
Hello All

I am a poker player. I use various tools to analyse my play. One of these tools relies on the importing of .txt files. However, the pokersite I use has recently changed the formatting of their so called Hand History .txt files and I can no longer import them into my hand analyses software. The chags to the .txt files are easy to see but finding a tool to make these changes in bulk correctly is proving somewhat of a challenge. A single poker hand looks like the one shown below and a session is a series of hands all stored in a single .txt file.

My ability to execute this is essential and I would be delighted to hear from anyone who could help set me on the right road. I'm sure with the right knowledge this will be fairly simple. Below are a couple of examples of the formatting changes that I need to make

I look forward to hearing from anybody who feels they can help.

1. First Line

Instead of - TEXAS_HOLDEM, , 309556744
I need it to read - Texas Hold'em $1-$2 NL (Real Money), #309556744

Where the '$1-$2' is information collected from the line beneath ANTES/BLINDS

2. 'FLOP' & 'TURN' Line

In this particular hand the information contained in the [ ] after the words FLOP and TURN is identical. I need to be able to identify this and where it is identical overwrite the TURN line with the text SHOWDOWN so :-

FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.

TURN [board cards: 7H,5H,2D ]
Haemaelii wins $30.05.

becomes

FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.

SHOWDOWN
Haemaelii wins $30.05.


____________

TEXAS_HOLDEM, , 309556744
played at "Bruckmur" for USD RM from 1969-12-31 18:59:59



Seat 1: masterF ($473.25 in chips)
Seat 2: Tekkie5 ($170.35 in chips)
Seat 3: Johnnie1970 ($236.90 in chips)
Seat 4: DJDomus ($32 in chips)
Seat 5: MaccaDrum ($181.55 in chips)
Seat 6: x..X..x ($139.65 in chips)
Seat 7: 123Arttu ($201.95 in chips)
Seat 8: Kukko8383 ($20 in chips)
Seat 9: ghttt11444 ($208 in chips)
Seat 10: Haemaelii ($293 in chips)



ANTES/BLINDS
123Arttu posts blind ($1), Kukko8383 posts blind ($2).

PRE-FLOP
ghttt11444 folds, Haemaelii bets $8, masterF folds, Tekkie5 folds, Johnnie1970 folds, DJDomus folds, MaccaDrum calls $8, x..X..x folds, 123Arttu folds, Kukko8383 folds.

FLOP [board cards: 7H,5H,2D ]
Haemaelii bets $12, MaccaDrum folds.

TURN [board cards: 7H,5H,2D ]
Haemaelii wins $30.05.



SUMMARY
Dealer: x..X..x
Pot: $31, (including rake: $0.95)
masterF, loses $0
Tekkie5, loses $0
Johnnie1970, loses $0
DJDomus, loses $0
MaccaDrum, loses $8
x..X..x, loses $0
123Arttu, loses $1
Kukko8383, loses $2
ghttt11444, loses $0
Haemaelii, bets $20, collects $30.05, net $10.05
_________________
Pb in highlighting syntax in perl mode
Submitted by manu58 on Tuesday, 11 September, 2007 - 11:17
Hello everybody

I have a pb with jedit 4.3pre10 using 4.6.0 in perl mode:

When I write:

print "I'm saying \"coucou\"\n";

the coloring system is broken. All the words: I'm saying \"coucou\"\n should we colored in pink, because this is put between external quotes, and the internal quotes are escaped. Instead of this, the word coucou is colored in BLACK, which means that jedit does not understand that tes internal quotes are escaped.

Another example:

print "The files are called \"/foo\" and /bar \n";

Here, the characters foo\" and are considered as a regular expression, because of the 2 /. It is obviously false, and the highlighting system is completely confused, because it does not see the 2nd \", so that he believes that every following code is between quotes....

Any solution ?
Paste previous delete button
Submitted by atg2d on Wednesday, 12 September, 2007 - 11:57
Hi is it possible to add a delete button in the Paste previous dialog(ctrl+e ctrl+v).
The problem is that sometimes when i copy a lot of text and afterwards all copy/paste operations are very slow. And i have noticed that the slowness disappears when the entry with the huge text disappears from that dialog. But to do that i must make a lot of copy operations to 'push' that entry away... and copy is slow during that time, so i end up losing a lot of time.
Meanwhile is there another way to clear that copy history? So i don't experience that slowness?
I hate to be a moron but... (VB and SQL edit mode question)
Submitted by Beestie on Friday, 14 September, 2007 - 06:36
I hate to be a moron - I have *tried* to figure this out before posting - but where is the edit mode for VB and SQL. After scouring the features pages online and the help files, I became sure that VB and SQL edit modes were included in the base package but they are not in the list (I see sql-loader and VBscript, tho).

I also looked very hard in the plugin pages but did not see plugins for VB and SQL edit modes which sort of confirmed my understanding that they were already included.

I just discovered this program and am thus far amazed but it would be very helpful if I could figure out how to activate these two edit modes as that is the primary reason for me to utilize jEdit.

Thanks in advance for taking the time to reply to an annoying newbie Smiling
IRC plugin - Nickname list doesn't repopulate
Submitted by AlexCory on Friday, 14 September, 2007 - 13:42
Windows Vista
jEdit 4.3 pre 10
Java 1.6.0

Hi, whenever jEdit starts everything seems to load up fine except for the IRC plugin. When I login to NickServ, it refreshes the chat window and nickname list. During the process of this refresh, the nickname list is lost completely. This may be a versioning bug, such as the fact that I use windows vista now.

Anyway, as a temp fix, I found out I can /part and /join to refresh the list successfully. Perhaps this could be noted in the future when optimizing this plugin further.

Reproduce:
1. Login to NickServ using the command: "/msg NickServ identify password" also note that you have to have a NickServ login first before issuing this command. I'm on freenode regularly, the default server of the IRC plugin and have since registered with NickServ.
2. Upon issuing the identify command to NickServ, the nickname list looks as if it disappears.

Temp Fix:
1. type "/part" and then "/join #channel" to refresh the list correctly, I believe the refresh portion of the /join command may be more up to date then when it refreshes on the /msg command. Not entirely sure about this though.



Just thought I'd let everyone know.

--AlexCory
Wishes for a folding editor
Submitted by aclassifier on Saturday, 15 September, 2007 - 18:11
I have (without studying in detail where jEdit stands on the points) posted a page
"Wishes for a folding editor" on my home page.
It's available at http://home.no.net/oyvteig/pub/notes/11_Wishes.html
Comments welcome!

Øyvind Teig, Norway
Change line-end marker?
Submitted by Redoute on Sunday, 16 September, 2007 - 15:47
Hello,

is it possible to change the line-end marker in jEdit? The dot confuses me, I would prefer the well-known Pilcrow sign.
Highlight search results?
Submitted by Redoute on Sunday, 16 September, 2007 - 15:57
Another question: Is there something like Vim's hlsearch option in jEdit?

I already found the Highlight-plugin, that allows to highlight the results from last search, but doesn't change with the next search.

Is there a way to automatically highlight results during/after every search?
deafault settings suggestion
Submitted by thebugslayer on Sunday, 16 September, 2007 - 22:01
Hi jedit dev team,
Can we deault the following during new install?
* UNCHECK END OF LINE MARKER!!!!
* set max num backup to zero.
* check show line number

I haven't found one good use case for default installed QuickNotePad
plugin... replacing it with Console is much more useful.

--
/bugslayer
User login
Browse archives
« September 2007 »
MoTuWeThFrSaSu
 
1
2
5
6
8
13
24
27
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