Access to the jEdit variables from SuperAbbrevs template

Viewed 41

I wonder if there is any way how to access jEdit variables (like the buffer variable) from the beanshell inside SuperAbbrevs plugin template.

When I try to expand following template, the error Attempt to resolve method: getName() on undefined variable or class name: buffer appears int Activity log.

<#= buffer.getName() #>

When I try to run this code in the BeanShell console then it displays the current buffer name:

buffer.getName()

Is it possible to access buffer name from the SuperAbbrevs template?

1 Answers
Related