autotagging -> enclosure highlighted text with tags
Submitted by
puntarenas on
Monday, 9 October, 2006 - 23:47
Hi,
I'm sure this came up a hundred times before and no doubt mighty Jedit is able to do it easily, so I'm sorry but I couldn't find an answer.
I want to put tags around highlighted text using a keyboard shortcut. I tried Macros -> Text -> Insert tag, but using this macro I always have to type the tag name.
Kind regards
Martin
Desperatly missing JCompile / Can't get JCompiler running
Submitted by
JNewb on
Monday, 9 October, 2006 - 19:44
Hello out there !
After a severe crash i had to put up an new system, and thought that i give 4.3 pre6 a try.
Looking good, goin' good - so far.
What i am missing is the JCompile-Plugin. Nowhere to be found an the Plugin-Managers "Install" Tab.
Has it just evaporated, replaced, obsoleted or am i just beeing blind ?
I quite miss it a lot - Newb that i am, i rely very much on the "Console"-Plugin and got so used to have the "JCompiler" in the pull-down-Menue; i usually work with two floating instances of "Console" - one for "System" the other, well "JCompile".
What happened ?
By the way - meanwhile i changed back to 4.2 (cause i had work to get finished) and find myself unable to get the "Jcompile" running properly.
The message is always the same :
.
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
.
.
The message is quite a few lines i don't want to litter this forum with; if the complete message is needed i will put this in here later on.
When using the "compile" command within console, it goes on and on and on and on....nothing ! Not even an error-message.
As far as i see, there seems to be something wrong with the Console-Plugin (according to the message). Console seems to be unable to find the recent buffer-path automatically..hrmfp. Why ? No clue so far. When invoking "javac" by hand the path of the recent buffer is suggested within the "commando"-Box.
I tried to uninstall and reinstall the needed plugins - so far with no use.
I hope anyone stumbled across a similar (or the same) problem and was more sophisticated than me and solved it :/
Thx in advance,
JNewb
jEdit Snippets for Ruby on Rails
Submitted by
charlesroper on
Saturday, 7 October, 2006 - 18:32
I am trying to get hold of the jEdit Snippets for Ruby on Rails as seen here:
http://synthesis.sbecker.net/articles/2006/03/20/jedit-snippets-for-ruby-on-rails
But unfortunately the link appears to be down. Does anyone else have a copy of these snippets they could send to me or upload somewhere?
Many thanks,
Charles
can't reference schema using XML catalogs
Submitted by
kefl on
Tuesday, 3 October, 2006 - 18:51
I'm having trouble getting the XML plugin to use an XML catalog to locate the schema referenced by my document. Can anybody help? Assuming all three documents (document to be edited, referenced schema and XML catalog) are in the same folder, I would expect the following to work:
root element of edited document:
<Ace
xmlns="http://www.birdstep.com/xml/schemas/acedb"
xsi:schemaLocation="http://www.birdstep.com/xml/schemas/acedb http://www.birdstep.com/xml/schemas/acedb.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
catalog element in catalog document:
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<public publicId="http://www.birdstep.com/xml/schemas/acedb" uri="acedb.xsd"/>
</catalog>
If http://www.birdstep.com/xml/schemas/acedb.xsd is not available, I would expect the editor to look up http://www.birdstep.com/xml/schemas/acedb in the catalog and so find acedb.xsd in the current folder.
What actually happens is that the editor returns HTTP 403. I've tried endless variations on the above setup, all with no luck...
PS. I have added my catalog to the list of catalogs in the XML plug-in's options.
Probleme with AntFarm
Submitted by
Manil on
Tuesday, 3 October, 2006 - 16:07
Hi,
I am using AntFarm to compile CodeBrowser and i get the following error, it seems that ant is trying to compile with jdk 1.4 and i have 1.5 installed on my computer, I checked in my path and classpath and i have nothing that mention jdk 1.4, i never get it installed on my computer...Anyone have any idea??
C:\Program Files\jEdit 4.3pre6\CodeBrowser\trunk\com\bitart\codebrowser\CBLeaf.java:47: cannot access javax.swing.tree.TreeNode
bad class file: c:\program files\java\jre1.5.0_08\lib\rt.jar(javax/swing/tree/TreeNode.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import javax.swing.tree.TreeNode;
JEdit as external editor in WinSCP
Submitted by
JonathanNil on
Monday, 2 October, 2006 - 15:26
I use JEdit on Windows. For software that let's you set an external editor 'helper', I like to use JEdit, but frequently have trouble figuring out how.
In particular, I'd really like to use it with WinSCP. Can anyone give me instructions on how to do it for WinSCP? Or any general tips or instructions for doing this generally on windows with jedit?
[The fact that it's a java app instead of a normal .exe is what is at the root of the problem, I guess.]
Want to turn of quote/bracket autocompletion.
Submitted by
zenlinux on
Saturday, 30 September, 2006 - 22:34
I can't seem to find the configuration options to disable the auto-completion of quotes and parenthesis/brackets. I find it often creates the closing character at the wrong times when I'm editing. Can anyone point me to where I can change that option?
Thanks,
Scott
Can't resize jEdit window anymore
Submitted by
stupor mundi on
Thursday, 28 September, 2006 - 16:26
Hi All
I have a really dumb problem, I can already see the solution must be a simple switch somewhere, but can't find it.
After installing jEdit 4.2final on Windows (corporate environment, old Java version 1.3), I was initially able to change the window size in the usual way. Must have inadvertedly flicked some interface switch, now it always stays maximized, no matter how many times I toggle the "maximize/restore down" button in the window corner.
Anyone know how to switch it back?
Changing color for one language in mixed-mode ASP page?
Submitted by
irkregent on
Monday, 25 September, 2006 - 14:21
I'm new to jEdit and just love how its code-folding works in ASP pages (both the VBScript and the HTML can be folded). But there's one thing I'd like to have that would make the two languages easier to differentiate:
How would I specify a different background color for VBScript in an ASP page?
File Associations
Submitted by
SenlacHill on
Tuesday, 19 September, 2006 - 03:43
Ok, I'm brand new to jEdit as of about an hour ago. I'd like to set my file associations, but cannot find the option to do that. Now, it may be staring me in the face, or maybe somewhere, perhaps obvious on this site, BUT, I can't find it... My eyeballs are getting shorter in my old age. Can someone please help me out here ??? (With the file associations that is.. lol)
jEdit and Ruby on Rails: More Syntax Highlighting
Submitted by
loki_mdog on
Monday, 18 September, 2006 - 23:33
OK...so I have the base syntax highlighting working for the RubyPlugin so that words like "class" and "def" get highlighted but since I'm new to Ruby programming a nice confirmation of when I actually type (or mistyped) a method name would be for more complete syntax hightlighting so that words like: find_all, belongs_to, has_many, scaffold, etc would be recognized.
Now, I know the highlighting is determined by the ruby.xml file and that I could just add keywords to the XML file to get the highlighting to work but I'd then need to constantly be updating the XML file as I added new gems.
So I have two questions:
1. Does anyone know how to get syntax highlighting for the methods (and all the other methods that my ruby install would support) in a dynamic fashion...looking at what is installed and looping through those functions? I'm also new to jEdit and trying to configure it to my liking.
2. If I do need to brute force the XML file and hardcode all the available methods, can someone point me in the direction of a page that would have all the available ruby on rail methods? And all the RHTML methods? I am having a hard time finding someplace where I could copy all the the method names out and format them for the ruby.xml file. I just want a list basically.
Many thanks,
loki_mdog
Is there a way to start appletviewer the Way Commando can start javac?
Submitted by
cct on
Saturday, 2 September, 2006 - 22:54
I'm a newbie, and found how to install the Command Plug in and adapt the tool bar so I can comple and execute applications, but couldn't find out (or figure out) how to make a nice button to click to startup appletviewer to lauch an Applet...
Can I compare 2 files in jEdit?
Submitted by
higgledy on
Thursday, 31 August, 2006 - 11:49
I would like to compare two script files, like this version with previous version, through GUI. Can jEdit do this?
I searched the forums but could not find a similar question, so I posted one.
Edit modes "FUNCTION"
Submitted by
Manil on
Friday, 25 August, 2006 - 02:30
Hi,
i want to know if it is possible to have something like this highlighted as a function:
a ();
b ();
aa ();
ababab();
<*MARK_PREVIOUS TYPE="FUNCTION" EXCLUDE_MATCH="FALSE">(<*/MARK_PREVIOUS>
I know that this will highlight a function but with no space before (, i have code like that sometimes and i want to know if there is a way to highlight a function with n spaces before (
Thx a lot
Info Viewer using Internet Explorer or Firefox under Windows
Submitted by
mserero on
Friday, 25 August, 2006 - 01:16
Hello,
I haven't been abble to use Internet Explorer or Firefox under Windows with Info Viewer.
I use the following command line:
start "c:\Program Files\Internet Explorer\iexplorer.exe" $u
It seems to return the content of the buffer and not the file URL. I used jedit 4.2-pre6 with Info Viewer 1.5.9.
Has anyone attempted to do the same thing?
editing .wsf files
Submitted by
jeisma on
Thursday, 24 August, 2006 - 05:09
hi!
im trying to edit .wsf files but jedit cannot seem to syntax highlight codes with the "script language" sections.
it can aptly recognize .js files though.
i tried to change default edit mode to javascript, xml, html, but to no avail.
anyone have tips on how to go around this?
thanks!
joey
linecomment //
Submitted by
OBI_Ron on
Wednesday, 23 August, 2006 - 20:05
Hello everyone,
I have just started using jEdit, and would like to create a new edit mode to handle Poser cr2 files. I have read thru the help docs, and am using the python.xml as a reference.
In python.xml, the following line handles comments:
PROPERTY NAME="lineComment" VALUE="#" /
So each line that begins with # is recognized as a comment line.
In a cr2 file, comment lines begin with //, and have no end of comment designation. So I tried to use the same cocept:
PROPERTY NAME="lineComment" VALUE="//" /
But I am not getting the results that I would expect. Comment lines are not recognized at all.
Can anyone shed some light on this?
Thanks for your time!
explict folding mode
Submitted by
haras on
Friday, 18 August, 2006 - 17:02
how to use explict folding mode in php, i have tried almost all function in jedit and nothing happens :{
i have for example:
/**
* @name render_menu
// +{{{
* .... some other
*/
public static function render_menu() {
....code...
} //}}}
i want this to produce:
+ render_menu
when i hit + it will expand the code of this method
i have makro downloaded from this site to collapse folds on startup beginning with -{{{ and expand statring with +{{{
but it doesn't work
Different codes
Submitted by
Mauro on
Tuesday, 15 August, 2006 - 19:19
Hello,
I installed JEdit and found it wonderful.
I easily changed the color code settings for PHP but now I've a little problem.
That is: very often in web pages you have sections with different codes.
In the page I used for testing purposes I have:
- about 20 lines in PHP;
- about 20 lines in JavaScript;
- about 80 lines in (X)HTML;
Now, the three languages are following the "color rules" I set for PHP.
It is possible to have different code colors for these three languages in the same .php page? Please, tell me it is...

and possibly how...
Thanks very much.
Is there a C++ class browser plugin?
Submitted by
kernco on
Monday, 14 August, 2006 - 23:12
I am using JEdit 4.2 final, and I was wondering if there is a C++ class browser plugin or something that will show an "outline" ala Eclipse. I'd prefer to not have to upgrade to a 4.3 version, since that would mean installing manually instead of through apt-get. Thanks.