jEdit Community - Resources for users of the jEdit Text Editor
optimizing for osx/mac
Submitted by starpause on Monday, 6 June, 2011 - 01:04
hi all, love jEdit and i've tried all the editors =)

but i'm wondering if there's some performance optimizations i may be missing for osx. mostly, i want to run jEdit on the background so it opens any text file instantly (even after i've quit). i also want to be sure i'm running jEdit with the most recent version of java on my machine and with enough ram. any other ideas for getting optimal performance on a macintosh?

if it matters i'm running osx 10.6.7 and jedit 4.4pre1.

thanks!
jordan
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Command Line Options
by Robert Schwenn on Mon, 06/06/2011 - 17:39
You have to find and tweak the command line which is used to start jEdit. Not sure how to find it on MacOS, for Windows and Linux there are start scripts in jEdit's program directory.

1. To justify the JVM (i.e. memory) see there:
http://download.oracle.com/javase/1.5.0/docs/guide/2d/flags.html or
http://download.oracle.com/javase/1.5.0/docs/tooldocs/solaris/java.html

2. To let jEdit stay invisible in the background, when the last view has been closed, specify the "-background" option for jEdit. Note that jEdit is shut down nonetheless, if You choose "File -> Exit".

3. Example of command line for Windows:
javaw.exe -Xmx192M -Dawt.useSystemAAFontSettings=on -Dsun.java2d.noddraw=true -jar path_to_jedit\jedit.jar -background -reuseview %*
 
yo Robert, thanks for the fas
by starpause on Tue, 07/06/2011 - 20:41
yo Robert, thanks for the fast reply!

i looked into the contents of the jedit.app package and see there's an Info.plist file that covers the same bases you described:

<key>JVMVersion</key>
<string>1.6+</string>
<key>VMOptions</key>
<string>-Xmx192M</string>
<key>Arguments</key>
<string>-background</string>
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293