jEdit Community - Resources for users of the jEdit Text Editor
toggle fold
Submitted by McSwell on Tuesday, 13 February, 2007 - 16:40
I would like to assign a shortcut key to toggle fold. Thus, if the caret is on a line where it makes sense, ^T (let's say) would collapse the fold if the fold was already open, and expand it fully if the fold was already closed.

I don't see any obvious way to do that--there's no command in the Global Options | Shortcuts list that jumps out at me, although I could have missed it. (Nah. I thought I was wrong once, but turned out I was mistaken.)

I suppose I could write a macro, if I knew how to tell whether the current fold was folded or unfolded (and whether the current line was foldable). There must be a way, that's what the little triangles in the gutter do. But I'm not a Java programmer...

I googled this without finding anything obvious. Thanks for any pointers!

Mike Maxwell
XML parsing complete, 1 error(s)
Submitted by McSwell on Tuesday, 13 February, 2007 - 15:29
When I switch to one of my buffers that contains XML code I've written, I get a msg down on the status line:
XML parsing complete, 1 error(s)
How can I get it to tell me more about the error? (like what line it's on) I tried xmllint, but it claims no errors.

Mike Maxwell
use abbreviation for selection
Submitted by sl_ime on Sunday, 4 February, 2007 - 03:57
i have an abbreviation: key: tag abbreviation: <$1>$2$end how would i create a tag that would expand before and after a selection?
auto pairs - how to auto close ()
Submitted by nephish on Saturday, 3 February, 2007 - 17:19
is there a plugin or macro that i can use that will auto close a bracket or quote ?
this is a feature in scribes that i really miss in Jedit.
i have tried the abbreviations trick but it doesn't really work because sometimes i do want a space inside the quotes. and if i open a bracket or brace ( or { or [ and hit space twice, it closes.

anyway, if this is a feature already, please let me know how to turn it on, or if a plugin or macro, please let me know.

great editor / IDE you guys have here, i use it for everything
Help needed for regular expression replace
Submitted by bagazsi on Thursday, 1 February, 2007 - 12:35
I should like to manipulate text files containing several TITLE lines. The format of title is: TITLE "" I have to add a few number of new text rows after all title lines. I've tried it with Regular expression replace. The search for line is TITLE " the Replace with is TITLE "$1 addition of new text I've got the following error message: Sourced file: inline evaluation of: ``__internal_replace(ns) { this.callstack.set(0,ns); return ( TITLE "$1 add . . . '' Token Parsing Error: Lexical error at line 3, column 22. Encountered: "\n" (10), after : "\"$1": Could anybody help me with the right syntax, or have a good idea to solve my problem? Thanks in advance, Gaspar
Wanted: macro to set buffer to explict folding
Submitted by jhaefner on Wednesday, 31 January, 2007 - 15:47
Hi, I'm new to jedit macros; I usually rely on "record macro" to get me started, but this time it doesn't work. I'd like a macro that I can shortcut to that sets a specific (or all) open buffers to explicit folding mode (w/o all the mouse clicks). A search of community macros did not reveal anything of recognizable help. Can anyone point me in the right direction to get started? Thanks.
-jim
change priority of docked windows
Submitted by planckscnst on Monday, 29 January, 2007 - 03:00
I have a couple of docked windows that I like to leave opened most of the time. One is docked to the right, the other to the bottom. Currently, the one on the right takes up the whole right side, and the on on the bottom takes up all the bottom except that which the right has already taken. I would like this to be the other way. I want to give that overlapping corner to the bottom-docked window, not the side one. Is there a way to do this.

I expected it to matter which order I docked them at (or the order which I toggled the fly-out), but it doesn't matter. The right-docked item always takes up that lower-right corner.
Can I define characters other than space for soft wrap (4.3pre9) ?
Submitted by Lemon Juice on Monday, 22 January, 2007 - 17:36
I like jedit a lot but there's one small problem that annoys me sometimes - in soft wrap mode lines are wrapped only if a space occurs. This is a problem with long lines which have long portions of text without spaces - in those cases the line is not wrapped at all and I get a nasty horizontal scrollbar. For example long urls with parameters:

<a href="some_page.php?parameter1=1¶meter2=1¶meter3=1¶meter4=1¶meter5=1¶meter6=1¶meter7=1¶meter8=1¶meter9=1¶meter10=1>

Is there a way to make jedit break lines also at other characters like for example special chars: ? & = " ' ?
superscript plugin with perl or perlscript... where?
Submitted by wanda_b on Friday, 19 January, 2007 - 17:44
I would like to try the superscript plugin with perl or perlscript, but google gives me no clue where to find the files necessary. Does anyone know where the files are, or have any comments on perl or perlscript use? Thanks.
Having dots for each line
Submitted by AngryRobboto on Tuesday, 16 January, 2007 - 06:55
I want to know if there is anyway if there is away to set jEdit to denote dots before the line of code is written

Example: http://www.rutherfurd.net/jEdit/jedit_ss1.jpg
return Global Options to default
Submitted by frisky on Sunday, 14 January, 2007 - 06:35
how do I return Global Options to default.

For example I changed all the syntax hiliting options and want to return to the default when i first installed JEdit.

Is there a way?

Thanks
Context Help plugin in OSX
Submitted by Jeff Day on Friday, 12 January, 2007 - 02:50
I was trying to get the Context Help plugin to work in my OSX copy of JEdit, and to be honest, the documentation just went entirely over my head. I found this link about a JEdit PHP function look up macro which seemed like it would do just as well, but it seems to be written for Windows machines. Have any OSXers gotten this puppy up and going, and is there an M that I can FR or can you help me through it?
File Browser in 4.3pre8
Submitted by jhaefner on Wednesday, 10 January, 2007 - 01:58
I'm using 4.3pre8 with Java 1.5.0_10 and Ubuntu 6.10 and have noticed the following behavior:
(1) when I open the file browser by, for example, doing
file->open; I get an error message on the terminal:
[error] DefaultInputHandler: Invalid key stroke:

(2) When I use the File browser filter with for example,
*.c
I get the correct filtered list, but if I use
FU*
I get no files showing, even when there are files that begin with FU...

Anyone else see this behavior?
-Jim
Trying to setup jEdit to enable me to edit my Scheme source files in a buffer and then have them compiled with mzscheme.
Submitted by airfoil on Monday, 8 January, 2007 - 21:11
My Goal: To be able to run the PLT mzscheme command line Scheme compiler/interpreter on the contents of the current buffer.
Problem: Can't get my commando file to show up in list of available commandos
Reference:
jEdit Help: Chapter 5. Commando
User-specific commando files are loaded from the console/commando subdirectory of the jEdit settings directory.
Plugins>Console>Rescan Commando Directory should be called after files are added or removed in the user-specific commando directory.
Plugins>Console>Browse Commando Directory opens the user-specific commando directory in jEdit's file system browser.
You can find out the location of the settings directory by entering the following command in the system shell of the console
window:
%echo ${JEDIT_SETTINGS}

What I did:
1) Placed a minimal commando file named mzscheme-commando.xml in C:\Documents and Settings\kyle\.jedit\console\commando
2) Tried to find Plugins>Console>Rescan Commando Directory, but was unable to locate in jEdit GUI.
3) Searched vigorously through jEdit Help for any relevant information regarding rescanning Commando Directory, and why I wouldn't have that menu option available.
4) Finally decided to ask user group to see if anyone with more experience could help me achieve my goal of running the PLT MzScheme command line Scheme compiler/interpreter on the current buffer, whether it be through custom commando files or by other means.

