Menu

#1927 SuperAbbrevs 2.0-pre8: fails in 5.7.0

open
nobody
None
5
2024-08-17
2024-08-17
tvojeho
No

Hi everyone,

Since upgrading to jEdit version 5.6.0 and continuing into version 5.7.0, the SuperAbbrevs plugin (version 2.0-pre8) has encountered issues with template variables and later abbreviation management.

Template Variable Replacement Failure (jEdit 5.6.0 and above):
When using SuperAbbrevs in jEdit 5.6.0 or later, the plugin fails to replace the variables in the templates as expected.
For example, the template private ${2:Type} ${1:field}; is supposed to dynamically replace ${2:Type} with "Type" and ${1:field} with "field", and toggle between these fields using the TAB key. Instead, the plugin inserts the template text directly without replacing the variables, i.e., private ${2:Type} ${1:field}; is typed as-is, without the variable selection functionality.

Abbreviation Management (jEdit 5.7.0):
Starting from jEdit 5.7.0, in addition to the issue with variable replacement, the plugin also exhibits a problem within the Plugin Options menu under Plugin Options > SuperAbbrevs > Abbreviations, it is no longer possible to add new abbreviations or modify existing ones. The interface is non-responsive for these action.

Attachments
I am attaching the log files from both jEdit versions 5.6.0 and 5.7.0 to assist in diagnosing the issues.

Environment
jEdit version: 5.6.0
Build: 2020-09-03
jEdit server: Master (17.8.2024 5:06:43)
Java runtime version: 17.0.12+7-Ubuntu-1ubuntu222.04
OS name: Linux
OS version: 6.5.0-45-generic
OS arch: amd64

Active plugins: ActionHooks (0.6), BufferTabs (1.2.5), CandyFolds (1.2.3)
Character Map (1.3.3), Color Chooser (0.1), Common Controls (1.7.4)
Console (5.1.4), Context Menu (0.4), DirtyGutter (0.3b)
Editor Scheme (1.8), ErrorList (2.4.0), Finish Him! (0.9)
FlatLaf (0.46), FoldViewer (1.1), GnuRegexp (1.0.1)
Info Viewer (1.6.3), JDiff Plugin (3.4.0), Jakarta Commons (0.9)
LookAndFeel (2.4), MarkerSets (0.9), Menu Editor (0.5)
MetalColor (1.1.0), Mouse Snap (0.1), OpenIt (1.6.0)
Project Viewer (3.6), QuickNotepad (5.0), RecentBufferSwitcher (0.2)
Scala Plugin (1.1.0), SuperAbbrevs (2.0-pre8), TaskList (2.6)
Templates (5.0.3), TextTools (1.16), WhiteSpace (1.0.2)
XSearch (1.9)

jEdit version: 5.7.0
Build: 2024-08-03
jEdit server: Master (17.8.2024 5:01:55)
Java runtime version: 17.0.12+7-Ubuntu-1ubuntu222.04
OS name: Linux
OS version: 6.5.0-45-generic
OS arch: amd64

Active plugins: ActionHooks (0.6), Antlr (4.10), BufferTabs (1.2.5)
Character Map (1.3.3), Color Chooser (0.1), Common Controls (1.7.4)
Console (5.1.4), Context Menu (0.4), DirtyGutter (0.3b)
EclipseIcons (1.0), Editor Scheme (1.8), ErrorList (2.4.0)
Finish Him! (0.9), FlatLaf (0.46), GnuRegexp (1.0.1)
Info Viewer (1.6.3), JDiff Plugin (3.4.0), Jakarta Commons (0.9)
Latest Version Check (1.5), LookAndFeel (2.4), MarkerSets (0.9)
Menu Editor (0.5), MetalColor (1.1.0), Mouse Snap (0.1)
OpenIt (1.6.0), Project Viewer (3.6), QuickNotepad (5.0)
RecentBufferSwitcher (0.2), SQL (1.2), Scala Plugin (1.1.0)
SideKick (1.8), SuperAbbrevs (2.0-pre8), TaskList (2.6)
Templates (5.1.0), TextTools (1.16), WhiteSpace (1.0.3)
XML (3.0.8), XSearch (1.9), XercesPlugin (2.11.0_1)

2 Attachments

Discussion


Log in to post a comment.