jEdit Community - Resources for users of the jEdit Text Editor
2 questions - folding and opened files
Submitted by diabl0 on Sunday, 1 August, 2004 - 10:06
I have 2 questions about jEdit.

1: How to configure jEdit that it can fold sourcecode betwen { and } (or other configured chars/strings)... for example code looks like that:

function gen_new_size($old_x, $old_y, $new_x, $new_y) {
$gen_x = $new_x;
$scale = $old_x / $new_x;
$gen_y = intval( round( $old_y / $scale ) );
return array($gen_x, $gen_y);
}

and now i want to fold it to:

function gen_new_size($old_x, $old_y, $new_x, $new_y) { [4 lines]
}

------------------------

2: I usualy working o multiple files (5-10), and in prewious versions of jEdit, when i quit jedit and then launch it again, all opened files was still opened. Now, when i close and reopen jedit, it starts with blank file.
What/where is option to force jEdit to keep opened files open after reopen?
hypersearch results window--can fontsize be increased
Submitted by mchunkat on Saturday, 31 July, 2004 - 06:43
Am a total jedit newbie...Found it to be much faster than expected...wanted to know whether there is any way to increase the fontsize of results in the hypersearch results window. My eyesight is not what it used to be...thanks in advance.
Mohan Chunkath
changing colors of the dock panels
Submitted by Anonymous on Friday, 30 July, 2004 - 20:34
Anyone know how to change the default colors of the docking area? (File System Browser, HyperSearch Results, etc)

The colors in general are fine, but the thing that bothers me is that the *selected* panel does not stand out very clearly on my laptop display, which is what I use for work. So it's difficult to tell which panel to click to close down the docking area.

In a nutshell, there's poor contrast between the unselected and selected docks.

Thanks for any tips,
Paul
changing colors of the dock panels
Submitted by paulflory on Friday, 30 July, 2004 - 15:31
Anyone know how to change the default colors of the docking area? (File System Browser, HyperSearch Results, etc)

The colors in general are fine, but the thing that bothers me is that the *selected* panel does not stand out very clearly on my laptop display, which is what I use for work. So it's difficult to tell which panel to click to close down the docking area.

In a nutshell, there's poor contrast between the unselected and selected docks.

Thanks for any tips,
Paul
Is there an ability to view "Procedure" lists (Function Lists in UltraEdit)
Submitted by Anonymous on Wednesday, 28 July, 2004 - 03:11
Community,
I currently use UltraEdit but will want to go over to jEdit on my Linux machine.
In UltraEdit there is a list one can view (similar to the browser list) that one can set up to show the beginning of each procedure. By double clicking on a specific procedure, one is transported to the line in the main editor window.
In UltraEdit it's found on View | View/Lists | Function List.
Is there such a beastie on jEdit or anything similar.
CodeBrowser
Submitted by didiergm on Tuesday, 27 July, 2004 - 15:17
Hello,

Is there a way to sort the function/variables ... list in a case insensitive manner ?

Thanks in advance
Didier
Wrapping selected text by command
Submitted by Anonymous on Friday, 23 July, 2004 - 08:06
Hi, how can I insvruct jEdit
to wrap a selected (i. 300 chars long line) at a specific or some kind of usual column number?

It's not an automatic wraping at the view-layer that I want. I want to get \n-s inserted at for example every 80th character or better at each blank whose column# is > 80

does there exist such a command or does anyone has a macro for that?
Where can I find a collection of macros?
how to add reference of other api manuals from within a zip file to jedit help window?
Submitted by Anonymous on Sunday, 18 July, 2004 - 08:52
Hi,
Is there a way to add the references to manuals of other softwares - such as jdk api - so that the documentation can be loaded from a zip file into the jedit help window. i know that unziping the manual into jedit/doc/api folder along with a simple xml file does the job. However, its a criminal waste of space to unzip the manual (help files).

Thanks,

