Hello guys,
I'm having some problems making an XML file for a commando UserInterface with
the console plugin.
The jedit help is telling about the use of the TOGGLE_ENTRY ELEMENT the
following:
Here is an example TOGGLE_ENTRY element:
<TOGGLE_ENTRY LABEL="Additional file" VARNAME="ignoreCase"
EVAL="buffer.getPath()"/>
Now, i've try this:
<?xml version="1.0"?>
<!DOCTYPE COMMANDO SYSTEM "commando.dtd">
<COMMANDO>
<TOGGLE LABEL="blahblah"
VARNAME="var1" />
<TOGGLE_ENTRY LABEL="more blah " VARNAME="var2"
EVAL="buffer.getPath()"/>
</COMMANDO>
The first action "toggle" is working, which means for me that the xml file (under
\.jedit\console\commando) has been found and could be read. Now, if i add the
element "toggle_entry" jedit is giving an error. Im having exactly the same
problem with the LONG ENTRY element!
Am i doing something really wrong or is this a bug? This feature is really
important for me, so if u guys have an idea, plz let me know it!
The first lines of the BeanShell error say:
Sourced file: inline evaluation of: ``commandoTOGGLE_ENTRY(view,pane,ns,label,var,options);''
: Undefined argument: value : at Line: 10 : in file: commandoTOGGLE_ENTRY : (
value )
Called from method: commandoTOGGLE_ENTRY : at Line: 1 : in file: inline
evaluation of: ``commandoTOGGLE_ENTRY(view,pane,ns,label,var,options);'' :
commandoTOGGLE_ENTRY ( view , pane , ns , label , var , options )
at bsh.BSHArguments.getArguments(BSHArguments.java:67)
at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:167)
.....
...
.