jEdit Community - Resources for users of the jEdit Text Editor
global variables values in XInsert plugin are blank
Submitted by d_l on Thursday, 28 January, 2010 - 13:50
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.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Bug
by Robert Schwenn on Thu, 28/01/2010 - 19:42
I think You should file a Plugin Bug at http://sourceforge.net/tracker/?atid=565475&group_id=588&func=browse.

Robert
 
done .. reference 2941806
by d_l on Thu, 28/01/2010 - 20:18
o.k.
User login
Browse archives
« September 2010  
SuMoTuWeThFrSa
 
1
3
4
5
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
33%
Indifferent
34%
No, that'd be bad (please comment)
7%
Total votes: 1070
Syndication
file   ver   dls
JBuilder scheme   .001   6900
XP icons for jEdit   1.1   6775
R Edit Mode - extensive version   0.1   6444
ColdFusion scheme   1.0   6283
Advanced HTML edit mode   1.0   6207
jEdit XP icons   1.0   6078
BBEdit scheme   1.0   5935
Matlab Edit Mode   1.0   5876
JDiff Plugin for Jedit 4.2 pre xx   1.4.1   5704
Python Commando File   1.0   5704