<http://forum.pspad.com/read.php?f=2&i=12623&t=12623>
----------------------------------------------------------------
Hi !
First of all : excuse me for my poor french english....
I would like to automatically close xml tags when i press "<" and next
"/".
For example : <myXmlTag>bla bla bla bla</ ...... do you
see ??
So, i'm trying to write a js script in order to customize PSPAD, but i
don't find how to make a shortcut on "/". It works on "<" but not on
"/".
function Init()
{ // A little piece of my code...
addMenuItem( "Close XML Tag", "XML Help", "test", "<"); //
Works but don't need
addMenuItem( "Close XML Tag", "XML Help", "test", "/"); //
Doesn't work...
}
How could i code this ? is there an other possibility ?
Thank you for your help,
Regards,
Fabrice THIBON.
--
PSPad freeware editor http://www.pspad.com