jEdit Community - Resources for users of the jEdit Text Editor
Ignore SVN directories when searching in directories
Submitted by peetucket on Thursday, 18 May, 2006 - 16:15
Hello All,

Does anyone have a handy filter that will ignore the "svn" directories for a subversion project when doing a search for files in a directory? I often search for code in my subversion based project directories using the "Search and Replace" feature and don't want all the redudant files in the "svn" directories to show up too. I have not figured out a way to use the filters feature to filter out those files.

Thanks!
Peter
horizontal scroll?
Submitted by jimjo95 on Wednesday, 17 May, 2006 - 14:20
most MacOSX apps. allow horizontal scrolling using shift+scroll. Anyway to recreate this in jEdit?

thanks
unable to use line predefined variable in beanshell
Submitted by jeditfan on Wednesday, 17 May, 2006 - 03:18
Hi
I am a novice user and so far am pleasantly surprised with JEdit features. I face a small problem which I think is due to my lack of exp with this. I want to do a search and replace some string with a beanshell syntax.

for eg
search - (\d+)=(\w+)
replace - _1 + text.getCaretLine() + _2 (beanshell expression).

I get an error to the effect that text is undefined. For that matter, I get the same error even for the predefined var. "line". What is going on?

Any insight will be highly appreciated.
Thanks
SK.
Auto save when jEdit window looses focus
Submitted by stellari on Friday, 12 May, 2006 - 18:02
This is a duplicate post... I mistakenly submitted the first one to the wrong forum... my fault.

I just download and installed jEdit for the first time and I'm still not completely used to it.
I'm looking for a way to auto save all the open files/buffers once the program looses focus.
I find it very handy when I modify several dependent scripts and then move to a different program to run it.
This is a feature I got used to have in MultiEdit.
I'm sure there must be a way to do it.
Thanks,
Franco
"Keep Dialog" (check box) in Search & Replace: Settings
Submitted by ELockhart on Friday, 12 May, 2006 - 13:27
I have tried to find out what the "Keep Dialog" check box refers to in the JEdit "Help Files" but can not find any reference to it. Would someone please point me to the right spot (in the "Help Files") or explain what it means/how it works?

Thanks,
Eric
Jedit showing . characters
Submitted by kannan.ekanath on Wednesday, 10 May, 2006 - 13:18
In JEdit,
The editor is showing a "." instead of EOL character and a ":" whenever the word wrapping happens. Although sometimes desirable i want to TURN THIS feature off. Is there anyway i can do this?

I tried playing with the global options, buffer options and the forums but cudnt find something though.

Thanks,
Kannan
kannan.ekanath@gmail.com
uneditable and editable regions in the code
Submitted by canelita on Monday, 8 May, 2006 - 12:48
I am not an expert with Jedit, so I dont know how basic this question is.

Do we have a plugin/feature that allows me to have uneditable and editable regions in the code?
I need to lock some region in the code, so users cannot touch some code I have already generated.
SWI Prolog
Submitted by vale on Saturday, 6 May, 2006 - 02:11
Hello,
I am new to JEdit and I was wondering if someone already have thought about integrating SWI prolog into JEdit or can help me with my starting problems:

First I edited modes/catalogs so the syntax highlightning works automatically with the file endings of my project, adjusted the prolog.xml for my needs and filled with additional keywords of swi-prolog. this worked quite well.

Then I tried the simple task to integrate the swi-shell into jedit by using the console plugin. So I started "swipl" in the System-console, which also starts the swi-prompt, but right after I get thrown out again with "ERROR: Stream user_input:8: Syntax error: Unexpected end of file". I guess there is a simple solution to this lying behind some adjustments of the console-plugin...

Further, I want to use the ErrorList-plugin to attach to swi (is this possible/usefull/hard, can it show the line of the error in the buffer) and make shortcuts to common prolog commands like "consult" aso.

Thanks for any help.

vale
CSS Plugin Help
Submitted by gkterry on Tuesday, 2 May, 2006 - 12:03
I am having some difficulty getting the CSS Editor Plugin to work. I am using the latest development version of jEdit on Win XP with Java 1.5 U6. When I attempt to add an element in the CSS editor, everything appears to work as expected (including the preview) until I click the Add button. Then nothing happens. This occurs whether I am creating a new element or attempting to modify a previously created element after parsing.

I have totally wiped out the user settings and the jEdit program several times. Once I installed the program with just the CSS Editor plugin with the same result. I've noticed that this doesn't work on 2 different computers.

Am I missing something? Thanks for the help!
nu-B : please advise
Submitted by ekips on Monday, 1 May, 2006 - 22:22
Hello,

I am a complete newbie to developing GUIs, and using Swing in general. I am trying to embed a simple text editor into my current project that would allow for basic syntax highlighting and line numbering.

I am wondering if there is anyway to embed jedit with a small subset of its existing features, or if someone might be able to point me in the right direction... I think I may need to look into *EditorKits from swing, but I am still getting my bearings with this project...

any help would be greatly appreciated. thank you!

--fjs--

