jEdit Community - Resources for users of the jEdit Text Editor
Archives
How to run cat() with EvaluatSelection?
Submitted by Anonymous on Monday, 24 May, 2004 - 06:56

In the BeanShell-Console I run cat("path/to/my/text") and it worked fine. But when I run the same command with Utilities>BeanShell>EvaluateSelection I get the error:

Sourced file: : Attempt to invoke method: print() on undefined variable or class name: output : at Line: 1 : in file: : cat ( "/home/gerd/temp/replace.txt" ).

What went wrong?

Thanks in advance,
Gerd

show ASCII-Value of character at current cursor position
Submitted by uhuebner on Monday, 24 May, 2004 - 11:35
Is it possible to show the ASCII-Value of the character at the current cursor position? I often have special control characters in the files I edit. And I need a quick way to see what characters that are. I'm no programmer but it doesn't sound too complicate to do.

Kind regards
uhuebner
Digest Version of Forums?
Submitted by Sparhauk on Monday, 24 May, 2004 - 21:48
Does anyone know if there is a way to get a digest of the items in the forum? It takes about 15-30 seconds for any link that I click on to load. This is ok for reading one or two items, but for search for an answer before asking it, it's rather tedious.
Look and Feel Isn't Working... what am I doing wrong?
Submitted by Anonymous on Tuesday, 25 May, 2004 - 00:37
I followed the directions and d/l a new theme pack (aqua), but it's not changing a thing when I choose it and the path in the plugin options. Is it not compatible with the pre13 version? I'm running XP and have the latest Java runtime as recommended by the documentation.
displaying runtime errors in console
Submitted by ganders on Tuesday, 25 May, 2004 - 06:50
hi

if a runtime error ocurrres while running a java-applet, where is the error reported? isn't this supposed to happen in the console, just like the errors of java-applications? i just can't find it...

tx for any help or suggestion!
custom icon loading
Submitted by happy on Tuesday, 25 May, 2004 - 17:58
Hello!
Custom icon loading for the:
  • blue_disk.gif
  • normal.gif
  • dirty.gif
files not working in the latest (4.2 pre 13) beta version.
file permissions in personal settings directory
Submitted by Anonymous on Wednesday, 26 May, 2004 - 05:44
Hi all,

jedit 4.1 final
JSE 1.4.2
WinXP Home - yeah, I know, it sux, no choice right now.

I'm noticing that all files and dirs in the settings dir have NT AUTHORITY\SYSTEM:F permission only. The user does not appear in the ACL of any file or directory under %USERPROFILE%\.jedit . jedit seems to work ok until any change to those files are made. Neither global nor buffer options are saved between sessions, and any new plugins won't work until permissions are explicitly set to include the user. The user has admin privileges. No properties file is saved. If options are set, the user is manually added to the ACL of #properties#save# with full access, the file is copied to properties, jedit is run, then the options set in the previous session will appear. Any change to the options wipes out the properties file though, and all settings are again lost for subsequent sessions. The properties file is now gone.

Any ideas folks?

Thanks
Gnome customicons
Submitted by happy on Wednesday, 26 May, 2004 - 09:13
Hello!

I created a gnome like icon customisation package. Some icons are missing, but fixed in the near future.

Screenshot: http://www.gear.hu/files/java/jedit/gnome_customicons.png
DL: http://www.gear.hu/files/java/jedit/gnome_customicons.jar
Mac OS X 10.3.3/.4 and No Japanese Input
Submitted by wwvuillemot on Thursday, 27 May, 2004 - 01:17
I have noticed that while jEdit displays Japanese correctly, it does not allow for input. I have tried to setting text area to Japanese fonts, et cetera. I have tried to also changing encoding. Nothing seems to permit Japanese input even when Kotoeri is set to hiragana entry. Any help would be appreciated.
-settings flag re-definition
Submitted by Anonymous on Friday, 28 May, 2004 - 04:24
hiya,

I use jEdit everyday for school homework (.txt files), and also school programming assignments (.java, .c, .h, .html, .sh ...the list goes on...) as I am a CSC major.

I solely use jEdit off of my Creative Muvo flash drive under Linux and MS boxes at school and at home. While under MS boxes I run jEdit from a custom batch file I have written that sets up Doskeys to various Java applications stored on the flash stick and sets up drive paths and parameters for say the command "jedit" to be invoked as follows from any computer with my custom (windows) enviroment variable "MPATH" giving the path of the device (eg "g:"):

I invoke jedit typically with the following doskey (or command in shell):
set MPATH=g:
set JDIR=%MPATH%\files\japps
rem set the plastic l&f in the Java VM boot path.
set PLF=-Xbootclasspath/a:%JDIR%\jedit\jars\plastic-1.2.1.jar
set CNFG=-settings=%JDIR%\jedit\settings
set NSS=-nostartupscripts
set SOPTS=-Xms8m -Xmx16m
set LOPTS=-Xms8m -Xmx64m
doskey jedit = java %PLF% %LOPTS% -jar %JDIR%\jedit\jedit.jar %CNFG%

...I have alot of Java applications configured the way I want them to look, and with various runtime parameters enabled to suit my liking...