Salgavkar
Themepacks and/or skins? - Look and feel plugin
Submitted by dave_mwi on Friday, 16 July, 2004 - 15:49
Maybe I'm missing something here...but I can't seem to get any theme packs to work. I've downloaded a couple if themes...I think. I've gone to http://javootoo.l2fprod.com/ and downloaed some zip files for different themes and tried to load them throgh the Look and Feel plugin, restarted the application, but I never get any changes...am I doing something wrong?? Maybe not downloading the right files...It seems a little confusing as to which zip files I should be downloading from some of these theme sites...thanks for your help.
additional examples for ActionHooks plugin?
Submitted by paulflory on Thursday, 15 July, 2004 - 21:41
Does anyone have any examples for the ActionHooks plugin, besides the few that are in the plugin's online help?

Looks like a powerful capability, but need a jumpstart on possibilities.

Thanks,
Paul
Help for Antelope
Submitted by ccapeng on Thursday, 15 July, 2004 - 20:08
I can't get my Antelope panel displayed. That's my exception :
[error] AWT-EventQueue-0: java.lang.InternalError: Can't instantiate Preferences
 factory java.lang.ClassNotFoundException: ise.library.UserPreferencesFactory
[error] AWT-EventQueue-0:  at java.util.prefs.Preferences.(Preferences.j
ava:204)
I use "Send To" in win xp to open up a java file. My jedit shortcut is
C:\j2sdk1.4.2\bin\java.exe -classpath "\j2sdk1.4.2\jre\lib\rt.jar;\j2sdk1.4.2\lib\tool.jar" -jar "C:\Program Files\jEdit 4.2pre14\jedit.jar" -reuseview
What am I missing?
Any examples for configuring & using the SuperScript plugin ?
Submitted by paulflory on Thursday, 15 July, 2004 - 05:10
Hi all,

I'm having problems getting SuperScript to do anything but output what appear to be error messages. This sounds like a totally cool plugin, but I can't find any examples of how to setup and use it.

I'd love to be able to run perl scripts with it, and eventually beanshell scripts/macros.

Anyone have tips?

Here's the output I get when trying to compute 1+1 several different ways, none of which work:

-> 1+1

org.apache.bsf.engines.perl.PerlEngine
-> 1+1

bsh.util.BeanShellBSFEngine

bsh.util.BeanShellBSFEngine
-> 1 + 1

org.apache.bsf.engines.activescript.ActiveScriptEngine

org.apache.bsf.engines.activescript.ActiveScriptEngine

bsh.util.BeanShellBSFEngine


-Paul
Starting jEdit w/o Launcher
Submitted by Orion on Tuesday, 13 July, 2004 - 22:00
I've always used the jEdit launcher to execute jEdit in the past (winXP pro). However, since this is no longer supported, I've had to find other means.

I've tried, from the run menu: java -jar d:\jedit\jedit.jar

But it closes as soon as it starts.

I've tried creating a "shortcut" that runs java -jar d:\jedit\jedit.jar, but I get the "dos" console running in the background, taking up valuable tasbar space.

And, running java -jar d:\jedit\jedit from my "dos prompt" runs it fine, but again, I'm left with the console taking up space.

Is there a way to run jEdit so that I only have the jedit window up, and none of these others? Thanks.
Using side mouse buttons for copy/paste
Submitted by jjrockman on Tuesday, 13 July, 2004 - 14:19
Hi, up until this week I had jEdit configured to allow the use of the side mouse buttons on my mouse (MS Intellimouse) to do copy (left side button) and paste (right side button). This has grown into something I can't live without Smiling
Last week windows update screwed up my machine and I had to reinstall windows. I can't figure out how to configure this same behavior anymore, I did it so long ago I can't remember...can anybody PLEASE help?!? I'm going crazy...
Autocomplete/dotcomplete for other languages other than Java?
Submitted by Anonymous on Friday, 9 July, 2004 - 17:23
Hey there,

