jEdit Community - Resources for users of the jEdit Text Editor
Archives
jedit does not get focus an launch under fedora core 2
Submitted by vldmr on Monday, 14 June, 2004 - 16:26
I believe the problem only appeared after installing fc2 with kde3.2. Launching jedit or opening file with jedit launch script does bring jedit window forward, but keyboard focus is still in whatever window was active and used to open file (be it shell or konqueror). So what do I miss here? jedit version is 4.1final. Here is launch script:
#!/bin/sh
JAVA_HOME=/usr/java/j2re1.4.2
export java="$JAVA_HOME/bin/java"
JAVA_HEAP_SIZE=32
exec $java -mx${JAVA_HEAP_SIZE}m -jar /usr/share/jedit/4.1/jedit.jar "$@"

Thanks for any hints

Vladimir
Where is AntHelper 0.8.4?
Submitted by Anonymous on Monday, 14 June, 2004 - 19:01
Beta plugins for AntHelper for JavaCore have been posted, but it contains a dependency to AntHelper Plugin 0.8.4. The latest I could find on this site or CVS is 0.8.3.

Is there a 0.8.4 or is the dependency in error?
How to compile and execute a Perl script?
Submitted by wsw70 on Monday, 14 June, 2004 - 21:41
Hello,

I am using jEdit for now a week Smiling and I must be seriously missing something as I could not find a way to set it up so that I can compile and execute the Perl script I am developping right now? Smiling

Thank you in advance for any hints,
Wojtek
Searching multiple file types.
Submitted by Anonymous on Monday, 14 June, 2004 - 21:55
I know this is a RTFM situation, and I have - but am having a senior moment.

I want to search *.xml and *.java files.

I know in 4.2pre11 *.xml|*.java in the filter would do this for me. (I still have it on one of my other machines.) But in 4.2pre12 that doesn't work.

What am I missing?
Automatically going to syntax/runtime errors in Python files
Submitted by kmmcdonald on Monday, 14 June, 2004 - 22:39
A quick search under "python" didn't show anything relevant, so forgive me if this
has been discussed before. (I suspect it has). I use jEdit (currently 4.2pre11--should
probably upgrade) to program in Python, and would love to be able to:

1) Hit a key to have the current Python file executed,
2) Have any error-related output sent to the Error List
window, and have the editing cursor relocated to the point
of the last reported error, if that file is currently the 'topmost'
displayed file in jEdit.

Using 'Macros>Misc>Run Script', I can get the file to be run,
but all of the resultant output shows up in the Console, and
errors are not written to the error list.

Is there a way to do this for Python?

Thanks,
Ken
Questions about key bindings; getting the Control key to work in OS X, is there an editable file?; and other key-related questio
Submitted by kmmcdonald on Tuesday, 15 June, 2004 - 03:04
As the topic line suggests, I'm using jEdit in OS X, and one of the problems I'm finding is that I cannot assign control-key-combos to actions. For example, I'd like to bind ^a to the command to move to the start of a line, but typing Ctrl-a in the key bindings interface doesn't do anything--though typing Command-a does set the key binding to 'C-a'. It appears as if my Control key (and for that matter, the Alt key) aren't being processed properly (though in the case of the alt key, it does have an effect, just not a useful one; 'Alt-m' produces a 'mu' character, which I suppose might actually work as a binding, but I'm reluctant to proceed with it.)

Also, for defining large numbers of bindings, I find the bindings dialog to be a little annoying. Is there a file of bindings anywhere which can be hand-edited? I looked, but did not find...

And still more...is it possible to have particular sets of bindings associated with particular types of files, i.e. one set of bindings for *.py files, another for *.c?

And finally...is there documentation anywhere for using python to script jedit? It'd be very nice for me to be able to do this...

