Hi Yutaka.
Would it be possible to add support
for permanent/persistent variables?
I want to define an VAR as persistent
for the whole session of the current
EmEditor instance. Or even store it
to an user.INI to have it persistent
after an Editor restart.
Perhaps something like:
editor.SetPermVar( ‘myVar’, value, local/global, persistent=true, non-default-INI-file );
Script 1
X = 'One Two Three';
editor.SetPermVar( 'myVar', X, local );
Script 2
LastValue = editor.GetPermVar( 'myVar' );
myValue = prompt('Value:', LastValue); // 'One Two Three';
What do you think?