;(
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
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"?
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

).
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)
Exception in thread "main" java.lang.NoClassDefFoundError:
Submitted by
stantonio on
Tuesday, 20 June, 2006 - 18:03
Hello, I have installed Jedit on other linux machines but for some reason I am getting the following error when I try to run jedit on my laptop. The install went OK without errors.
Here are the details:
Error Message when I try to run jedit
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/local/bin
Where jedit script is located
/usr/local/bin/jedit
points to /usr/local/share/jedit/4.2
Java installed here:
/usr/java/jre1.5.0_07/bin/java
Linux version:Linux 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux
Any input on whats going on would be appreciated
Thanks
how to 'search & replace' with a simple calculation???
Submitted by
NickRivers on
Wednesday, 21 June, 2006 - 12:17
Hi!
I'm trying to search a file with reg-expression '\d' and I want to replace the values with a BeanShell snippet which adds a value to the search-string. When I try something like '_0+1' for a line in my file which looks like 'array[1]' I get an 'array[11]' an not what I want, an 'array[2]'.
What I'm doing wrong?
Thank You
trouble displaying filenames longer than 8.3
Submitted by
vincewebb on
Thursday, 22 June, 2006 - 20:05
Hello
I have been happy using JEdit version 4.2 final under windows for some time and been very happy with it.
I recently upgraded the JDK to 1.5.0_07-b03 and now I have a problem. The problem seems to coincide with the new version of JDK but I can't be 100% sure. It still edits files OK and if I open the file via "File - Open - select file" then all is well.
If I open a file via a right click and the "Open with JEdit" option, then
if the filename is longer than the old MSDOS 8.3 format it edits the file OK but displays the filename using Microsoft's dodgy 8.3 with a tilda format.
e.g. I open the file:
common_rep_lib_body.sql
JEdit tells me I am editing a file named:
COMMON~4.SQL
This smells a bit like Windows is passing a dodgy filename to JEdit however it worked OK before and it still works OK when I open the same file using a right click and "Open with" a different application like Notepad.
Any ideas ?
where do I put an editor scheme file?
Where in the world do I put my scheme file once i've downloaded it. I can't be this stupid...