jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit Remote Control application for Android (RemoteControl.zip v0.2 - new by Shlomy Reinstein)
Submitted by shlomy on Friday, 16 September, 2011 - 03:23
This is a jEdit remote control application for Android. This application can connect to jEdit using the RemoteControl plugin (courtesy of Matthieu Casanova), and then you can use it to select and close buffers.
To install it, open the attached zip file. It contains:
  1. The RemoteControl plugin for jEdit - RemoteControl.jar - which you should copy to ~/.jedit/jars (or %HOMEDRIVE%%HOMEPATH%\.jedit\jars on Windows).
  2. The Android application - AndroidRemoteControl.apk - which you should install on your Android device (adb install ...).
To use it:
  1. Configure the ip, tcp port and pincode (from the RemoteControl plugin option pane), then click Connect.
  2. You can now use the following gestures: drag right => next buffer, drag left => prev buffer, draw an 'x' (without lifting the finger) => close buffer.
  3. You can click any of the buffer names to make it the current buffer.
Please ignore the 2nd line of components, showing two combo-boxes. They are currently not implemented.
Any ideas for extending this app? Feel free to suggest.
New version of JCompile!!!
Submitted by jstgmr on Saturday, 17 September, 2011 - 05:36
JCompile for version 4.4.x!!!!

I love JEdit so far but it is quite frustrating to have to use Terminal to compile my programs! I don't know anything about creating plugins or I would help but it would be really nice to see the JCompile plugin updated!!
PHP manual integration - exec() runs bad command
Submitted by nanuqcz on Friday, 23 September, 2011 - 12:01
Hello,
when I run command
> HH C:\\php_manual_en.chm::/res/function.str-replace.html
in Windows console, it really runs "C:\\php_manual_en.chm::/res/function.str-replace.html".

But if I run the same command via exec() in BSH file, it runs this:
> res://ieframe.dll/dnserrordiagoff_webOC.htm#mk:@MSITStore:C:\php_manual_en.chm::/res/function.str_replace.html

Because of that, PHP manual runs and shows error 404.
Thank you for answers.
Global defaults not applied at start-up
Submitted by snark on Saturday, 24 September, 2011 - 05:33
( I've just started using jEdit, so probably done something dumb ... )

When I first start up jEdit, it doesn't apply the settings I changed under Global Options. After starting jEdit, I have to go to the Global Options dialog (where I can see that all my changed settings have been loaded), click Apply, then click OK, after which all the fonts, key assignments and so forth are applied. How can I make it do that automatically?

I'm running the Debian Linux jedit package, version 4.3.2.
ContextHelp plugin
Submitted by nanuqcz on Saturday, 24 September, 2011 - 11:24
Hello,
I installed Context Help plugin and now I am trying how it works. I open some PHP file, select some function (e.g. str_replace), click Plugins > Context Help > Search Keyword. But nothing hapens.

What am I doing wrong? Thank you.
Basic PHP completion
Submitted by nanuqcz on Sunday, 25 September, 2011 - 13:09
Hello,
how can I use PHP completion in jEdit? Something like this: michal.webshake.cz/userfiles/completion.png . I just want PHP native functions support.

If I use CTRL+B shortcut, I can see names of functions, but can't see any functions parameters or return types.

Thanks for answers
Special and accented characters get replaced with gibberish
Submitted by Dominicus on Monday, 26 September, 2011 - 01:46
Using jEdit 4.4.1 in Win7

Some of my files include strings with special accented and international characters.

These will display and compile fine during a jEdit session.
Then at random future opening of these files, jEdit will replace these characters with two other unrelated special chars.
How can I prevent jEdit from making these replacements?
Vim-like command line
Submitted by imgod2u on Monday, 26 September, 2011 - 22:46
I'm curious whether there is a vim-like command line that I can access with a key shortcut in jEdit. Something that I can do things like s///g regex replaces, open a file, etc.

Being more keyboard-centric, the various GUI's can be rather cumbersome, especially the one for search-and-replace. It'd be easier (for me, at least) to be able to hot-key, open and type the filename as well as s///g for search-and-replace.
Autocomplete Brackets
Submitted by flebber on Wednesday, 28 September, 2011 - 10:29
Hi

I am trying to find a way to enable automcomplete of brackets ( ) [ ] { } etc. The only thing I can find is a link to an unauthorized plugin called firstmate. Is there a way to enable autocompletion?
mode syntax function (...) {...}
Submitted by captainhunt on Wednesday, 28 September, 2011 - 14:08
Hi there,

I am trying to write a mode for a simulator. The syntax looks like

Quasistationary (<options>) {<equations>}
Transient (<options>) {<equations>}
I'd like to match Quasistationary and Transient separately and somehow handle the <options> and <equations> in different rules. I tried something like:
<SPAN_REGEXP TYPE="KEYWORD3" DELEGATE="QS_OPTION"><BEGIN>Quasistationary\s*\(</BEGIN><END>)</END></SPAN_REGEXP>
<SPAN_REGEXP TYPE="KEYWORD3" DELEGATE="QS_EQ"><BEGIN>.*\{</BEGIN><END>}</END></SPAN_REGEXP>
<SPAN_REGEXP TYPE="KEYWORD3" DELEGATE="TRANS_OPTION"><BEGIN>Transient\s*\(</BEGIN><END>)</END></SPAN_REGEXP>
<SPAN_REGEXP TYPE="KEYWORD3" DELEGATE="TRANS_EQ"><BEGIN>.*{</BEGIN><END>}</END></SPAN_REGEXP>
However, the problem with this approach is, that Transient equations (line 4) are captured by the Quasistationary equations (line 2) already.

Any ideas how to solve this?

Thanks in advance
Captainhunt

How to expand directory in FSE on MacOSX???
Submitted by rickcr on Friday, 30 September, 2011 - 20:31
When I'm in the file explorer view how can I quickly expand a directory and all sub directories - on Mac OSX? (Natively in Finder I do this with Alt and then select the folder arrow and it opens all directories.)
Could you suggest a plugin for adding Javadoc comments
Submitted by Evmorov on Tuesday, 4 October, 2011 - 08:45
Is there a plugin that can add Javadoc comments to methods and classes?
Like:
/**
* @param
* @throws
*/
jEdit 4.4.2 is out!
Submitted by Vampire on Friday, 14 October, 2011 - 12:43
Hi all,

I proudly present jEdit 4.4.2, the second official stable release of the
4.4 series of jEdit.


Here are some convenient links to see the live state of major problems:

- Bugs which are marked as "severe":
http://sourceforge.net/tracker/?group_id=588&atid=100588&status=1&artgroup=101607

- Bugs which are marked as "regressive":
http://sourceforge.net/tracker/?group_id=588&atid=100588&status=1&artgroup=619797


Volunteers are always welcome to fix these bugs:
http://www.jedit.org/index.php?page=devel


That being said, here is the download link:
http://www.jedit.org/index.php?page=download


FYI, merge requests for the 4.4 series (fix done, but waiting for a review):
http://sourceforge.net/tracker/?group_id=588&atid=1235750&status=1&artgroup=1360914


Have fun with the new release.
Question about syntax highliting
Submitted by aaog on Friday, 14 October, 2011 - 20:10
Hello all! I didn't see this topic in previous postings so don't kill me if it's been addressed previously. The issue is that I am coding in java and the syntax highlighting colors are not the normal scheme I've seen everywhere else in the world. Comments are orange and red for some reason, the "import" statement is showing up green, and the other colors are off as well. I understand that I can change the syntax highlighting colors and related options in jEdit for my java code, but I would rather use the typical default colorings for java syntax without having to manually change each of them. In screenshots I see that other people have their highlighting for .java code set up as I am used to seeing it in other programs, but when I am coding in jEdit, the colors are all strange and unusual to me, not the typical java colors. Is there any reason for that? Either way, is there any way I can change it en masse to the standard color scheme? Maybe compying an .xml file from somewhere... =) Thanks for the help!

