jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
Java Heap Error
Submitted by WizardWilson on Thursday, 1 February, 2007 - 18:05
How do I adjust jEdit to allow the opening of larger files? I have reviewed the users guide as indicated but can't locate the spot or steps to correct my error.
Show number of selected lines and characters (Show_Number_Of_Selected_Lines_And_Characters.bsh v1.0 by Stickman)
Submitted by Stickman on Friday, 2 February, 2007 - 11:02
A very simple script that shows a status bar notification of how many lines and characters are currently selected, and how many selections there are (if more than one). Please note: this macro doesn't appear to work unless it's assigned to a shortcut key (i.e. triggering it via the Macros menu does nothing).
Programmatically change editor settings?
Submitted by brainbug on Friday, 2 February, 2007 - 17:36
I find it tedious to set up my syntax highligting options and key bindings. Is there a way to do this programmatically?

/Johannes
lost windows
Submitted by godfailed on Friday, 2 February, 2007 - 20:15
I use jedit from my thumb drive, which works just fine. But on one system my display is in portrait mode the other system is a regular 1280x1024 resolution. My problem is that when I open a dialog box (say for opening a file or search) the window placements are saved from my old system and are way off my screen and I Can't access the windows. is there any way to change what location the windows open at?
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
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?
DB Terminal fails to connect to database
Submitted by polypus on Sunday, 4 February, 2007 - 15:57
i am running jedit 4.2final, and DB Terminal 0.1.1 on linux (ubuntu dapper).

i finally figured out how to install the java driver, i think?. i downloaded version mm.mysql-2.0.14-bin.jar and put in in .jedit/jars. i was getting array out of bounds errors with version 3.

in the DB Terminal connection window i have:

host: 127.0.0.1
database: depot_development
user: root
password:
DB Type: MySQL

but on connect i get the following error:

"Cannot connect to MySQL server on 127.0.0.1:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.lang.NumberFormatException)"

i can log on just fine with:

mysql -u root --protocol=TCP --port=3306

and

mysql -u root --protocol=SOCKET

any ideas anyone? thanks many.
Hide Columns in File System Browser?
Submitted by mkuehn on Monday, 5 February, 2007 - 16:46
Is there any way to hide columns in the File System Browser? I don't care to see anything but the file/directory name. I'll edit config files, install a plug-in, whatever it takes.

I've been looking for this feature for a long time. Does it already exist somehow, somewhere? If not, how hard is it to add the feature? From my non-application developer perspective, it would be as simple as not showing the columns that are unchecked in a preferences pane somewhere.

Please let me know.

Thanks,
Matthew
Need someone to maintain the JTA plugin
Submitted by poleta33 on Friday, 9 February, 2007 - 13:15
Hi

The JTA plugin is the ONLY features that really miss to jedit : it consists in having multiple connections onto differents servers to execute commands (much more powerfull than the console plugin which is limited to the current station you use)...

so this plugin is not maintained anymore... if someone can try this challenge !

more information here : http://sourceforge.net/tracker/index.php?func=detail&aid=1627596&group_id=588&atid=350588
Need someone to maintain the JTA plugin
Submitted by poleta33 on Friday, 9 February, 2007 - 13:17
Hi

The JTA plugin is the ONLY features that really miss to jedit : it consists in having multiple connections onto differents servers to execute commands (much more powerfull than the console plugin which is limited to the current station you use)...

so this plugin is not maintained anymore... if someone can try this challenge !

more information here : http://sourceforge.net/tracker/index.php?func=detail&aid=1627596&group_id=588&atid=350588
Toggle comment instead of insert comment
Submitted by ZortTheMighty on Friday, 9 February, 2007 - 23:26
Could you please change the Line Comment (Edit > Source > Line Comment) and Block Comment (Edit > Source > Block Comment) actions to toggle comments instead of simply adding them. i.e. If the selected text is already marked as a comment then remove the comment marking.
Problem with drop down boxes on website
Submitted by ZortTheMighty on Saturday, 10 February, 2007 - 00:05
I'm using firefox 2.0 and all the drop down boxes have a width of only one character. I can't see what options there are to select! Is this the same for you other firefox users? If so please can one of the site admins fix this.

On a related note, there doesn't seem to be any way of contacting the site admins from this website, only the forums are available.

A site map would be nice too, if you can add that to the todo list that will be choice.
PKGBUILD edit mode (pkgbuild.xml v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:04
Edit mode for PKGBUILD files (Arch Linux).

Add the following line to your modes/catalog file
<MODE NAME="PKGBUILD" FILE="pkgbuild.xml" FILE_NAME_GLOB="PKGBUILD" />
Runs makepkg for the current opened PKGBUILD-file (Make_arch_package.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:35
Only for Arch Linux users.

Runs makepkg command for the opened PKGBUILD-file. You need a Console plugin.
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:39
Only for Arch Linux users.

Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
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
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
strange behavior of the ftp-plugin
Submitted by vik on Wednesday, 28 February, 2007 - 09:06
Hi,

i'm using jEdit on a Windows XP SP2 maschine.
when saving small files via ftp-plugin to a unix-host, everything works fine.

If the file size increases up to ~3kB i receive execptions like:

java.net.SocketTimeoutExceptionjava.net.SocketTimeoutException

or

java.net.SocketException: Connection reset by peer: socket write error


This happens also in several combinations of jre ,jEdit and ftp-plugin, eg.

jre_1.5.0_06 and jedit_4.2 final with ftp-plugin 0.72
jre_1.6.0 and jedit_4.3pre8 with fpt-plugin 0.8


Any ideas or help?

Thanks a lot, vik
REQ: Editable fold stings
Submitted by wrongway on Wednesday, 28 February, 2007 - 16:23
I am looking for a feature to allow me to change jedits default fold strings from {{{ }}} to something like { }.

I used to use the customizable folds plugin, but that hasnt worked since 4.3pre2. It appears something changed in the api, and the plugin is no longer actively developed.


Someone PLEASE help... Jedit is the best editor on the planet, and it can no longer do automatic folding...
User login
Browse archives
« February 2007 »
MoTuWeThFrSaSu
 
6
7
8
11
12
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
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