jEdit Community - Resources for users of the jEdit Text Editor
Archives
jEdit on Window Server 2012
Submitted by dirkniemeier on Tuesday, 26 August, 2014 - 08:21
Hi,
I try to install jEdit 4.1.0 on Windows Server 2012R2 but I get the message "This application requires a Java Runtime Environment 1.6.0".

I have an installed Java Server Runtime:

java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

JAVA_HOME is setted. The JAVA_HOME\bin is in path.

Anything else to do?
TIA
Dirk
Console plugin environment variable issue
Submitted by SpiceWare on Friday, 3 October, 2014 - 17:09
I've been using jEdit for Atari 2600 homebrew development since 2006. Spurred on by a fellow homebrewer, I recent delved into the plugins to figure out how to compile and run code from jEdit. I got it mostly working, though I ran into a problem with the environment variables. To figure out what was going on, I replaced my Custom Command for the Interpteter with an echo command and did some tests:

echo $f
/Users/darrellspice/Projects/Atari/Draconian/draconian.asm

echo $d
/Users/darrellspice/Projects/Atari/Draconian

echo $n
draconian.asm

echo $c
draconian

I know I can use multiple environment variables per command because my custom compile command works. The following compiles my source code (draconian.asm) and creates three output files(draconian.sym, draconian.lst and draconian.bin):
dasm $n -f3 -v0 -s$c.sym -l$c.lst -o$c.bin

For the interpreter step I needed to use the full path to the bin file, which is the source file with the extension .asm replaced with .bin. I thought that could be accomplished by $d/$c.bin but it fails to work.

echo $d/$c.bin
/Users/darrellspice/Projects/Atari/Draconian/.bin

The results I was expecting were:
/Users/darrellspice/Projects/Atari/Draconian/draconian.bin

So for some reason the second environment variable is being ignored. Any ideas? About jEdit shows:
jEdit 5.2pre1 server-background mode, using Oracle Corporation Java 1.7.0_67

In case you're wondering, Draconian is a port of Bosconian for the 2600. You can read about it, and even download a WIP ROM to run in Stella, over at AtariAge:
http://atariage.com/forums/topic/225044-draconian-2600/
http://stella.sourceforge.net

Thanks!
partially case-sensitive mode file?
Submitted by SpiceWare on Saturday, 4 October, 2014 - 18:22

When writing code for the Atari 2600 I use the compiler dasm.

With dasm, the opcodes are case-insensitive so LDA can be written as LDA, lda, Lda, etc. As such, I've set the mode file to use <RULES IGNORE_CASE="TRUE">.

I've configured the mode file so the 2600's registers such as GRP0, which holds sprite0's shape for the current scanline*, get syntax highlighted. However, dasm is case-sensitive when it comes to variable names. As such, if I type grp0 into my source code the compile will fail.

As such, I'd like to be able to make some of the keywords case-sensitive even though most of them are not. Can this be done with jEdit? My current mode file, assembly-6502, can be found here. I'm planning to do an update soon and will be renaming it Atari 2600 Assembly as the mode file's not really for generic 6502 assembly language.

* Yep, just the current scanline. When the Atari 2600 was developed memory was extremely expensive, so much so that the 2600 only contains 128 bytes of RAM. So TIA, the video chip, was designed to be scanline based. This means the registers in TIA only contain enough information to draw a single scanline, so your code must update TIA's registers on each and every scanline in order to draw the screen the player sees.

Jedit doesn't find my new Edit mode (SASS).
Submitted by kosmos890 on Thursday, 23 October, 2014 - 16:04
I am a linux user and Jedit finds my Edit mode if only I run it as root.

I downloaded sass.xml from here and I put it into /usr/share/jedit/modes directory.
I add the node <MODE NAME="sass" FILE="sass.xml" FILE_NAME_GLOB="*.sass"/> into the file "catalog" inside the same folder.
I did the same into the /home/<user>/.jedit directory.

All plugins into this directory (user directory) works.
Select_Find_Next.bsh - a BeanShell macro script to multi-select next match. (Select_Find_Next.bsh v1.0 by AhLeung Cheng)
Submitted by ahlearn on Saturday, 6 December, 2014 - 21:58

Updated on 12/21/2014 - 07:05
Downloads: 2114

Select_Word.bsh v1.0 by AhLeung Cheng
Submitted by ahlearn on Sunday, 21 December, 2014 - 07:01
Replace the built-in textArea.selectWord() which may select non-word characters even if there is a word on the left of the caret
Select contents in between parentheses (excluding parentheses) (Select_Contents_in_Parentheses.bsh v1.0 by AhLeung Cheng)
Submitted by ahlearn on Sunday, 21 December, 2014 - 08:51

Updated on 12/21/2014 - 08:51
Downloads: 3530

Ubuntu Trusty won't let me set Jedit as a default editor
Submitted by jeditcdnguy on Saturday, 27 December, 2014 - 21:14
It doesn't show up as an application in either 'open with'->'other Applications'

or

'properties->'open with'

Also, I can't browse for it.