I hope that the command line option for specifying a different settings directory for jEdit could be modified as it is (I believe) incompatible with MS Win9x (and WinME). "-settings=" is not allowed in a batch file (pretty sure) or command line parameter under win9x because of the "=". A specific example is I cannot legally put the line: set CNFG=-settings=%JDIR%\jedit\settings, into a win9x batch file due to the double usage of "=".

Can this command line specification be changed to reflect more usual conventions used in Java application arguements? eg. java -classpath , or perhaps even jedit.jar -settings:

Under jEdit "Compatability" page, it should work under windows, but obvisiously this is not necessarily 100% true. I hope my bringing this issue up helps bring jEdit one step closer to be an even better application.......and yes, while also making my life easier.


David Gurba, email: blue_technx@yahoo.com
character encoding - german umlaute ä,ö,ß,..
Submitted by Anonymous on Sunday, 30 May, 2004 - 08:56
Hello,

I have a problem to get those properly shown - I tried UTF-8 for loading and saving: it will not load load it properly, and it will make a mess when it saves the file (the char wont be shown properly with other editors which work fine..)

If I use ISO8859_1 it does properly load and save those characters, but i will not be able to enter them using my german keyboard - it will produce this: ���� which will be shown in my external editor as: ���� ..

I tried other encodings but none would work.

I am running Debian Sarge and KDE 3.2. I am using SUN Java:
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

Thank you for any help!

I love jEdit Smiling

Miki
How to install a scheme?
Submitted by Anonymous on Monday, 31 May, 2004 - 17:11
I have searched jEdit Help. And the forums here. And I can not figure out how to install the schemes. (Maybe a quick link could be added on the scheme download page?)

Thanks in advance.

--Xapp
JavaCore-aware JCompiler Plugin (JCompiler.zip v1.6.1 by Doug Breaux)
Submitted by doug on Tuesday, 1 June, 2004 - 02:59
I created a JavaCore-aware version of JCompiler. First, I created a 4.2 version of JCompiler and called it 1.6.0 in its .props file. (The Plugin Central version is 1.5.0). I did put this version into CVS, but I forgot to ask the current maintainer's permission, so I may need to back that out.

In the meantime, I created a local version I called 1.6.1 that added basic interaction with JavaCore. It requires JavaCore and obtains its classpath and sourcepath from that plugin. However, I also provided and registered a simple JavaCore JCompilerClasspathSource implementation that simply uses the existing JCompiler OptionPane HistoryTextFields as the source.

If "JCompiler" is selected in JavaCore's option pane, JCompiler behaves exactly as it does today, except that I've rearranged the option pane to put classpath and sourcepath at the bottom.

If something other than "JCompiler" is selected in JavaCore, the JCompiler classpath and sourcepath fields on its option pane are disabled and a JLabel is added explaining that fact.

NOTE: Either way, the other JCompiler "classpath" options will still be added to what JavaCore returns: Required Library Path, Output Directory, and package of current source file.

I can see that this behaviour, as well as some others, are things some people might like to see done differently, and that's fine. Hopefully this is at least a good starting point and maybe even immediately beneficial to people wanting to use the Ant ClasspathSource implementation.

I'm uploading a zip with both the source and the compiled jar.

Print header and footer
Submitted by Anonymous on Tuesday, 1 June, 2004 - 18:21
Hello,
Is there a way to get jEdit to print a footer with the date and time the file was last saved and the total number of pages ? (I know it's possible to print the current time and date and the page number). I'm using 4.1 final.
Thanks.

Andre
SSH Console
Submitted by Anonymous on Wednesday, 2 June, 2004 - 00:40
Hi!

I want to use a SSH console, because the Perl scripts which I edit should be tested and executed on a remote server. But the Console-Plugin can't handle normal STDIN/STDOUT data, so I can't use plink (Putty Command-Line SSH) and the error detection of the Console-Plugin

Does anyone have an idea how to solve that?

Thanks in advance!
newbie question about the XML Tree window
Submitted by Anonymous on Wednesday, 2 June, 2004 - 08:03
I do not understand how to get the XML Tree dockable window that I see on the screenshots. I have downloaded the XML plugin but that doesn't seem to help me, how do i do?
How to launch jEdit from SourceCode?
Submitted by Anonymous on Wednesday, 2 June, 2004 - 13:01
Hi,
I downloaded Java Source Code but there are so many files that I don't understand how to launch jEdit...
Can anyone help me?
Mips R2000 programming
Submitted by imgod2u on Thursday, 3 June, 2004 - 12:13
I know nobody probably does R2000 programming but for the developers, is there any reason the $t0 register isn't highlighted when in MIPS R2000 mode? It's a minor thing but I was wondering whether there was a specific reason for it.
vi "command mode" keyboard effect
Submitted by Anonymous on Thursday, 3 June, 2004 - 13:37
Does anyone know if there exists a way to put jEdit into a "command mode" ala vi? I'd like to be able to hit escape (or any other chosen key sequence) and have a set of keys that allow navigation, selection, open line, etc. Is there a plug-in that would allow that functionality?
Editing XML tag values validated by XML Schema
Submitted by lastguru on Thursday, 3 June, 2004 - 21:00
It would be good if Jedit could use the enumerated values (eg., boolean type or string enumeration) in XML tag editor. The same is working for DTD with dropdown lists.
User login
Browse archives
« May 2004 »
MoTuWeThFrSaSu
 
4
8
11
16
23
29
 
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