Considering using jEdit
Submitted by
ineuw on
Friday, 22 January, 2010 - 02:48
I am considering switching from TextPad 5.31 and was wondering about several features if they are available.
1. Editing macros.
2. Assigning macros to keyboard shortcuts.
3. Rectangular area selected copy and paste
4. Toggle word wrap with the keyboard.
Infoviewer external browser not working?
Apologies if this is a faq, or a bug -- I don't think it is, so I'll post here (I did a search and hope I didn't miss) --
I've tried to configure Infoviewer plugin to use mozilla, but I can't seem to get it to work -- either with mozilla, or with IE. Here are the settings I'm using when trying to get mozilla to work...
Plugins > Plugin Options > Info Viewer > Choose Browser
"Use internal InfoViewer instead of HelpViewer" (I've tried with this checked *and* unchecked, no apparent difference)
"Choose Preferred Browser" > External Browser
"Configure Browser" > "External Browser Command" > C:\Program Files\Mozilla Firefox\firefox.exe (I've tried putting the path in quotes, w/o quotes, with quotes and double-slashes, no apparent difference)
I've looked at the activity log, but don't even find the word "mozilla" in the file, which suggests I'm doing something really silly, as jedit is (apparently) not even *trying* to parse my command line. What am I doing wrong?
FWIW, I'm runing wxp pro sp3. I've recently updated my j-edit install (was using 4.3 pre16, now using 4.3). I've installed the latest plugin.
Thanks all,
--wpong
Trying to use TextToolsComments in macro
Submitted by
kemptenkid on
Saturday, 23 January, 2010 - 00:01
I have created a macro that calls toogleRangeComments method from the TextToolsComments plugin if I have made a selection of code else i call toggleLineComments. When I execute this I get a "java.lang.IllegalMonitorStateException" exception, is there something i'm doing wrong ?
void smartComments(View view)
{
if (textArea.getSelectionCount() > 0)
{
TextToolsComments.toggleRangeComments(view);
}
else
{
TextToolsComments.toggleLineComments(view);
}
}
smartComments(view);
Column mode and encoding help!
Submitted by
Advice Pro on
Sunday, 24 January, 2010 - 00:31
I need to change line ending encoding in column mode which I heard is the easiest method of achieving line end encoding.
How-to: Using YUI to auto-compress/minify JavaScript
Submitted by
CNSKnight on
Monday, 25 January, 2010 - 17:23
Yahoo's YUICompressor is my favorite JavaScript compression/minifier utility.
I wanted to hit a button w/in JEdit and have my source javascripts run through the compressor.
I made a copy* of the Run_Script.bsh macro script and modified as follows
else if(mode.equals("javascript")) {
newpath = buffer.getPath();
if (newpath.contains(".source")) {
newpath = newpath.replace(".source", "");
myPathToYUICompressor = "/var/www/yui/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar";
execScript("YUI Compressor", "java -jar " + myPathToYUICompressor + " " + path + " -o " + newpath);
} else {
execScript("Windows Script Host", "wscript " + path);
}
}
You will of course need to have a copy of the YUI compressor and my need to edit the myPathToYUICompressor var above.
Additionally, as written, the code assumes you name your javascript sources with '.source' in the filename. Modify to '-uncompressed' or somesuch as to your practice.
*For a windows install, locate 'Run_Script.bsh' in the as-installed JEdit directory.
-Windoz: C:\Program Files\jEdit\macros\Misc\Run_Script.bsh
-LINUX: probably eg /usr/share/jedit/ (try >> whereis jedit)
Copy 'Run_Script.bsh' into your personal ~/.jedit/ directory. I did so and also renamed it to 'Run_Skript.bsh' so that all of my customized jEdit scripts are in my personal directory, hidden from jedit upgrades.
example:
w/in jedit, i am editing /path/to/my/JS/myJS.source.js
hitting the macro with the uncompressed javascript file in the buffer produces /path/to/my/JS/myJS.js as a compressed version.
Disbaling some of the Menu Items
Submitted by
qooraf on
Tuesday, 26 January, 2010 - 17:02
Hi,
I like to customize the jEdit in such a way that only required features are shown to users. For that i like to disable some of the features like
- Markers
- Folding
- Utilities
- Macros
Is it possible? if yes then which interface or API gives me this opportunity?
Secondly i want to pre-load some of developed plugins in such a way that user don't have to load those explicitly. I like to create an install package such that all the plugins are already part of jEdit and the user doesn't have to load those via plugin Manager. Is this possible? if yes how can i do that?
Will really appreciate if someone can help me.
Cheers
Qooraf
global variables values in XInsert plugin are blank
Submitted by
d_l on
Thursday, 28 January, 2010 - 13:50
I have jEdit 4.3 Java 1.6.0_17.
In the XInsert script I am trying to refer to global variables set in fields in
Options: Plugins: Xinsert
It seems that the value of the 1st global variable is lost (blank) after I enter variable name and value pair, press Apply, press O.K. and then inspect XInsert Options window again. The variable name is always retained but not the value. It is not seen by an xinsert.xml script. I have tried with and without quotations around the value.
I do ensure that I reload XInsert after each edit of the test.insert.xml file placed in /.jedit/xinsert/
I have tried closing down jEdit and restarting but still the global var value is lost.
Also in /.jedit/xinsert/ is the variables file (global variables but blank).
What takes precedence .. the global var settings in the Options pane or the variables file?
This does look like a bug but I'm not sure.
jEdit Compile and Run [JAVA]
Submitted by
lurgen on
Friday, 29 January, 2010 - 09:31
I'm looking for a plugin which have a feature to compile & run by pressed one button(JAVA). Like in jCreator. I have found NetRexxJe but the newest version is from 2003, and it dosen't work now. I know there is jCompile, but I want fuction - compile & run at once. I will be realy appreciated for help
SVNPlugin and ssh
Submitted by
chumanoid on
Friday, 29 January, 2010 - 15:24
Does anybody know, how to make it works with ssh protocol (ssh+svn)
regular expression, on how to match cross lines
Submitted by
zhangweiwu on
Sunday, 31 January, 2010 - 10:56
Hello.
By default single dot "." in jEdit do not match line break. In effect it is pretty much the same as [^\n].
When I want to match across multiple lines, I often use [^韡], which matches \n just fine. e.g. the following matches everything between Section and EndSection, it can match a few hundreds lines just fine:
Section[^韡]*EndSection
This method is "invented" by me, because my name 韡 is a really rare character that hardly used anywere, and I just need an impossible character in [^] so that I can match across lines.
I write this post to ask what is the standard way to do so, than my home-brew method.
properties dialog of ftp plugin not working
Submitted by
notknow on
Thursday, 4 February, 2010 - 01:31
Hi erveryone,
i'm working with jQuery for years now and i love it.
had to use the ftp.Plugin, it works as far as up- and downloads are concerned, but i can not
use The properties-dialog. I just get an java-whatever exception.
I am using jQuery 4.3.1 with on Mac OS X 10.4.11.
I need this dialog urgently, so i wasted time with trying 3 other editors - TextWrangler, the ftp connection seems to work, but the app itself is not too user friendly (no side by side windows for multiple files etc), Komodo-Edit-5.2.4 which reproducably crashes when trying to connet to a remote server with its ftp functions", Textmate (i would even have bought it - but out of the box it does not even offer the slightest support for ftp).
I'm a bit under stress and this is time killing.
Does anyone know how to get the properties dialog to work?
Or anyone who has a tip on another app than jQuery which is capable of doing what it says it does - basic ftp?
Thanks a lot.
Yes, i might use a "normal" ftp client, i might use one where i can define a standard app to open downloaded files with etc. But i cannot believe the only ftp plugin for jQuery i found is not working. And it is not hat i wanted in the first place. Do i have to pay for Zend Studio in the very end -
Had to test some applications and frameworks (php) over the last days, i'm really pissed with all of that stuff not working, sorry, i'm really...
And i'm not into Java at all, so...
regexp plugin for multiple strings search and replace
Submitted by
d_l on
Thursday, 4 February, 2010 - 16:18
Xsearch plugin allows regex search and replace on individual strings ..
Is there a plugin which allows series of tags to be replaced from perhaps an external file?
Refresh view after each SearchAndReplace pair in a macro loop
Submitted by
d_l on
Sunday, 7 February, 2010 - 23:18
I have a macro with a number of SearchAndReplace steps in a loop.
I am not seeing the step-by-step changes in buffer view after each SearchandReplace
until macro end end.
What command can I add to force the refresh of TextArea after each pass of SearchAndReplace?
SearchAndReplace.setSearchString(textToSearch);
SearchAndReplace.setReplaceString(textToReplace);
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);
Noisy jEdit keeps beeping
Submitted by
rovf on
Tuesday, 9 February, 2010 - 10:26
I'm running jEdit 4.3.1 (using Java 1.6, Linux, CDE). This jEdit seems to be in a "noisy mood": It usually beeps if
- I click somewhere into the text pane or a menu, or
- move the jEdit window
In particular because of the latter, I first thought it is a problem with the Window manager, but the problem occurs only with the jEdit window, not with the other windows.
Even more puzzling, the beep occurs only in maybe 80% of the cases. Sometimes, I can even do 5-6 clicks in a row without beep, and then I get a beep for the next 20-30 clicks consistently.
Any idea what is going on here?
Ronald
pl-sql edit mode file for ORACLE (pl-sql.xml v1.1 10.02. by berthold58)
Submitted by
Berthold58 on
Wednesday, 10 February, 2010 - 07:10
pl-sql.xml file with new key words
duplicate files on jedit
Submitted by
pols on
Thursday, 11 February, 2010 - 09:25
Can someone help me configure in saving the files on jedit. Everytime I try to save the files that I'm working on jedit, there is a duplicate files on it.. I want to configure on jedit on how can I save, without duplicating the files.. thanks in advance
OpenIt plugin does not seem to work
Submitted by
rovf on
Thursday, 11 February, 2010 - 12:03
I see this problem with jEdit 4.3 pre16 on Windows and 4.3.1 on Linux:
When I invoke the OpenIt plugin, I get the entry field for the file name, but as I type, I do not get a list of files matching the name to be selected; and even if I did the full, absolut path to the file manually, and hit enter, nothing happens (and the OpenIt window stays open).
Furthermore, there seems to be no way to close the OpenIt window, nor to move it away.
saving remote files via ftp crashes internet connection
Submitted by
1234ru on
Monday, 15 February, 2010 - 22:54
saving remote files via ftp crashes internet connection
Hi!
I have very unexpected problem with JEdit 4.3 and FTP-plugin 0.9.7 (Java 1.6.0_18, Windows XP Service Pack 3)
I can view directories and open files via FTP protocol but when I try to save changes my internet connection crashes (I reproduced it in 100% of cases; It is even more strange assuming I connect via router not directly via VPN or PPP).
It happens with any server I tried and any time.
Other ftp clients connect and modify files normally.
Saving via SFTP protocol also goes normally.
P.S. I have older JEdit on another machine and older FTP plugin (can't remember exact version now). They work with no such errors. So I'm really surprised...
what happened to shtml capablities?
Submitted by
cagirl on
Tuesday, 16 February, 2010 - 09:25
I recently upgraded to jEdit 4.3.1, and now my favorite capabilities, tag completion and tag matching, are unavailable to shtml files. They're still there for html, but not shtml. I've tried changing the catalog, global options, etc. Can anyone tell me how to get these back?????
Desperate in CA
How to change the Menu background to a color besides white?
Submitted by
Think2010 on
Wednesday, 17 February, 2010 - 01:57
In GlobalOptions:Editing there are options to change the font, but I didn't see one for color. In GlobalOptions:TextArea there are options to change the background color, but it doesn't effect menus.
I loaded Lookandfeel:Lipstick\Menu:Gradient\Themes:Default but don't see and option there either.
If this is not a feature I could probably modify Lookandfeel to do it. But I wanted to check here before trying that.