jEdit Community - Resources for users of the jEdit Text Editor
Archives
Jedit and sql jdbc
Submitted by herbb1 on Thursday, 30 March, 2006 - 18:25
I have the sql plugin working with ODBC connections, but would prefer JDBC.
Per plugin help file, I should add information under the 'Global options'...
for SQL->JDBC pane...but I do not see that pane anywhere..using jedit 4.3pr3..

Anyone know how to configure this version to use JDBC drivers?

Thank you.
Editing files over SSH
Submitted by BarneyN on Friday, 31 March, 2006 - 07:29
Hi,

I need to edit files over an SSH connection.

I have tried to use the FTP plugin with "Open from Secure FTP Server", but it fails with an "Authentication has not been completed" message.

The thing is, I am quite sure that the remote server runs an scp server, but not an sFTP server.
Is this causing my problems, or is it something similar to what is described here?
http://community.jedit.org/?q=node/view/1616

I am not in control of the remote server, so I cannot change any settings there (or ask for them to be changed).

Please advice,
Barney
in-text Spreadsheet/Tables
Submitted by turtlecove on Friday, 31 March, 2006 - 17:19
Does anyone know of a plugin that will let me manipulate tables of text in a spreadsheet-like way?
I keep all my life/work information in text files and I'd really like to be able to store structured information in a more usable format.
I am thinking something like a special "tag" that means the follow lines are CSV data.
Eg:

[TABLE fs=|]
Mary Smith|40.34|xyz
John Doe|12.19|abc
Nathan Brazil|234.50|123

And the plug in would recognize this table and display it in a nice grid with some features like sort by column, resize columns, etc.
Maybe even some primitive formulas like SUM(), AVG(), etc.

If I looked at the file in a different text editor I would see the CSV as I typed it above. In jEdit I would see the "pretty" grid.

Anything out there like this? Anything even similar?
JEdits config files
Submitted by Slith on Saturday, 1 April, 2006 - 07:28
Ive been using JEdit on my USB pen drive for a while now. The only problem with this is that for every computer I take it to the settings are diffrent.

What I mean is the setings are saved in the users home folder on the machine used.

I would really like it if I could get the settings to be saved on my USB pen drive.
Is there a way to do this?

If not what source files would need changing? And which ones should I look at?

Thanks
jedit usage problem & reinstalling jedit
Submitted by joyce on Saturday, 1 April, 2006 - 19:17
i use jedit for about a year already. normally when we open there is a few times, they do not save. or time out error. recently this few days, or this few weeks, the problems happen that after i correct the php files with jedit, i cannot never save the file. 1 out of 100 times i can save. and i need to amend my website!

then i uninstall all jedit include the file .jedit in document and setting files.

i download both the stable version java based jedit and the development version and i can never download the plugin ftp and buffer list. i uninstall again and try another minor, i try all the minor in usa already and i uninstall everything after i try and try and it still have connection error 100%. i even try the minor in uk and it does not work.

i need jedit to amend my website!

i have to use the java running enviroment for the jedit. i download the latest version already from sun corporation.

please help, i need help. any help to solve this problem will be appreciated.
cannot save jedit change file, and download again and cannot download plugin, always connection error time out
Submitted by joyce on Saturday, 1 April, 2006 - 20:01
i use jedit for about a year already. normally when we open there is a few times, they do not save. or time out error. recently this few days, or this few weeks, the problems happen that after i correct the php files with jedit, i cannot never save the file. 1 out of 100 times i can save. and i need to amend my website!

then i uninstall all jedit include the file .jedit in document and setting files.

i download both the stable version java based jedit and the development version and i can never download the plugin ftp and buffer list. i uninstall again and try another minor, i try all the minor in usa already and i uninstall everything after i try and try and it still have connection error 100%. i even try the minor in uk and it does not work.

i need jedit to amend my website!

i have to use the java running enviroment for the jedit. i download the latest version already from sun corporation.

please help, i need help. any help to solve this problem will be appreciated.
stingy regular expression matching
Submitted by kellner on Monday, 3 April, 2006 - 20:18
Hi,

I'm trying to clean up a document that was automatically converted to LaTeX. The document contains strings like these:

"(\textit{sahaprat}\textit{ī}\textit{tiniyama}). [Reply:] Not even for the piece of ground and the pot is it like this! However, the fact that, if both exist, there is no restriction of the cognition to [only] one image (\textit{ekar}\textit{ū}\textit{papratī}\textit{tiniyamaviraha}),"

