jEdit Community - Resources for users of the jEdit Text Editor
Any examples for configuring & using the SuperScript plugin ?
Submitted by paulflory on Thursday, 15 July, 2004 - 05:10
Hi all,

I'm having problems getting SuperScript to do anything but output what appear to be error messages. This sounds like a totally cool plugin, but I can't find any examples of how to setup and use it.

I'd love to be able to run perl scripts with it, and eventually beanshell scripts/macros.

Anyone have tips?

Here's the output I get when trying to compute 1+1 several different ways, none of which work:

-> 1+1

org.apache.bsf.engines.perl.PerlEngine
-> 1+1

bsh.util.BeanShellBSFEngine

bsh.util.BeanShellBSFEngine
-> 1 + 1

org.apache.bsf.engines.activescript.ActiveScriptEngine

org.apache.bsf.engines.activescript.ActiveScriptEngine

bsh.util.BeanShellBSFEngine


-Paul
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Any examples for configuring & using the SuperScript plugin ?
by Anonymous on Thu, 15/07/2004 - 07:49
The procedure to run SuperScript with a Scripting Engine are well laid down in the SuperScript User Manual docs. To run any scripting language, you need the scripting engine's BSF implementation. Say you want to run Beanshell, then you first have to get Beanshell's BSF implementation from http://www.beanshell.org/download.html there is a download called bsh-bsf. download it and put it in the jedit.home/jars where jedit.home is where you have installed jedit. Regarding Perl, its support is a bit flaky but I am successfully running Beanshell, JavaScript, Groovy, Jython in SuperScript(because these are then only scripting languages I know Smiling).

Hope this Helps,
Jiger
 
Thanks for the example, that worked
by paulflory on Thu, 15/07/2004 - 14:21
Jiger,

Your directions got bsh working in superscript within seconds - thanks!

One final step: after putting the jar in the jars dir, I had to restart jEdit. I believe that one was documented in the manual, but the other stuff you offered was clearer than the provided online plugin help.

-Paul
 
Paul, The next versio
by Anonymous on Fri, 16/07/2004 - 05:29
Paul,
The next version of SuperScript adds more clearer docs so this is included in the next release. Happy to know it is working for you Smiling

-Jiger
User login
Browse archives
« April 2025  
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   107462
Context Free Art (*.cfdg)   0.31   46065
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18035
R Edit Mode - extensive version   0.1   17485
Advanced HTML edit mode   1.0   16216
Matlab Edit Mode   1.0   16080
jEdit XP icons   1.0   15239
XP icons for jEdit   1.1   14303