PreviousNextTracker indexSee it online !

(60/161) 2807966 - SuperAbbrevs - multi-mode abbrevs

Abbreviations are currently grouped by mode, e.g. one set for HTML, another for XSL, another for Python, etc or global, i.e. available to all modes. If I want to use the same abbrev in more than one mode, I have to manually recreate for each additional mode. Putting the abbrev in the global modespace fails when there is more than one definition for an abbrev, i.e. I might want to expand "tr" as a table row tag in HTML and XSL but expand to something else in Python or SQL.

I would like to be able to assign abbrevs to multiple modes, or create multi-mode abbrev sets, e.g. Python mako templates, which are a combination of HTML and Python code, could define a new mode "Mako HTML" to which abbrevs from both the Python and HTML abbrev sets are assigned, or possibly "add" modes to existing abbrevs?

Not sure what would be the best way to implement this idea, and my jEdit plugin dev skills are negligible, but I'd be happy to work with someone to define and test it.

Submitted phipster - 2009-06-17 - 21:07:47z Assigned sune_simonsen
Priority 5 Category None
Status Open Group None
Resolution None Visibility No