Sorry if this is an obvious question, but i've spent several hours looking and have not found anything.

My question is: is there some plugin/way to hack dotcomplete to work with other languages other than java? I got CodeBrowser working just fine with CTAGs and it's great in that respect. It does exactly what i want for my C source/header files.

What i would love to do is have an autocomplete and dot syntax that used that ctags information to aid in code writing while editing an actual file, instead of having to open the code browser and then saying insert.

Does anyone know if there is a way to do this with jEdit?

Thanks

Brent.
GTK Look and Feel
Submitted by Anonymous on Wednesday, 7 July, 2004 - 19:03
I am using jedit 4.2pre14 on a Fedora Core 2 (Linux) machine with java version:
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)

In JDK 1.4.2 sun introduced a GTK look and feel (http://java.sun.com/j2se/1.4.2/docs/guide/swing/1.4/Post1.4.html) that I would like jedit to use. The problem is that it dosn't show up in the interface section of the global options. Running jedit with the
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
option still didn't make it work. I also made sure I was using a supported gtk theme and did not see any relevant output of errors or things of the sort (I did see output of errors about some plugins, but I believe that is unrelated).
Jedit continues to run fine, but insists on using the Metal L&F.

Any help would be appriciated!
Need Help with Column Insert & Block Fill Insert functions of Texttools plugin
Submitted by gkl on Wednesday, 7 July, 2004 - 08:25
Have been trying out the Column Insert & Block Fill Insert functions of Texttools plugin but keep getting an error message in the status bar:
"rectangular selection required".

I am pretty sure I've made a rectangular selection because when I do a rect move right with the same selection it works ok.

Has anyone successfully used these functions?
? replacing tabs/spaces. How to stop it?
Submitted by Anonymous on Wednesday, 7 July, 2004 - 00:30
I've just started getting into jEdit and when using it seems to replace spaces/tabs with ????? I'm using jEdit under Linux (Lindows 4.5.122) at home but will be saving it as dos/ascii for upload to a Windows 2000/XP machine. an example of what is happening is below. Any help is much appreciated. select a.emplid, a.first_name, a.last_name, a.extension, b.address1 ? from ps_utc_name_phn_vw a, ? ? ?ps_addresses b where a.emplid ?like '10002%' and a.emplid ? ? ?= b.emplid and b.addr_type = 'STAF' and b.effdt ? ? ?= (select max(b1.effdt) ????????????????? ?????? ? ????? ? ? ?from ?ps_addresses b1 ???????????????????????????????? ? ? ?where b1.emplid ? ?= b.emplid ???????????????????????????????? ? ? ?and ? b1.addr_type = b.addr_type ????????????????????????????????? ? ? and???????b1.effdt ? ?<= sysdate ????????????????????????????????? ? ?) Peter
Adding compilers to Console Plugin...??
Submitted by ojl96 on Monday, 5 July, 2004 - 17:13
Hi.

How do I add alternative compilers to the Console Plugin??
In the Pugin Options dialog, I can see the Console plugin, which has a compile & run section. However, I want to add new options to the drop down lists.

Anybody any ideas??

Thanks,
Ollie.
How to use Folding?
Submitted by ccapeng on Friday, 2 July, 2004 - 15:05
When I am editing my java code, I do see a line in the gutter to match a pair of curly braces. I set my Folding mode as "explicit" and try "Collapse Fold", but never see it work. Do I miss something?
User login
Browse archives
« May 2024  
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
31
 
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   83283
Context Free Art (*.cfdg)   0.31   46056
BBEdit scheme   1.0   18596
JBuilder scheme   .001   18496
ColdFusion scheme   1.0   18025
R Edit Mode - extensive version   0.1   17474
Advanced HTML edit mode   1.0   16207
Matlab Edit Mode   1.0   16069
jEdit XP icons   1.0   15230
XP icons for jEdit   1.1   14294