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
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
it put automatically [body>] 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!

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.

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!

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.

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">(?<=\$[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.
How does jEdit compare to Vim?
Submitted by
aaron.m on
Thursday, 20 September, 2007 - 14:28
I just stumbled across jEdit yesterday, and it looks promising, but I have a few issues:
1. How do you save editing sessions? Let's say I have 10 buffers open, with different screen arrangements, etc. How do I save all of that so I don't have to re-load buffers and re-position the panes? I'm not trying to start a flame-war, but Vim does this easily.
2. Again, a comparison to Vim, but how do I easily resize all panes to be of equal size?
3. What about tabs for organizing your editing views?
I know someone's going to say, "Well, if you like Vim that much, just use it." And I do. But I like what I see of jEdit so far, and want to give it a chance.
Radical GUI builder - jEdit plugin (rad-jedit.jar v0.1 by Shlomy Reinstein (Work of Richard S. Hall))
Submitted by
shlomy on
Friday, 21 September, 2007 - 21:43
Radical is a GUI builder that can work as a jEdit plugin: http://radical.sourceforge.net/
Project author is (or was) Richard S. Hall. Project development stopped a while ago, and I'm trying to revive and modernize it now.
The version provided here works (to some extent) within jEdit. You can generate Java source code from the GUIs you create. Feel free to try it and comment on it. Please read the usage instructions provided on the web page; some learning is required in order to use the tool, but it's a great tool in my opinion. The main thing I'd like to do is use an XML persistence model for the forms (possibly an existing open source XML model like SwingML) instead of the binary format currently used.
The jar file attached here is built against the latest development version of jEdit trunk, 10708. But I assume it can work with older versions too as the plugin itself is quite old.