XInsert: -xinsert_script- macro parsing fails:workaround
Submitted by Monday, 10 July, 2006 - 20:16
on
Hi All !
I am new to jEdit and try to organize my work around it now.
While writing a library for the XInsert plugin - to be used with VBScript - I got a strange problem.
The statement:
if( (filename.lastIndexOf(".") != 0) && (filename.lastIndexOf(".") > firstPos) )
{
....
}
could not be parsed and the library was out of order and unusable.
This seems to be the fact, because XInsert expects xml !!!
-
{@
... XInsert expects xml here!!!
}
The workaround I used, was to include the script/macro part into another CDATA section:
-
This prevents the xml-parser to interpret the macro code and everything is ok.
I found no better docs and discovered it this way. May be, this helps others too. Any other solution is very welcome.
Best regards,
Manfred
Best regards,
Manfred