Thanks,
Ken
JEdit & Spanish keyboard on Powerbook
Submitted by Anonymous on Thursday, 17 June, 2004 - 06:59
I really love JEdit, and it runs pretty much OK on my powerbook, expect that there are 2 keys on the keyboard that don't seem to be generating any input. I've read lots of problems here regarding tildes and other type of accents. Some of these missing keys characters are in fact accents, but they also are used to open brackets (and I don't have to tell you how difficult this omission makes programming). These are the keys (and associated characters) that generate no input: key: "`" (straight) "^" (with shift) "[" (with alt) key "´" (straight) "¨" (with shift) "{" (with alt) <----DANGER!
GNOME Icons for jEdit (gnome_jedit_icons.jar v0.1 by yogi)
Submitted by yogesh_4u on Thursday, 17 June, 2004 - 12:41
Based on recent post by some one I just created Gnome icons for jEdit 4.2 Put this file in the directory $JAVA_HOME\jre\lib\ext Gnome icons will be used automatically by jEdit instead of defaults one. n-joy :)
Disabling/controlling auto indent
Submitted by Anonymous on Thursday, 17 June, 2004 - 14:17
How do I turn off auto indent? I can't seem to find a switch in the global options. Or better yet, how do I turn off some of its "smartness". I hate it changing the indentation while I'm in the middle of a line typing. Like putting in a "}" first (which unindents) and then going back and putting in the "{". It should at least undo it's unindent in that case.
code browsr - php completion
Submitted by herve_php on Friday, 18 June, 2004 - 12:24
hello,
i installed the last rpm of gedit on a redhat9 jdk 1.4.2
i upgrade ctags to last one 5.5-4 but i can't see my fonctions in codeBrowser just 6 variables. when i start jedit form comand line i get :
==========================
[error] java.lang.ClassNotFoundException: com.incors.plaf.kunststoff.KunststoffLookAndFeel
[error] at java.net.URLClassLoader$1.run(Unknown Source)
.. more here
[error] at org.gjt.sp.jedit.jEdit.main(Unknown Source)
[warning] clipper.ClipperPlugin should extend EditPlugin not EBPlugin since it has an empty
handleMessage()
[warning] contexthelp.ContextHelpPlugin should extend EditPlugin not EBPlugin since it has an empty handle Message()
[error] [Fatal Error] catalog:1:1: Content is not allowed in prolog.
=========================
is this related ? (i am not using look and feel kunstoff) should i desintall look and fell plug-in ?
i crawled google to find out how to work with codebrowser and didn't found any answer to my situation. do i need to create a tag file from ctags ? if yes where to put it ?
do i need to change somes settings ?
InfoViewer: If there anything I can do to make External Browser instance (IE) working instead of Internal(inside InfoView tab)
Submitted by Anonymous on Friday, 18 June, 2004 - 19:13
I'm wondering if there anything I can do to make External Browser instance (IE) working instead of Internal (inside InfoView tab). Just that mini browser works really poor with complex pages and it would be really helpful to have IE instead of it - just like Homsite have (Browse tab or F12 key). Also would be cool to have server mapping but it sound like big feature request maybe..

Thank you for an answer!

