jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
Find Highlighted
Submitted by abc123 on Monday, 17 September, 2007 - 15:51
Does anyone know how to find the currently highlighted text in Jedit? What I mean is:

1. Highlight a word
2. Execute a key stroke that then finds that word immediately

I can kind of get this to work if I use the Incremental Search Bar but it requires a keystroke to get the highlighted characters into the Incremental Search Bar and then another keystroke to find whatever was copied into the Incremental Search bar. I'd like to be able to do this with one keystroke. Hypersearch is good but I don't always want to open another window.
Color code key-words?
Submitted by sigfreund on Monday, 17 September, 2007 - 22:09
I have a list of key-words I want colored and another list of API names I want a different color, would this warrant writing a plug-in, or is there a simpler way of doing this?
autocomplete not turning off
Submitted by Thadanator on Tuesday, 18 September, 2007 - 07:52
When I'm editing html, and I type "</" I DON'T want it to complete it for me!
That creates this: "</span>span>" (because I typed the whole thing) which is very annoying. It's even worse if it ended the wrong tag. Sometime's (rarely) it shows a little box by my cursor that requires me to press ENTER to autocomplete. Why only sometimes?!?!?

So, what option is this under, I've searched google and this forum far and high but nothing works.
Thank you.
no more code-hints with html?
Submitted by tomasio on Tuesday, 18 September, 2007 - 21:18
e.g.: &[auml;] [ouml;] [uuml;] whereas the brackets shall visualize the code-hint which in earlier versions of my jedit (4.3pre, Windows XP and Mac OS 10.3.9) popped up with suggestions how to complete my html code. It also closed tags: when I wrote some text here ] to close the tag appropriately. Monospaced Programmers fonts like Profont seem to work bad with JEdit on my Apple, as the caret showing where you are editing is misplaced. sometimes i wanted to delete an unwanted space and it started deleting some letters before that. and last, but not least the feature I miss most bitterly. The brackets to the left of the gutter which are connecting the starting and end tags. strangely enough this seems to work only with CSS code. here is a explanatory screenshot. Does anybody has any solution to these incidents? Or could you give me a clue of what I am doing wrong? THX in advance, -- tomasio
S+; broken for ages, Search Bar not saving strings..
Submitted by joe131 on Tuesday, 18 September, 2007 - 21:23
Hi All, I've used jEdit since way back, on Windows XP Pro, and the biggest issue that I have is that whenever you try to type Shift + ';', to get ':', it always wants to shift the whole line over to the left! Sad I have a plain vanilla jEdit, with no Macros or Plugins. It's done that with every version I've ever had, right now I'm using the latest 43pre10. I don't see that keyboard combination in any Shortcut or anywhere. I don't know what's going on with it, and it drives me nuts. I'm tempted to try and dive into the code, but that's a pretty daunting task.. If it helps, here's the output from the Keyboard test when I hit that combination: Event KEY_PRESSED,keyCode=0x10,keyChar=0xffff,modifiers=0x1,consumed=0 filtered Event KEY_PRESSED,keyCode=0x3b,keyChar=0x3a,modifiers=0x1,consumed=0 passed Event KEY_TYPED,keyCode=0x0,keyChar=0x3a,modifiers=0x1,consumed=0 passed ==> Translated to S<0,3a> Event KEY_RELEASED,keyCode=0x3b,keyChar=0x3a,modifiers=0x1,consumed=0 passed Event KEY_RELEASED,keyCode=0x10,keyChar=0xffff,modifiers=0x0,consumed=0 filtered The other problem is that the Search Bar is supposed to save the strings you type into it so you can re-pick a previous one, but it doesn't save any of them. :-\ I haven't touched any of the property files. It's possible, because I've use much older versions of jEdit before, that somehow things got "mucked-up" and it isn't saving them right or something.. At one point I found and deleted a key property file related to that, and let it create a new one, but it still doesn't save anything.. The Search isn't too big a deal. If anybody has any ideas on how to "fix" the S+; problem, please let me know. Smiling Thanks, Joe Siebenmann
S+; broken for ages, Search Bar not saving strings..
Submitted by joe131 on Tuesday, 18 September, 2007 - 21:24
Hi All, I've used jEdit since way back, on Windows XP Pro, and the biggest issue that I have is that whenever you try to type Shift + ';', to get ':', it always wants to shift the whole line over to the left! Sad I have a plain vanilla jEdit, with no Macros or Plugins. It's done that with every version I've ever had, right now I'm using the latest 43pre10. I don't see that keyboard combination in any Shortcut or anywhere. I don't know what's going on with it, and it drives me nuts. I'm tempted to try and dive into the code, but that's a pretty daunting task.. If it helps, here's the output from the Keyboard test when I hit that combination: Event KEY_PRESSED,keyCode=0x10,keyChar=0xffff,modifiers=0x1,consumed=0 filtered Event KEY_PRESSED,keyCode=0x3b,keyChar=0x3a,modifiers=0x1,consumed=0 passed Event KEY_TYPED,keyCode=0x0,keyChar=0x3a,modifiers=0x1,consumed=0 passed ==> Translated to S<0,3a> Event KEY_RELEASED,keyCode=0x3b,keyChar=0x3a,modifiers=0x1,consumed=0 passed Event KEY_RELEASED,keyCode=0x10,keyChar=0xffff,modifiers=0x0,consumed=0 filtered The other problem is that the Search Bar is supposed to save the strings you type into it so you can re-pick a previous one, but it doesn't save any of them. :-\ I haven't touched any of the property files. It's possible, because I've use much older versions of jEdit before, that somehow things got "mucked-up" and it isn't saving them right or something.. At one point I found and deleted a key property file related to that, and let it create a new one, but it still doesn't save anything.. The Search isn't too big a deal. If anybody has any ideas on how to "fix" the S+; problem, please let me know. Smiling Thanks, Joe Siebenmann
Java Debugger won't start
Submitted by carlstr on Wednesday, 19 September, 2007 - 13:04
Running: Win XP, jEdit 4.3pre10, JDK 1.5, JRE 1.6.<\n> Plugins: Archive, Console, Error List, Java Core, JCompiler, Java Debugger 1.5, etc. I can't get Java Debugger to start. After docking it to the right part of the main-window and clicking the icon I get: java.lang.NoClassDefFoundError at debugger.gui.DebugWindow.class$(DebugWindow.java:64) at debugger.gui.DebugWindow.(DebugWindow.java:62) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at bsh.Reflect.constructObject(Reflect.java:620) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:645) at bsh.Interpreter.eval(Interpreter.java:739) at bsh.Interpreter.eval(Interpreter.java:728) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:432) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:396) at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:412) at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:324) at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:421) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: debugger.gui.IOPanel at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:469) at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:86) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) ... 46 more Clicking ok there brings another popup saying: Plugin Error Cannot start: java.lang.RuntimeException: Debugger PLugin Requires JDK (not JRE) 1.3 or above. Try updating to a never version of the plugin. As said before I have JDK 1.5 and Java Debugger 1.5. After looking around I suspect the Java Core plugin options aren't set properly. I haven't found any info on how to do this correctly. Is there anyone who can help me with this, I'd be grateful! //Carl
Regex lookbehinds in edit mode definition don't work
Submitted by hmhoek on Thursday, 20 September, 2007 - 08:29
I'm trying to improve the highlighting on methods and properties in my Powershell mode. It seems to me that lookbehinds are the best way to get this done. The following example shows what I believe to be a valid statement: <SEQ_REGEXP TYPE="KEYWORD3">(?&lt;=\$[a-z]{1,100}\.)\w+(?=\()</SEQ_REGEXP>

This matches "$foo.bar()" when I do a search but doesn't highlight it (I'm trying to highlight "bar"). Is this something to do with the tokens being passed aroung the highligher simply not having characters for the lookbehind to match?

I don't see any other modes using this technique so I'm wondering if anyone has tried it.

Syntax highlight wildcard?
Submitted by sigfreund on Thursday, 20 September, 2007 - 10:28
Is there a way to define a wildcard to define a keyword for highlighting? I want to have all of the key words LCD_Col1, LCD_Col2, ... , LCD_Col99 highlighted the same color?

Thanks
Sig
ContextHelp for PHP
Submitted by ovidiu on Thursday, 20 September, 2007 - 11:09
Hi,

I can't get the ContextHelp plugin to work (in my case, PHP). I downloaded php_manuan_en.chm, moved it to .jedit/contexthelp/php, modified the filename accordingly in .jedit/contexthelp/php/keyword.bsh but... zilch. I select a function name, I run "Plugins -> Context Help -> Search keyword" and nothing happens.
Does anybody have an example for a valid configuration of ContextHelp? Also, is this plugin still compatible with the latest versions of jEdit? The latest plugin version is dated March 27, 2003!

Thanks.
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