Question:
Where is the Plugins>Console>Rescan Commando Directory option? I can't find it.
Is a custom commando file the way to go in order to setup jEdit to allow me to edit my Scheme source files in a buffer and then have that buffer compiled/interpreted by my mzscheme processor?

Any help would be appreciated.

--kyle
kyle at bellsouth dot net
schemekey.blogspot.com
superAbbrevs: How to break out of a macro?
Submitted by malibu on Monday, 8 January, 2007 - 17:30
Hi there.. I understand that superAbbrevs doesn't support nested macros. However, I was wondering if people could tell me what they are doing in the following situation:

If we have a macro like the following (Perl):

foreach $1 ($2) {
$3
}$end

Given that there is no nesting, how do I break out of the macro when my cursor is at $3 so that I can add another one? The only way I've found is to go to $end, type a space, and then arrow back inside the brackets. If I could just press 'ESC' to get out of the macro with the cursor at that point, it would be awesome. I'm not sure if I would even need nesting at that point. Does anyone have any ideas? Thanks!
Where is XMLIndent?
Submitted by memoimyself on Friday, 5 January, 2007 - 12:28
For years I used the XMLIndent jEdit plugin, but recently decided to try 4.3pre8 and XMLIndent was lost in the upgrade process. I switched back to 4.2, but cannot find the XMLIndent plugin anywhere -- not via the plugin manager, or searching on Google, or anywhere else.

The XMLIndent plugin was one of the best and most useful jEdit plugins for my purposes, and I'm just disconsolate that it's gone. The Beauty plugin doesn't come even close. Stupid me, should have backed up my plugins...

Anyway, does anyone have the XMLIndent plugin who could share it with me? (Am I going crazy and did this plugin actually have a different name? I've searched everywhere, though.)
Does JEdit have Dreamweaver style templates
Submitted by Peter Mount on Monday, 1 January, 2007 - 02:20
Hello

Does JEdit have anything like the templates in Dreamweaver where you only need to change the markup in one file to change the markup in all the files on a web site?

Thanks
Is there a Perl folding plugin?
Submitted by malibu on Saturday, 30 December, 2006 - 17:20
I have the CodeBrowser and the PerlSidekick plugins installed, but they don't seem to detect subroutines in Perl. All I can get are the script names in each view. I don't have any code folding except it does seem to match brackets. Does anyone know what I may be doing wrong? I'm using the newest version of jEdit and I haven't messed with the perl.xml modes file at all.
MySQL tree view plugin
Submitted by malibu on Friday, 29 December, 2006 - 23:14
I'm looking for a basic plugin that will show my DB/tables/fields in a tree view, for reference while I am developing. Is there such a thing? I installed the SQL plugin but it doesn't seem to do what I need. I love jEdit so far and I hate Dreamweaver, but it is the one thing that DW has that I miss. Thanks!
A Strange problem
Submitted by Reeves1016 on Sunday, 24 December, 2006 - 14:44
I find a strange problem.My platform is Ubuntu and JDK 1.5.0.When I use find function for serveral times,then JEdit doesn't accept keyboard action any more.I mean,it only accept mouse actions.And I use JEdit 4.3 pre8.Does anybody have the same problem??
By the way ,I wanna say that I change the default font of JVM just because the default one doesn't display Chinese.
User login
Browse archives
« May 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
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   108254
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18609
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17490
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16088
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312