global variables values in XInsert plugin are blank
Submitted by Thursday, 28 January, 2010 - 13:50
on
I have jEdit 4.3 Java 1.6.0_17.
In the XInsert script I am trying to refer to global variables set in fields in
Options: Plugins: Xinsert
It seems that the value of the 1st global variable is lost (blank) after I enter variable name and value pair, press Apply, press O.K. and then inspect XInsert Options window again. The variable name is always retained but not the value. It is not seen by an xinsert.xml script. I have tried with and without quotations around the value.
I do ensure that I reload XInsert after each edit of the test.insert.xml file placed in /.jedit/xinsert/
I have tried closing down jEdit and restarting but still the global var value is lost.
Also in /.jedit/xinsert/ is the variables file (global variables but blank).
What takes precedence .. the global var settings in the Options pane or the variables file?
This does look like a bug but I'm not sure.
In the XInsert script I am trying to refer to global variables set in fields in
Options: Plugins: Xinsert
It seems that the value of the 1st global variable is lost (blank) after I enter variable name and value pair, press Apply, press O.K. and then inspect XInsert Options window again. The variable name is always retained but not the value. It is not seen by an xinsert.xml script. I have tried with and without quotations around the value.
I do ensure that I reload XInsert after each edit of the test.insert.xml file placed in /.jedit/xinsert/
I have tried closing down jEdit and restarting but still the global var value is lost.
Also in /.jedit/xinsert/ is the variables file (global variables but blank).
What takes precedence .. the global var settings in the Options pane or the variables file?
This does look like a bug but I'm not sure.