-DJ
RubyPlugin auto-complete missing some commands?
Submitted by baseliner on Tuesday, 18 October, 2011 - 19:54
Hi - I'm trying to use the RubyPlugin for doing some RoR work. I can't find any of the Rails specific ones such as has_many, belongs_to, etc. though the article at http://www.eadz.co.nz/blog/article/ruby-rails-jedit.html states that this should work.. I've checked to ensure that the ruby parser is specified in SideKick. I do see Ruby methods in the dropdown - e.g. hash... So I'm not sure if the plugin is only for Ruby auto-completion. Anyone have any insight? Thanks!
Console plugin: can't see the output of command execution?
Submitted by baseliner on Wednesday, 19 October, 2011 - 00:26
I'm using jEdit 4.4.2 and the latest version 4.4.3 of Console plugin. Once I open Console and type ls, I'd expect to see the directory listing but it shows me a blank line. I suspect the output is being redirected to a background shell? How do I get the output to show? One of the consequences of this is that when I fire up a Ruby shell or a Rails console, I don't see the prompts at the beginning of the line, which makes the output a bit hard to read.
how to stop jEdit from requesting network access
Submitted by plevintampabay on Monday, 24 October, 2011 - 02:12
Every time I start jEdit, I get a pop up from the Mac asking
Do you want the application "jEdit.app" to accept incoming network connections?

Every time I click Allow. Why does it keep asking?

Is there a way to make the Allow permanent or where can I configure jEdit to not request network access?

This is not just a Mac issue since I don't get that popup for Firefox or other network applications I use.
how do I get notified when commets/replies are added to a topic I started or commented in?
Submitted by plevintampabay on Monday, 24 October, 2011 - 13:03
I've looked at the notify settings for my account but the description there sounds like I'll be notified of all new posts. I only want to be notified about posts in topics I have posted to. Is that possible?

Thanks.
How can I run a macro over all files in a specific directory ?
Submitted by xcablex on Tuesday, 25 October, 2011 - 10:04
Hi,

I am totaly new in the usage of jEdit. I just finished a small macro for a "find&replace" purpose in about a hundred txt files.

Is there a way to tell jEdit to run the macro on all files in a specific directory ?

-- Peter
how to access the text?
Submitted by phoe on Wednesday, 26 October, 2011 - 11:58
Hey,

I'm currently writing a plugin and need a little help. I already found out how to make code and make it execute every X seconds..

Now there is only one thing to do: How do I access the text in the editor? In some cases I want my code to replace "apple" by "banana" every X seconds.
Any special class/method I need to access the text?

Hope you can help me out
User login
Browse archives
« September 2011 »
MoTuWeThFrSaSu
 
2
3
5
6
8
9
10
11
12
13
14
15
18
19
20
21
22
27
29
 
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   108249
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