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.
Disabling Changed File Check on Alt-Tab/Change of Program focus
Submitted by
Aristoi on
Tuesday, 19 December, 2006 - 21:30
I am using jEdit 4.3pre3 on Windows XP.
When I switch to another application, and back to jEdit, there is a significant lag while the Samba share refreshes. I assume that jEdit is checking to be sure the file contents have not changed. I have set the global option "If files are changed on disk" to "do nothing" but it still seems to be checking. The 5 second lag is rather maddening, and I would like to know if there is any way to disable this file check entirely.
Thank you in advance to anyone who has any kind of solution!
View File Sys Browser as Tree
Submitted by
mattslav on
Wednesday, 13 December, 2006 - 14:44
I would like to view the File System Browser as a tree, similar to Windows Explorer. Is this possible?
Edit Modes: Brackets in Literals
Submitted by
jaaa on
Wednesday, 13 December, 2006 - 09:13
Hi,
I have a problem with edit modes and string literals with brackets in jEdit.
I'm working on a little custom query language at the moment. jEdit would be an ideal editor for it if I just could get the edit mode working. The problem is that I have literals that contain brackets and that seems to break the "Complete Word" feature as well as the syntax highlighting.
Here's an example of the mode:
"
"
=
AND
OR
Attribute1
Attribute2
Attribute3
NULL
Value1
Here's an example of a simple query:
(Attribute1 AND Attribute2) OR (Attribute1 AND Attribute3="Value2 (detail)")
Uncommenting the literal with the brackets breaks the edit mode as already mentioned. Is there a way to get aroung this? Am I missing something? I tested with both 4.3pre and 4.2 on WinXP/jdk1.5.0_09.
Thanks,
Jussi
Jedit forget (some) settings
Submitted by
matthewyoung on
Sunday, 10 December, 2006 - 22:56
I am using 4.2final under Ubuntu 6.10.
I set "View->line number" checked, "Plugins->Buffer tab" checked. On restart, these settings are not restored. But tab width setting is. What's going on?