Any ideas, please?
Select_All_or_Lines.bsh v1.0 by AhLeung Cheng
Submitted by ahlearn on Saturday, 24 January, 2015 - 19:43
If no selection, then select all. Otherwise, select the whole lines for all selected lines.
Open_Copied_Path.bsh v1.0 by AhLeung Cheng
Submitted by ahlearn on Saturday, 24 January, 2015 - 19:47
Open the file with its path copied to the clipboard
Select line (Select_Line.bsh v1.0 by AhLeung Cheng)
Submitted by ahlearn on Saturday, 24 January, 2015 - 22:10
Select line - Repeat to select next lines. Suggested shortcut: C+l
Mark Lines in Find & Replace
Submitted by CJreige on Thursday, 5 February, 2015 - 21:06
I would like request a useful feature that I've seen in other editors.

In the Search and Replace dialogue, I'd like to have a 'Mark Lines' button along with the Find, Replace, Replace All, buttons. This feature would mark the lines for all occurrences of the 'Search for' expression.

Thanks
Quick Multi Select
Submitted by CJreige on Thursday, 5 February, 2015 - 21:17
Here is a feature that I've seen in another editor that's really useful. I would like to add a feature to the multi-selection that makes it quick to select all the instances of a particular word. Now, a double-click on a word selects that word. I want to be able to CTRL-DoubleClick to multi-select all instances of that word.

This would be a quick way to replace all instances of the chosen word: CTRL-DoubleClick then start typing to replace them all at the same time.
Retina display problem with Mac OS X package
Submitted by Gregory on Sunday, 22 February, 2015 - 19:18
I have a problem with getting fonts to display smoothly on the Retina screen on my Macbook Pro. When I install jEdit (currently 5.2.0) using the Mac OS package, the installation goes fine, but when I then launch the application by clicking on jEdit.app (or, within the package on Contents/MacOS/jedit), the fonts are rendered with terrible anti-aliasing problems. These are unaffected by changes to the relevant Global Options.

However, when I launch the application by clicking on the jedit.jar, found inside the package at Contents/Java/jedit.jar), font resolution is perfect. But of course, launching the application this way loses the benefits of having jEdit packaged like a native Mac app. I don't understand why these two methods give different results where resolution is concerned.

I'm not sure how the Mac package is compiled, so I can't fix this myself. Any suggestions of what I can do or who I might contact?

Thanks,
Gregory
Hyper-search all .txt files in home dir (HyperSearch_in_Home_Dir.bsh v1 by AhLeung Cheng)
Submitted by ahlearn on Sunday, 12 April, 2015 - 17:41

Updated on 04/12/2015 - 17:41
Downloads: 3270

jEdit 5.2.0 is out!
Submitted by Vampire on Thursday, 16 April, 2015 - 02:12
Hello everyone,

I proudly present jEdit 5.2.0, the first stable release of the 5.2 series of jEdit.

Detailed changes can as always be found in the Change Log at http://jedit.org/CHANGES52.txt

Volunteers are always welcome to contribute to the future of jEdit:
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 5.2 series (fix done, but waiting for a review) can be found at:
https://sourceforge.net/p/jedit/merge-requests/milestone/for%205.2.x/

Have fun with the new release.
Where/How to submit bug reports?
Submitted by dsmith on Friday, 15 May, 2015 - 15:07
OK, so the subtitle comment on the forum says that bug reports don't belong here, but the SourceForge bug tracker won't let me submit a bug report without being authorised by the project admin. So, how do I submit a bug report?
copy and paste
Submitted by jhuang22 on Sunday, 14 June, 2015 - 09:25
I have used jEdit to create web code file in HTML for several years. I met this problem recently and do not know why. When I copy a paragraph and try to paste in jEdit, the whole paragraph become one long line. I paste the same thing to other text editor like Microsoft word or open office writer, it do not have this problem. I do not have this problem in jEdit before, I even can not remember when this problem started.


Please help.
Caret move to first/last visible line bug?
Submitted by jhaefner on Wednesday, 17 June, 2015 - 05:26
Hi,
I use ubuntu 14.04 lts, jEdit version 5.1
$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK Server VM (build 24.79-b02, mixed mode)

I have strange behavior of caret moves near the top and bottom of visible lines. Specifically, "go to first visible line" goes to the fourth from the top, and "go to last visible line" goes to the 4th from bottom. Further, "go to next line down", when within the top 4 visible lines jumps to the 4th line. It works correctly when the caret is positioned w/in the middleof the text.

Any one else see this?
Sidekick parser
Submitted by zslevi on Monday, 29 June, 2015 - 14:01
How can I create a new Sidekick parser? Can I do it from Beanshell, or does it have to be Java?

This is all the docs I have found:

http://plugins.jedit.org/plugindoc/SideKick/#implement-sidekick-parser

But most of the links don't work.
User login
Browse archives
« August 2014 »
MoTuWeThFrSaSu
 
1
2
3
4
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
27
28
29
30
31
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   82338
Context Free Art (*.cfdg)   0.31   46042
JBuilder scheme   .001   18486
BBEdit scheme   1.0   18107
ColdFusion scheme   1.0   18015
R Edit Mode - extensive version   0.1   17461
Advanced HTML edit mode   1.0   16194
Matlab Edit Mode   1.0   16056
jEdit XP icons   1.0   15220
XP icons for jEdit   1.1   14281