Dmitry
Can I set Buffer to do not treat HTML as a plain text when I use clipboard (copy selection from External browser and past ... )
Submitted by Anonymous on Friday, 18 June, 2004 - 19:25
Can I set Buffer to do not treat HTML as a plain text when I use clipboard (copy selection from External browser and past into buffer?

Thank you!

Dmitry
Improve InfoView plugin to have External browser as Internal mini browser inside infoView tab + add server mappings
Submitted by Anonymous on Friday, 18 June, 2004 - 21:29
It would be great to make External Browser instance (IE) working instead of Internal (inside InfoView tab). Just that mini browser works really poor with complex pages and it would be really helpful to have IE instead of it - just like Homsite have (Browse tab or F12 key). Also would be cool to have server mappings.

Best Regards!

Dmitry
Bold fonts don't appear bold on Mac
Submitted by Anonymous on Friday, 18 June, 2004 - 23:41
Hi all

I'm running jEdit 4.1 final on Mac OS X.3.4 with Java 1.4.1. The problem is the following : keywords I set to appear in bold style are actually in normal style. That's a bit annoying, since bold style is really handy for code readability.

I read once (in the old forum i think) that changing the JVMVersion property in the Info.plist from 1.4 to 1.3 solve the problem. Actually it solves it, but in the same time it raises others : no mouse wheel support, no "panther" look and feel, plugins needing 1.4 disabled, etc.

Can anyone help me ? Do I have to upgrade to a newer version of jEdit (4.2.preXX) ? Or to upgrade to a newer Java version ?
Thanks a lot (and sorry for my "frenglish", I hope you understand me Smiling.

Sylvain
Error message installing jedit on xp
Submitted by akula on Saturday, 19 June, 2004 - 05:32
Could someone please help me with the error below ? I'm insalling jedit14install.jar on XP Thanks...... An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2E03784 Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14C0 Library=C:\j2sdk1.4.2_04\jre\bin\fontmanager.dll Current Java thread: at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) - locked <0x1419cd98> (a java.lang.Class) at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:797) at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:640) at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53) at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:262) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:256) - locked <0x1050eb20> (a sun.awt.Win32GraphicsEnvironment) at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:370) at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:412) at javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:910) - locked <0x10017490> (a java.lang.Object) at javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1858) at javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:529) at javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:514) at javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:464) at javax.swing.text.html.StyleSheet$CssParser.handleValue(StyleSheet.java:3109) at javax.swing.text.html.CSSParser.parseDeclaration(CSSParser.java:341) at javax.swing.text.html.CSSParser.parseDeclarationBlock(CSSParser.java:308) at javax.swing.text.html.CSSParser.parseRuleSet(CSSParser.java:255) at javax.swing.text.html.CSSParser.getNextStatement(CSSParser.java:161) at javax.swing.text.html.CSSParser.parse(CSSParser.java:136) at javax.swing.text.html.StyleSheet$CssParser.parse(StyleSheet.java:3031) at javax.swing.text.html.StyleSheet.loadRules(StyleSheet.java:303) at javax.swing.text.html.HTMLEditorKit.getStyleSheet(HTMLEditorKit.java:359) at javax.swing.text.html.HTMLEditorKit.createDefaultDocument(HTMLEditorKit.java:186) at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:945) at javax.swing.JEditorPane.setContentType(JEditorPane.java:871) at javax.swing.JEditorPane.getStream(JEditorPane.java:696) at javax.swing.JEditorPane.setPage(JEditorPane.java:392) at installer.SwingInstall$TextPanel.(SwingInstall.java:336) at installer.SwingInstall.(SwingInstall.java:66) at installer.Install.main(Install.java:37) Dynamic libraries: 0x00400000 - 0x00406000 C:\j2sdk1.4.2_04\bin\java.exe 0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll 0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll 0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll 0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll 0x08000000 - 0x08136000 C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll 0x77D40000 - 0x77DCC000 C:\WINDOWS\system32\USER32.dll 0x7E090000 - 0x7E0D1000 C:\WINDOWS\system32\GDI32.dll 0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll 0x10000000 - 0x10007000 C:\j2sdk1.4.2_04\jre\bin\hpi.dll 0x00390000 - 0x0039E000 C:\j2sdk1.4.2_04\jre\bin\verify.dll 0x003A0000 - 0x003B8000 C:\j2sdk1.4.2_04\jre\bin\java.dll 0x003C0000 - 0x003CD000 C:\j2sdk1.4.2_04\jre\bin\zip.dll 0x02C60000 - 0x02D6A000 C:\j2sdk1.4.2_04\jre\bin\awt.dll 0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV 0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll 0x771B0000 - 0x772D4000 C:\WINDOWS\system32\ole32.dll 0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\uxtheme.dll 0x02DD0000 - 0x02E20000 C:\j2sdk1.4.2_04\jre\bin\fontmanager.dll 0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll 0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll 0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.DLL 0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll 0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll 0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 576K, used 335K [0x10010000, 0x100b0000, 0x104f0000) eden space 512K, 53% used [0x10010000, 0x10053fe0, 0x10090000) from space 64K, 100% used [0x10090000, 0x100a0000, 0x100a0000) to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000) tenured generation total 1408K, used 312K [0x104f0000, 0x10650000, 0x14010000) the space 1408K, 22% used [0x104f0000, 0x1053e3a8, 0x1053e400, 0x10650000) compacting perm gen total 4096K, used 4018K [0x14010000, 0x14410000, 0x18010000) the space 4096K, 98% used [0x14010000, 0x143fcbc8, 0x143fcc00, 0x14410000) Local Time = Fri Jun 18 23:55:55 2004 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) #
broken syntax highlightning when typing "<style *>".
Submitted by Anonymous on Monday, 21 June, 2004 - 09:26
Hello,

I m using jEdit for XML / XSL developing, having the appropriate plugins installed.
Everything is working great, except when typing "<style *>". When doing this, the behavior of the syntax highlighning changes suddenly into a mode where most of the text is displayed black below the style element.

My question is, how can I det rid of it, and where does this behavior come from?

thanks!
More flexible toolbar
Submitted by Anonymous on Monday, 21 June, 2004 - 18:16
Using Jeditsince a long time I find it's time that the toobar becomes more flexible:
-actually having a big number of customized buttons, a dozen for java, a dozen for c, a dozen for
cpp, a dozen for assembly, and some miscellaneous stuff like starting objdump and readelf or
starting gdb from within jedit and others, now the toolbar is becomimg full, and new added buttons
don't appear on it more.Now it would be nice if the toolbar could be extensible ,floatable, and
it can remember its coordinates for the next session.thanks.
salme
Drag and Drop with slected text
Submitted by nonvolatil on Tuesday, 22 June, 2004 - 16:43
Is there a feature to do drag'n'drop with selected (Rect/linear) text?

If, how can I use it?


thx
Rectangular selection by Keyboard
Submitted by nonvolatil on Tuesday, 22 June, 2004 - 17:04
Is there a way to make a rectangular selection
by keyboard?
Search and Replace a Part of a Regular Expression
Submitted by ELApro on Tuesday, 22 June, 2004 - 20:36
How would one replace only a portion of a regular expression match?
For example, I have lots of entries in my html that have been typed in like..

<a href="http://www.fxweb.holowww.com/tracker/">
WebTracker</a> 
 Web visitor tracking software
<br />

and I want to reformat them all to look like..

<a href="http://www.fxweb.holowww.com/tracker/">
WebTracker</a> Web visitor tracking software
<br />

My Search:  </a>\s*[^<]

in the above case matches: </a> \n W

which I want to replace with: </a> W

How do I grab the W or any other letter that is found by the regular expression term [^<] in order to put it back into the Replace phrase?

How do positional parameters work?
User login
Browse archives
« June 2004 »
MoTuWeThFrSaSu
  5
6
10
12
13
16
20
 
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