jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit - can it be integrated into MicroSoft Visaul C++ IDE
Submitted by PaulCollingwood on Wednesday, 14 June, 2006 - 09:02
I have been using jEdit for some time, but have recently been working on a project that requires the use of the Microsoft Visual C++ IDE, which by default utilises it's own (somewhat limited by comparison) text editor.
Is there any way that I can hook jEdit into this IDE?
I appreciate that this may be an inappropate location for this post, but I'm hoping that someone in this community has had this experience and can point me in the direction of a solution Smiling

Thanks,
Paul
Macro for Centering Text (centerText.tar.gz v0.1 by Simao Mata)
Submitted by Simao on Wednesday, 14 June, 2006 - 11:48
I recently switched from emacs to jEdit, (I just love it, and don't miss lisp a single bit :P) and one of the features I missed is centering lines of text. Just select the lines of text to center and run this macro. The tar.gz file contains the macro and my gpg signature of the macro, you can get my public key by searching any sks keyserver for simao dot bliter dot com.
Textmate-like Editor Scheme (TextMate.jedit-scheme v1.1 by Jorge Manrubia)
Submitted by jorge manrubia on Wednesday, 14 June, 2006 - 17:41
This is an editor scheme which imitates the textmate highlighting scheme. It's based on the screenshots shown in the uruRails blog and also in other screenshots from Internet. Updated with proper colors for selection highlighting and for the gutter.
jEdit vs Ubuntu 6.06
Submitted by imehesz on Wednesday, 14 June, 2006 - 22:23
Hello everybody,

I started to use jEdit about 3 months ago w/ windows. and i just love it... I tried to install it on my debian laptop but i got some error message during the installation and since that laptop is my "experiment" laptop I installed Ubuntu 6.06...

so finally, jEdit is up on my computer but it won't start... and when I try to launch it through command line, i get a nesty message saying:

GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.NoClassDefFoundError: org.gjt.sp.jedit.jEdit
*** Got java.lang.OutOfMemoryError while trying to print stack trace.

Do you guys know what it is???

thanks
;(
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:14
yip, never type your entire post into the form itself.
some bull will always happen.
Reproducing Basic BBEdit Features
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:46
Lets try this again Sad

I've been desperately trying to find a GOOD text editor that will run in windows for many months now. I tried jedit some time last year and after trying many MANY apps over the last two months I'm back to jEdit. It is in may ways a bit better than the rest but there are still a few features that are either not there or I can't seem to find. Not having these features makes trying to work outside of BBEdit a time consuming nightmare for me.
Maybe someone here can help me find them or let me know they don't exist in jedit.


#1 \r and \t

Lets say I have a number of spaces that I want to turn into tabs. 
In bbedit I can represent a tab character with \t. Find my spaces. Replace with \t\t.
It's similar with new lines. Find all \r\r and replace with just one \r until the number of empty lines is to my liking.

Yes I know theres a macro that will convert all spaces to tabs and vice versa. But what if I don't wan that to happen to the entire file, what if I have a specific reason to have a certain number of spaces or a certain number of tabs and it's only important to section of the file and not the whole thing.

so is there a character i can put into jedits find/replace that will match the newline character? or tab character instead of literally pressing tab then copying and pasting!?!?



#2 (?s) multiple line regular expressions
For example:
<p>doodie</p>

<p>
mulligan
</p>

<p> piggums </p>

This expression: <p>.*?</p> will match the doodie and piggums paragraphs...but not mulligan.
In some programming languages and other applications like BBEdit I can specify flags that modify the way regular expressions work. If start my expression with (?s) it will make the expression match all three. This comes in very very handy for me all the bloody time.



#3 - multiple line search text fields
Example: lets say I need to batch find/replace the following over many files
$user='something';
$pass='else';
But other parts of many files have variables named $user and $pass.
I do know for sure that the original programmer always has just these two lines one after the other and other usage of $user and $pass tend to be mixed in with other code or have something betwen them.

if I could past both lines into the search box it would greatly reduce the chances of matching something I don't want it to match.
Actually if I could just use \r to indicate a new line in the single line text field that would be just as good.


Even with many months (off and on) of jEdit use under my belt I still spent over 20 minutes the other night cleaning up 1 afwul html file that was sent to me and long before finishing I gave up. It was easier to wait until I got to work and clean up all 4 of them in under 10 minutes using BBEDIT and the very simple features I described above.

Yes I know i could have used jtidy but I have very strong preferences as to how I want MY html files to look which make them EASIEST for ME to read. Jtidy doesn't do ME.
It always ads the html, head, body etc... tags that I am already using includes to bring in, so its just more stuff I have to double check to remove.

And how to I turn off this html autocomplete?

Auto Pairs {}()[]
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:55
is there a plug in that makes it so any time i type in one paired character it will automatically close it
< >
{ }
[ ]
( )

No I don't need somthing to automatically close html tags! Just these characters.
Clicking line numbers to select the line.
Submitted by thinsoldier on Friday, 16 June, 2006 - 01:56
thats it.
just clicking line numbers to select the line.
Freezes during file open
Submitted by srarden on Friday, 16 June, 2006 - 05:29
I love jEdit - have tried it on Windows, Linux, and Mac (Windows / Mac at work, Windows / Linux at home). On my windows machine, jEdit now freezes when I go to 'File|Open' or use 'CTRL+o'. Doing a right click on a file and opening from the menu works though. Two questions - anyone run into this and found a fix? And if not, what is the most useful information I can provide (and how) so I'm not just saying 'hey, it doesn't work when I do this' but providing something useful?

Thanks!
"Explore from here" functionality
Submitted by bohboh on Friday, 16 June, 2006 - 09:25
Like in dreamweaver 8, can we have (or is it already possible) a shortcut key / button which will open up the directory in which the file that you are currently editing resides in the platforms file explorer, e.g. nautilus, windows explorer etc and can the file explorer be configurable.
Toggle line comment macro
Submitted by mungobob on Friday, 16 June, 2006 - 14:56
in the jedit 4.1 documentation there is listed a default macro called Toggle_Line_Comment.bsh, this doesn't seem to appear in 4.2 and above. does it still exist somewhere, and if so can i get hold of it?

cheers
andy.
Copy_Name_to_Clipboard with a trick for rails partials (Copy_Name_to_Clipboard.bsh v0.1)
Submitted by vovan on Friday, 16 June, 2006 - 15:04
That's a "patch" for Ollie Rutherfurd's macros. In general it behaves the same, as original. But if you're trying to get to clipboard a rails partial file (like _partial.rhtml) the first _ symbol and the .rhtml ending will be snipped (so you get only "partial" in clipboard).
Macro to auto save open buffer when jEdit looses focus
Submitted by stellari on Friday, 16 June, 2006 - 20:18
I just started using jEdit, very nice program!

Is there a macro/plugin to automatically save the open buffers once jEdit window looses focus...
i.e. the user switches to another program?

Something already done would be nice.

Thanks a lot for any suggestion and comment!
Does jedit support "code file includes"?
Submitted by motionmountain on Saturday, 17 June, 2006 - 13:28
I am thinking about switching to jedit for editing html.

There is one feature I need: the ability to put code parts in separate files,
which are then included in the final html files, thus avoidiung the need to
edit 10s of files for the same change.

Is this possible in jedit? how is the feature called?

mm
PHPParser 1.2.3 broken on all mirrors
Submitted by Dustypaws on Sunday, 18 June, 2006 - 13:18
It appears that the PHPParser-Plugin is broken on all mirrors. It shows up as a 0KB File. When I try to download it anyways it says: I/O Error while opening the Archive (sounds plausible Sticking out tongue).

I had to step back to 1.2.2 manually.
selecting a line of text with a left mouse click
Submitted by stellari on Monday, 19 June, 2006 - 19:08
I have noticed that if click after the end of a line (basically to move the insertion cursor to that line), spaces are added to allow the cursosr to reach that column. Is there an option to disable this and have jEdit place to cursor at the end of the current line text?

Using jEdit 4.3pre4

Thanks,

Franco
rectangula selection in jEdit 4.3pre4
Submitted by stellari on Monday, 19 June, 2006 - 19:23
I'm trying to use the rectangular selection in combination with the keyboard.
If start a selection and move down with the keyboard while pressing shift to select several characters I experience a problem when crossing lines with indentations or lines shorted then the selection column. The selection seems to zig-zag on the right of 1 character.
This got to be a joke, isn't it!?
Submitted by Dustypaws on Tuesday, 20 June, 2006 - 09:36
"Bug Reports - These don't belong in the forums!"

So why even bothering to open a Forum called "Bug Reports"?
Lame joke that is :|
Colour set per syntax mode
Submitted by Baldurien on Tuesday, 20 June, 2006 - 15:25
Hi,

I'd like to know if it is possible to have one color set per syntax mode, instead of one color set for each syntax mode.

Since such thing exists for buffer options, I don't see why it's not in jEdit.

Honestly,
Baldurien
Bug Report Console (make)
Submitted by asd2005 on Tuesday, 20 June, 2006 - 16:43
Bug Report. This happens when I try to compile (make) a C-file. OS: Linux 2.6.15-25-386 i686 GNU/Linux (ubuntu) Java: Java 2 Runtime Environment (build 1.5.0_06-b05) jEdit: 4.2final 1st Beanshell Error: Sourced file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : Class or variable not found: projectviewer.ProjectViewer : at Line: 1 : in file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : projectviewer .ProjectViewer .getActiveProject ( view ) at bsh.UtilEvalError.toEvalError(UtilEvalError.java:85) at bsh.UtilEvalError.toEvalError(UtilEvalError.java:90) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:98) at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:103) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at console.commando.CommandoHandler.endElement(CommandoHandler.java:196) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:953) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947) at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496) at com.microstar.xml.XmlParser.doParse(XmlParser.java:176) at com.microstar.xml.XmlParser.parse(XmlParser.java:146) at console.commando.CommandoDialog.load(CommandoDialog.java:238) at console.commando.CommandoDialog$ActionHandler.actionPerformed(CommandoDialog.java:384) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597) at console.commando.CommandoDialog.(CommandoDialog.java:120) at console.commando.CommandoCommand.invoke(CommandoCommand.java:138) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:303) at org.gjt.sp.jedit.View.processKeyEvent(View.java:669) at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Java14.java:180) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:687) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636) at java.awt.Component.dispatchEventImpl(Component.java:3841) at java.awt.Container.dispatchEventImpl(Container.java:2024) 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) 2nd Beanshell Error: Sourced file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : Class or variable not found: projectviewer.ProjectViewer : at Line: 1 : in file: inline evaluation of: ``projectviewer.ProjectViewer.getActiveProject(view).getRootPath();'' : projectviewer .ProjectViewer .getActiveProject ( view ) at bsh.UtilEvalError.toEvalError(UtilEvalError.java:85) at bsh.UtilEvalError.toEvalError(UtilEvalError.java:90) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:98) at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:103) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at console.commando.CommandoHandler.endElement(CommandoHandler.java:196) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:953) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1118) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:947) at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:496) at com.microstar.xml.XmlParser.doParse(XmlParser.java:176) at com.microstar.xml.XmlParser.parse(XmlParser.java:146) at console.commando.CommandoDialog.load(CommandoDialog.java:238) at console.commando.CommandoDialog.(CommandoDialog.java:125) at console.commando.CommandoCommand.invoke(CommandoCommand.java:138) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:303) at org.gjt.sp.jedit.View.processKeyEvent(View.java:669) at org.gjt.sp.jedit.Java14$MyFocusManager.postProcessKeyEvent(Java14.java:180) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:687) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636) at java.awt.Component.dispatchEventImpl(Component.java:3841) at java.awt.Container.dispatchEventImpl(Container.java:2024) 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)
User login
Browse archives
« June 2006 »
MoTuWeThFrSaSu
  2
4
11
12
13
15
24
25
30
 
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