jEdit Community - Resources for users of the jEdit Text Editor
Archives
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
jEdit won't start after switching from openjdk to sun java
Submitted by sikkiiac on Wednesday, 26 October, 2011 - 18:28
I've switched from openjdk 6 to sun java 6 and now my jEdit won't start.

I'm running Ubuntu 11.10. I reset my JAVA_HOME variable in my .profile file.

I get the same error message when trying to launch jEdit from the terminal by either typing "jedit" or "java -jar jedit.jar" from the installation directory. It says

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.6.0_29/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: wrong ELF class: ELFCLASS64
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
...

Reinstalling jEdit didn't work. Any ideas?
Code folding - indent does too much
Submitted by masher on Wednesday, 26 October, 2011 - 23:59
I've discovered that if I use "indent" as my code folding setting, if I fold a section of code (parent) that itself has indents (children), when I expand the parent, the children have been folded, even though they weren't initially.

I would have expected that any code should reappear as it was before; ie any folded code should stay folded, whilst unfolded should remain visible.

Is there any way to change this behaviour?
hypertext search for all lines NOT containing the text xyz
Submitted by garyn_87048 on Friday, 28 October, 2011 - 23:08
I'm auditing a large group of text files and I need to identify lines that do NOT contain a particular text string (for example, find all rows not containing the text "xyz"). XYZ may or may not occur on a word boundary. I have not been able to figure out the regexp to accomplish this.

Alternatively, if the hyper-search returned every line with a count of the number of occurences per-line prepended to each row, that would solve it too.

Thanks!
how to get a menupoint
Submitted by BennX on Saturday, 29 October, 2011 - 17:45
good evening community,
I am not sure if i am right in Plugin Development because i didnt write it as plugin!

i am acutally writing a small improvement for our University.(It already works but i want to make it better)

I just got a problem to get a menu entry.
okay here how it works.
I wrote a thread thats simply started in the mainmethod like every other thing.
At the momment it starts a JOptionPane where you need to put a int in to use the feature i wrote.

Now i just want a menu entry where i can klick to open my JOptionPane to use(to start the thread) the feature if i need it. It just dont look nice if it always pop up at the beginning. Maybe under Help or such.

I didnt find how to do it otherwise i wouldnt ask here in Forum.

Thanks alot for your help!

Best Regards
BennX
Regex-Beginning/End of File
Submitted by farphin on Tuesday, 1 November, 2011 - 14:49
I just started using jEdit, and I'm trying to use regex's to find the beginning of the file. I've tried \A and ^^, but neither seem to work.
So, how do I find the beginning of a file (actually, multiple files, to add "stuff" to the beginning of each.)
Thanks.
coffeescript commando file (coffee.xml v0.1 by monkstone)
Submitted by monkstone on Friday, 4 November, 2011 - 16:08
A commando file to make it easy to compile/run coffeescript from jEdit, unless you are using linux, you will need to edit your path to coffee.
Text area colour based on file type
Submitted by masher on Tuesday, 8 November, 2011 - 12:06
Is there any way to set the background of the text area based on the type of file that is open?
SQL-Plugin - Server setup - need help
Submitted by lars on Thursday, 17 November, 2011 - 09:36
Hi,

I try to use the SQL-Plugin, until now with out success, since google could not help me, I decided to write this post. As described in the plugin doc, I do the following to use the plugin:

1. installed the required plugins
2. donwload the jdbc-driver and add them to the classpath
3. add a db-server within the project viewer plugin

All this steps seems to work. My problem is, that no db-server is listed in the sql plugin. I take a look at the activty log, but there no error warning messages about the sql plugin (I found just some infos about loading the jdbc drivers). Is there a better or more specific log?

I need to use the following server types:
1. Postgres
2. MySQL
3. MSSQL
4. MSSQL-Express

Unfortunately, none of them work with the plugin, although I can setup them in pv plugin. Is there a way to test db connectivty?
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