________________________
francisco j. sanchez
a good website which can help you
Submitted by nicoleveve on Monday, 1 May, 2006 - 00:06
hi ,you are the games players ,right? If you are i think you want to focus on this essay . If you want to play the game well ,you must have good arms ,right ? so if you want to buy the gold ,one way you can buy the gold .And i think the place can supply good service also they deliver the gold fast .So if i need gold i always buy it from them .many players says : the website is [url=http://www.moggm.com] you can go into have a try!!!!!!

network games:WOW ,EUWOW,MapleStory, Ragnarok Online, ROSE online , SilkRoad , RS2 , FFXI , EQ2 ,Guild Wars , Eve online , Matrix and so on or Power Leveling.
you also can contact them via:
AIM:gilssales
ICQ:108239029
Yahoo: sellgilstoyou
Msn:gils_sales@hotmail.com
http://www.moggm.com
Toolbar Icons
Submitted by DMA on Sunday, 30 April, 2006 - 04:22
Is there any way to change the toolbar icons? Are there alternate icons sets?

I was looking at the "Icons and Images" - are the icons there toobar icons?
Highlights the current function in CodeBrowser
Submitted by Manil on Thursday, 27 April, 2006 - 19:28
Hi all,

I want to know, if we can have a highlight on a current function in CodeBrowser, it will be usefull to know where we are in the code when we are editing a function. I don't think it's a hard thing to implement juste locating the position of the pointer and comparing it to the position of the functions....So if anyone thought about it, can you let me know or may be i can try to implement it, but i'll need to be in the developpement team probably...

Thx for any answer
jEdit cleanup
Submitted by metric152 on Thursday, 27 April, 2006 - 01:11
I've been using jEdit for the last two weeks and it's a great program.

It seems a little sloppy about cleaning up the temp files (*.ext~) when the program closes.
Is there any way to have the program delete those on exit, or do I have to remove them by hand?
Editing and modifying the modes language files
Submitted by Manil on Monday, 24 April, 2006 - 17:32
Hi, I am trying to add "--" as a single line command in modes/pascal.xml, actually it is supporting juste "//", i replaced the // by -- in the file, but it didn't work. I want to have in pascal highlights for my functions, i know that i can do it in C but not in Pascal, i tried to add this command like in C but it didn't work. ss ( Any help or commants will be very apreciated. Thx a lot
Importing shortcuts
Submitted by dnagy on Wednesday, 19 April, 2006 - 23:17
Is it possible to export keyboard shortcuts then import them? I have two Jedit installations that I would like to behave similarly.

Could only find a macro to export to a buffer - no import. Are the shortcuts stored in a file somewhere?

Darrin
Make Jedit run on JDK on removable USB drive without changing PATH (batch file, maybe?)
Submitted by sidewalking on Wednesday, 19 April, 2006 - 13:29
Hi all,

I searched a bit but couldn't find the answer, so here goes:

Here is my situation. I have an old JRE 1.3 on my work computer and one of our programs will not work with anything newer than this (don't ask). Needless to say, I am not allowed to install any Java JRE (and I presume JDK/SDK either).

However, I copied my install folders of the newest JDK and JRE for 1.5.0_6 to my USB drive (path is E:\Java\jdk1.5.0_06) and I can run Netbeans, BlueJ and jGRASP just fine because those prompt you to browse for a JDK to use.

This is the problem I run into: I want to use Jedit, not just as an editor but with the compiler functionality, and I wold prefer running it from my USB Java 1.5 JRE rather than the antiquated 1.3 on my desktop machine. Can I do this? I know how to set the path but I do not want to interfere with the functionality of that work program. Is there a batch file I can use to start it that will invoke it to start in the E:\Java\jdk1.5.0_06\bin or E:\Java\jre1.5.0_06\bin folders instead of the system path that directs to JRE 1.3?


Many thanks! Smiling

Scott
How to create this look...
Submitted by ivy on Tuesday, 18 April, 2006 - 13:48
Hi, i'd like to customize as much as i can jEdit (i am a newbie, so please forgive me if i poststupid questions Smiling).

I like those colors, i know i can change those setting in the global option menu.
But, how can i "create" the effect used in the screenshot to collapse or expand some parts of code?
http://jedit.org/index.php?page=screenshot&image=21

Thanks everyone for help,
Bye,
Ivy
Background Plugin
Submitted by ivy on Tuesday, 18 April, 2006 - 13:39
Hi evyone,
i'd like to install and use the background visual plugin (link: http://plugins.jedit.org/plugins/?Background)
It's not working, i dont know why.

I installed it form the Plugin Manager inside jEdit (version 4.2 final).
Now I can find the background item in the Plugins Menu.
The item looks chacked, but if i click on it i get this error message:
-------------------------------------------------------------------
java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getFoldVisibilityManager()Lorg/gjt/sp/jedit/textarea/FoldVisibilityManager;
at background.BackgroundHighlight.updateTextArea(Unknown Source)
at background.BackgroundHighlight.toggleHighlightEnabledFor(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeOnMethod(Reflect.java:149)
at bsh.Reflect.invokeStaticMethod(Reflect.java:100)
at bsh.Name.invokeMethod(Name.java:872)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2910)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
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.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.pumpOneEventForHierarchy(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)
-------------------------------------------------------------------
What's the matter?
I dont know how to chose an image, or how to solve this problem...

Thanks everyone for help.
Bye,
Ivy
Macro Help
Submitted by Caim on Saturday, 15 April, 2006 - 20:01
I've spent about 2 days trying to install jEdit properly on my computer(windows XP). Today I finally got everything working. and I started playing around with all the things you can do with jEdit. I am just starting to learn how to program in Python. Everything works fine but I have a question about macros.

I know how to record macros. I know how they work and what they are, (Beanshell or Jython scripts) but I don't know how to assign keyboard shortcuts to my created macros. Is there a way to do this?

Thanks in advance.
User login
Browse archives
« June 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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   108256
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312