Converting Smart Quotes from Word HTML to HTML entities in macros
Submitted by Anonymous on Friday, 13 August, 2004 - 19:02
I'm very pleased with jEdit (4.1)... I've been using macros to clean up the "filtered" html that MSWord 2003 generates for a project I'm working on. One problem that I noticed, I can search and replace the weird "smart quotes" and elipses (sp?) that Word uses with HTML entities using the Search and replace dialogue box, but whenever I try to record it as a macro, it stops working. A typical macro, once recorded, looks like this:
SearchAndReplace.setSearchString("“");
SearchAndReplace.setReplaceString("“");
SearchAndReplace.setBeanShellReplace(false);
SearchAndReplace.setIgnoreCase(false);
SearchAndReplace.setRegexp(true);
SearchAndReplace.setSearchFileSet(new CurrentBufferSet());
SearchAndReplace.replaceAll(view);
Any ideas as to what I can do to get it to work as a macro?
Tag completion
Submitted by
jnix on
Friday, 13 August, 2004 - 18:24
Specifically, I'm looking to get jedit to behave like ColdFusion Studio, but I think the general theory applies to anything. How do I enhance the list of tags that pops up when I start typing "<"? currently I just get html tags, but I want the CFML tags to appear as well.
Thanks.
PHP and heredoc
Submitted by
mxc on
Thursday, 12 August, 2004 - 20:47
Is there a way to get jEdit to syntax highlight a heredoc string based on the delimiter?
For example, if I have a heredoc comment such as this
$table = <<<HTML
<table>
....
</table>
HTML;
can I get jEdit to see the HTML delimiters and then treat the content in between as HTML and perform syntax highlighting accordingly?
cursor beyond EOL
Submitted by Anonymous on Thursday, 12 August, 2004 - 16:56
Is it posible to let the cursor go beyond EOL just by pressing the arrows?
Launching Jedit from JDistro
Submitted by
turiot on
Thursday, 12 August, 2004 - 08:55
What it the procedure to launch Jedit within JDistro.
I intent using JDistro in order to save memory.
Indenting comment lines in Perl
Submitted by
Peacock on
Thursday, 12 August, 2004 - 07:59
When using =pod ... =cut to comment out Perl code, and subsequently using Ctrl-I to automatically indent the Perl code, the =pod and =cut tags are placed in the same column as the start column of the next line of code. They should be placed at the first column of the line though to be interpreted correctly by the Perl interpreter.
How to change file properties?
Submitted by
ccapeng on
Wednesday, 11 August, 2004 - 21:28
I used to have ultraedit. To edit a read only file, I just open file browser (window file dialog box) and change file properties.
Any simliar feature in jEdit?
Console Plugin: Getting Commando files to save variables from last use
Submitted by
JuliusB on
Wednesday, 11 August, 2004 - 15:16
I'm tring to make a commando file for compiling individual C/C++ files.
It should take in as arguments: which compiler to use, Include switches, Lib switches and other compiler switches.
Is it somehow possible to save these variables so that you don't need to write them every time?
On a side note: Is it possible to make the Eval attribute excute an arbitrary beanshell script?
Thanks In Advance,
Julius
Btw, JEdit Rocks!!!!
Displaying tab and space characters
Submitted by Anonymous on Wednesday, 11 August, 2004 - 01:00
How do I do that in jEdit?