(never mind the meaning Smiling)

The idea is to get rid of all the unnecessary instances of \textit{}. So I thought to search for instances of \textit{} that immediately follow one another.

I entered this in the (regexp) search box: \\textit\{(.*?)\}\\textit\{(.*?)\}
and tried replacing it with: \\textit\{$1$2\}

The problem is that the stingy operator ("?") is not stingy enough: apparently the search function looks forward for the second instance of italicization *somewhere* in the document; it doesn't look for instances of *contiguous* italics.

Thus, the regexp also finds:

\textit{some italicized stuff} Oh and here is lots of writing in between! This should not be part of what is found, but it is! \textit{next italicized stuff}.

Somehow I can't bring myself to believe that this is how the regexp should be understood. Or am I barking up the wrong tree?

I also tried a positive lookahead \\textit\{(.*?)\}(?=\\textit\{(.*?)\}), but this produced the same unwanted results.

Any advice would be greatly appreciated,



Thanks in advance,

best regards,
LatexTools: Bibtex Navigator doesn't show contents
Submitted by Fredo on Wednesday, 5 April, 2006 - 14:37
Hi!

When I browse a bibtex database with the bibtex navigator, only the "Ref" field is shown. The other columns (Title, Author, Journal) remain empty. I tested this also with the test.bib from tetex, but it is the same there.

I am using jEdit 4.2 with LatexTools 0.5.2 on Ubuntu Linux (Sun SDK 1.5).

I hope anyone can help me with that, I'd really like to use jEdit for texing.

Regards,
Frederik
Do JIndex plugin work on JEdit 4.3 or 4.2?
Submitted by nicarran on Thursday, 6 April, 2006 - 05:59
Hello. JIndex 1.1 does not work on my JEdit 4.3pre2 of 4.2. When I configure it, the index construction takes (I think) too little time and when I try to look for documentation I receive an ArrayIndexOutOfBoundsException. Is this a JIndex bug or what... Do you have successfully configured it on any of these JEdit versions?
Thanks for your help.
key press
Submitted by chovo on Thursday, 6 April, 2006 - 12:40
Hey!

im writing a project and i cant get it to work!

im doing a text editor and i want to check if any key is pressed in the jtextarea, if so when i try to close it should ask if i want to save or not, otherwise just close.

i want to use a boolean after checking
Problems with java compiler
Submitted by jesseainskeep on Friday, 7 April, 2006 - 05:05
I've been using NetBeans and I'm really sick of it. I want to try something different, and I really like using JEdit for all my other stuff. I've got the hang of Java, but Netbeans does most of the compiling and stuff for you. I cant get the compiler to work for me at all. This is the error I keep getting....

java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
at jcompiler.JCompilerPlugin.executeCommand(JCompilerPlugin.java:106)
at jcompiler.JCompilerPlugin.compileFile(JCompilerPlugin.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at bsh.Reflect.invokeOnMethod(Reflect.java:149)
at bsh.Reflect.invokeStaticMethod(Reflect.java:100)
at bsh.Name.invokeMethod(Name.java:872)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2910)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


If anyone would be able to help me, I would really appreciate it.

Thanks.
highlight and syntax to texteditor!!
Submitted by chovo on Friday, 7 April, 2006 - 10:46
Anyone have any good ideas to start with a syntax
highlighting funktion for a texteditor?

Thanks for any replies Smiling
Previous word actions with nice whitespace eating and selection movement actions (SelectionMovement.zip v0.1 by Stefan Rank)
Submitted by wrstlprmpft on Friday, 7 April, 2006 - 15:07

PrevWord.bsh - like Go to Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.

SelectPrevWord.bsh - like Select Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.

BackspaceWord.bsh - like Delete Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.

Using these for the shortcuts C-left, CS-left, and C-backspace gives you word movement that always stops at the beginning of words, but does not stop at the end of words. (For the 'Next' variants use the standard actions with (Eat Whitespace))

The Move_Selection_* macros allow you to ... well, move the current selection around. If you like you can bind them to complicated shortcuts and ruin your fingers. ;-)

(I use AS- plus the standard movement keys... e.g. ASC-left to move past one word on the left)

There is lots of ugly code duplication in these macros, but I guess it's ok as these should not be macros but builtin anyway. :-)

