Paste_Around (Paste_Around.bsh v0.2 by Gael Ecorchard (galou))
Submitted by
galou on
Tuesday, 28 August, 2007 - 12:57
Paste the content of register 'a' before the selection (prefix)
and the content of register 'e' after the selection (suffix)
Usage:
- select the prefix part and paste it into register 'a' (C-r C-c a)
- select the suffix part and paste it into register 'e' (C-r C-c e)
- select something and use the macro. Works also with empty selection. Does
not work yet with multiple selections and rectangular ones (error message)
Best used with a shortcut like CS-v
New view and accented vowels
Submitted by
danlugli on
Wednesday, 29 August, 2007 - 13:50
Hi, I am working with jedit 4.3pre10 using java 1.5.0_12.
1) I launch jedit and open a cpp source (the command 'file' returns 'ASCII C program text').
2) I ask for a new view of the same file.
3) In the first view, I modify a comment adding a word with an accented vowel, eg 'però' (Italian keyboard).
4) The result: I get 'per' in the right place, and the accented vowel 'ò' in a random place (sometimes at the beginning of the same line, sometimes some lines down).
Ever seen that? Any solution?
Macro to insert comment token and indent (XEnter.bsh) (XEnter.bsh v0.1 by Gael Ecorchard (galou))
Submitted by
galou on
Thursday, 30 August, 2007 - 12:51
insert new line, then behaves
either as normal insert enter and indent, if the line is a normal code line
or insert the line comment token and indent the line if the current line
is a comment
Usage:
- use the macro at the end of a comment line
Best used with a shortcut like S-Enter
OS X and the Alt key
Submitted by
denserMan on
Friday, 31 August, 2007 - 05:49
In the Find dialog I enter my search terms and then press Alt + L to search all buffers and while the appropriate radio button becomes selected, a symbol appears at the end of my search terms, thereby making me have to delete it before performing the search.
I tried this with both 4.3pre10 and 4.2 final.
What is the problem?
TIA
Plugin Error
Submitted by
sumitnavare on
Friday, 31 August, 2007 - 09:02
Hi,
I am getting this error while trying to install any plugin -
"Error while downloading the plugin, please try another mirror.
Connection refused."
I have tried different mirrors but all give the same error.
Any solutions? Or is there any way to manually install the plugin?
Sumit
execute script file ( *.pl) on Win XP service pack 2
after writting a script with Jedit, i saved it with file.pl . But when i execute it , it appear message " *.pl is not valid WIN32 application". Can u you me how to execute this files. and what command can be used to execute file.pl
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
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?