jEdit Community - Resources for users of the jEdit Text Editor
SuperAbbrevs missing options
Submitted by sgtrock123 on Saturday, 11 August, 2007 - 00:09

Hi all,

I've installed and used SuperAbbrevs in the past, and recently re-installed it on a new machine after upgrading jEdit to 4.3pre9. I noticed that the option to "Expand Abbreviation" is now gone, and instead the only option available is to bring up a dialog box to type in the shortcut. Why was this removed? It seems cumbersome to me to force a mode switch, breaking the flow as I'm typing. It's simply not as fluid as the type-then-expand strategy.

This happens in the two latest versions available on SourceForge, so I reverted all the way back to 0.01 and it has the "Expand Abbreviation" option. However, it will not run under 4.3, presumably the jEdit API has changed (I'm not a jEdit expert), as attempting to tab from the inside of the snippet to the end throws the following error:

java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
	at superabbrevs.SuperAbbrevs.nextAbbrev(SuperAbbrevs.java:155)
	at SuperAbbrevsPlugin.nextAbbrev(SuperAbbrevsPlugin.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at bsh.Reflect.invokeMethod(Reflect.java:134)
	at bsh.Reflect.invokeStaticMethod(Reflect.java:98)
	at bsh.Name.invokeMethod(Name.java:874)
        ... (40 more lines snipped)

(I'm using Java 1.5.0_06 on XP SP2, in case this is a bug I'm not aware of)

Any plans to bring this feature back, or is it gone for good?

Thanks...

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