Commando and console 4.2.5.1
Submitted by beaubert on Sunday, 9 April, 2006 - 12:10
Hi, I have made a smal commando script to compile (with wmake) and run an application. This script do 2 thinks, first it compiles my app and then run it (in the system shell) in a directory specified by the user. This commando script works well with Jedit 4.2final but I'm unable to make It work with Jedit 4.3pre3 with console 4.2.5.1 and 2sdk1.5-sun: the compilation with wmake works fine but I'm unable to lauch my app ? But the 4 commands in the commando dialog are there but in only do the first two ... Is it a bug with console 4.2.5.1 ? Any ideas ? Here is the commando xml file: buf = new StringBuffer("cd "); buf.append(compildir); buf.toString(); buf = new StringBuffer(); if (target.equals("wmake_all")) { buf.append("wmake"); } else if (target.equals("wmake_debug")) { buf.append(" "); } else if (target.equals("wmake_clean")) { buf.append("wclean"); } buf.toString(); buf = new StringBuffer(); if (exe) { buf.append("cd "+casedir); } buf.toString(); buf = new StringBuffer(); if (exe) { buf.append(application+" .. "); buf.append(MiscUtilities.getFileName(casedir)); } buf.toString();
Terminal plugin
Submitted by beaubert on Sunday, 9 April, 2006 - 16:32
Hi is there a plan to develop a terminal plugin for jedit.

I know that there are the jta ssh and jta_telnet plugins but development seems to be closed and i'm unable to make it work smoothly

Or can the system shell run the user shell like bash, tcsh ...
WhiteSpace Plugin is broken under JEdit 4.2
Submitted by tomasio on Monday, 10 April, 2006 - 12:52
I am using JEdit 4.2 under Windows XP. The Whitespace-Plugin (Version 0.9.2) does not show up any Whitespace-Characters, although I configured it to do so. Is there some workaround?

kind regards,
File cant be saved ,Renaming Filed (java.io.IOException Error)
Submitted by jenith on Monday, 10 April, 2006 - 13:12
Hai,
Iam using jedit to edit my Apache VM file which they reside in remote server.
Sometimes when i try to save the file it cant be saved

Error Message
-------------
Rename failed.IO Opeartion can be done at a time only one buffer(file)
then java.io.IOEception is thrown.

Why it occurs ?
Will anyone help me for this issue?

Iam using windows 2000,Java version is 1.4.2.1
Reuse buffer when opening files externally
Submitted by romi on Tuesday, 11 April, 2006 - 08:42
Hi everyone!

Sorry if I'm posting a trivial question, but as I use jEdit in Windows and have it as my standard editor in Total Commander, or even as a default source viewer in the browser jEdit keeps opening a new buffer window (complete with all files, file browser, etc...) each time I open a new file in this way. The only way to open a file in jEdit without causing it to open a new instance is by drag-n-drop or by using the built in file browser.

Is there any way to force jEdit to reuse its buffer and not open a new window each time? Ideas appreciated...

Cheers,
Roman
Loosing arrow keys on Mac
Submitted by doughboy on Thursday, 13 April, 2006 - 05:16
Hi all,

I have been using jEdit on Linux for over a year. I recently got a MacBook Pro.

I have a problem on the Mac that did not exist on Linux. When I switch to jEdit from another application (it can be cmd+tab or mousing) the arrow keys do not work. If I type a character they then begin to work.

The only plugins I have installed (beyond defaults) are Buffer Tabs and FTP.

If anyone can help me find the problem I would appreciate it.
jEdit sluggish when not connected to network
Submitted by AlabamaPaul on Thursday, 13 April, 2006 - 15:37
I hope this is the right place to post...
I have been using jEdit on my laptop running Windows XP, and have been very happy with its performance. When I am at work, and connected to the corporate LAN or wireless LAN, jEdit works just great.

But, when I am disconnected from the corporate LAN and working without any network connection, jEdit is extremely sluggish (for example it takes jEdit 3 seconds to respond to and complete pressing the page down key in a 1500 line C souce code file).

Even if I connect to my network at home or to the corporate VPN from my home network, jEdit is still sluggish.

I've disabled and un-installed all plugins to make sure it wasn't something related to a plugin, but this had no effect.

Any ideas what may be causing this ?

Thanks,
Paul
User login
Browse archives
« March 2006 »
MoTuWeThFrSaSu
  1
20
25
26
28
 
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   108249
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