I don't know what to call this so I'll describe it...
In UES Configuration, IDE->IntelliTips->Miscellaneous there is a option to Change ".." to "->"
Is there any way to add extra options to UES? (WeBuilder has something similar which they call 'snippets', although you have to press Ctrl-J in that, which isn't ideal)
I would like to be able to Change "##" to '=>'
---
I wrote the following script to run on pressing the '#' key, but it's not brilliantly elegant and I was hoping there is a better way...
//write the string "=>" to the currently active document
UltraEdit.activeDocument.key("LEFT ARROW");
if (UltraEdit.activeDocument.isChar('#')){
UltraEdit.activeDocument.key("DEL");
UltraEdit.activeDocument.write("=>");
} else {
UltraEdit.activeDocument.key("RIGHT ARROW");
UltraEdit.activeDocument.write("#");
}
In UES Configuration, IDE->IntelliTips->Miscellaneous there is a option to Change ".." to "->"
Is there any way to add extra options to UES? (WeBuilder has something similar which they call 'snippets', although you have to press Ctrl-J in that, which isn't ideal)
I would like to be able to Change "##" to '=>'
---
I wrote the following script to run on pressing the '#' key, but it's not brilliantly elegant and I was hoping there is a better way...
//write the string "=>" to the currently active document
UltraEdit.activeDocument.key("LEFT ARROW");
if (UltraEdit.activeDocument.isChar('#')){
UltraEdit.activeDocument.key("DEL");
UltraEdit.activeDocument.write("=>");
} else {
UltraEdit.activeDocument.key("RIGHT ARROW");
UltraEdit.activeDocument.write("#");
}