You're right, I shouldn't have removed the license notification so I've added that back in and I've got rid of the tabs now - sorry about that. The original author used two spaces for indent so I've stuck with that.
I was hoping there might be some magic one-liner to implement your first solution but from your response I presume not. At least now I can continue to hack at it now knowing I'm not trying to do something impossible for the current plugin system.
Hi Stephen
You're right, I shouldn't have removed the license notification so I've added that back in and I've got rid of the tabs now - sorry about that. The original author used two spaces for indent so I've stuck with that.
I was hoping there might be some magic one-liner to implement your first solution but from your response I presume not. At least now I can continue to hack at it now knowing I'm not trying to do something impossible for the current plugin system.