I miss that feature from EditPlus.
If it can be displayed, how can I change the symbol used for displaying these special characters? I don't like how the line-feed looks like a period.
How to copy hyersearch result?
Submitted by
ccapeng on
Tuesday, 10 August, 2004 - 16:31
The hypersearch result is in the tree list.
Is there a way I can copy to the whole content to clipboard?
JSwat plugin not visible
Submitted by
lauviss on
Tuesday, 10 August, 2004 - 12:02
I'm using jEdit 4.1 final on Windows XP Professional. I've installed the plugin JSwat 1.5.4 with jEdit. My Problem: After restart of jEdit I cannot find the plugin. Neither with the plugin manager nor with searching through the options. May you give me a hint, what's going wrong?
Thanks in advance,
lauviss
P.S.: I've searched the forum and couldn't find anything about such a problem. If this is the wrong forum, sorry.
javadoc comments
Submitted by
sleek on
Tuesday, 10 August, 2004 - 01:12
When I use vim, I can use a .vimrc to specify that when I start comments and hit enter, the next line will continue the comment characters. For example:
/* blah blah
* the asterick is entered automatically
*/
// comment
// line 2 where // is entered automatically when ENTER is hit
/**
* Javadoc style comment does the same thing
*/
Keyboard shortcut for column ("vertical") selection mode?
Submitted by Anonymous on Monday, 9 August, 2004 - 20:27
Hi,
is there a keyboard shortcut to activate column (or vertical) selection mode without having use CTRL-LeftMouse Drag? I miss something like the ALT-C combination of UltraEdit (which I have at work), this key switches the behavior of SHIFT-Cursor-Key between normal (line) and column selection.
If not, is there a way to add it?
Thanks!
+L
Antialiasing of fonts... where?
Submitted by
DanF on
Monday, 9 August, 2004 - 18:11
I've checked, double checked, and googled everywhere and haven't found any options to enable rendering of anti-aliased fonts in jEdit. The AntiAlias plugin is deprecated, so I figured "hey, that means antialiasing is either not supported or there must be an option here somewhere...".
Can't find it. I'm feeling stupid. C'mon you guys, where is it?
I'm a PHP coder and I'm loving jEdit btw. Definitely not love at first glance, I saw jEdit last year and ran away screaming. Totally different impression now, plugins are awesome!
(Specs: Windows XP SP1, J2RE v1.4.2, jEdit 4.2pre15)
HTML/CSS Preview in Browser
Submitted by
backspaces on
Sunday, 8 August, 2004 - 22:25
I suspect I'm missing something, but I haven't figured out how to view my current (x)html/css page in a browser (Safari, Firefox, ...) while using the XML plugin.
I'm using Mac OS X, so all I really need to be able to do is call the shell command "open" on the current buffer.
Is there a way to do this? .. possibly a plugin?
Owen
Change Editing Mode
Submitted by Anonymous on Sunday, 8 August, 2004 - 13:04
On the webpage i am working on right now there are HTML template with .tpl extension. It seems hovever there is a seperate editing mode for .tpl, so when i edit one of the templates the features of the XML plugin are not available.
So my question is if it is possible to have the HTML editing mode enabled for .tpl files automatically.
Does the XSL transform engine support version 2 of XSL?
Submitted by
mxc on
Saturday, 7 August, 2004 - 20:02
Hi all,
Please forgive me if this is the wrong forum to ask this quesiton. I am learning xsl and using jedit. When I run the transformation on a file I get an error when trying to use a user defined function saying that it "cannot find a variable with name of string". I have specified the said variable as a parameter of the user defined function and then try and reference it later in the funciton. eg.
< xsl:function name="cc:lastSubString">
< xsl:param name="string" / >
< xsl:param name="char" / >
< xsl:choose>
< xsl:when test="contains($string, $char)" >
Is this because the JEdit XSLT plugin doesn't support version 2 of the xsl specification oir is my xsl wrong
thanks
Text indenting
Submitted by
suguru on
Friday, 6 August, 2004 - 23:26
This may not be what jEdit is designed for, but I'm trying to use it to write documentation and can't get it to format a paragraph normally. For example, if I put a tab at the start of a paragraph and set soft wrap to on, the second (wrapped) line will be indented by the tab's width just like the first line. In a normal text paragraph in a document (or a book) that wouldn't happen, the first line would be indented by a tab, and the second line would not be indented and would be flush with the left side of the screen.
Is there a way to do this in jEdit? I got soft wrap to work, but no matter what options I select I can't keep all the subsequent wrapped lines of a paragraph from being indented.
jEdit - Jext relationship
Submitted by Anonymous on Friday, 6 August, 2004 - 18:49
Can someone explain me what is the relationship between jEdit and Jext - they look very similar.
Where are global options stored?
Submitted by Anonymous on Thursday, 5 August, 2004 - 21:12
I would like to be able to save my settings...just in case I have to reinstall jEdit again and I'd rather not have to reconfigure the editor to my liking if I can help it.
Where are the global options stored (directory?) and is it just a file I can copy somewhere else and put back if a reinsstall is done?
Peter