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
« March 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82339
Context Free Art (*.cfdg)   0.31   46046
JBuilder scheme   .001   18487
BBEdit scheme   1.0   18108
ColdFusion scheme   1.0   18016
R Edit Mode - extensive version   0.1   17465
Advanced HTML edit mode   1.0   16198
Matlab Edit Mode   1.0   16060
jEdit XP icons   1.0   15221
XP icons for jEdit   1.1   14285