Hi all. Just wanted to let you know, that I have sent the suggestions for enhancements that you see below to IDM.
Cheers! /Jorrasdk.
Cheers! /Jorrasdk.
To: [email protected]
Subject: Enhancement suggestions for UEdit active scripting
Hello IDM
After working with active scripting in UltraEdit for a couple of weeks I have
the following enhancements to suggest:
* A setting/option that suppresses the output window if there is no errors
when running a script (see also my suggestion for outputWindowVisible).
UltraEdit.outputWindowVisible = true/false
true = show output window
false = don't show output window
UltraEdit.outputWindow.write()
Just like UltraEdit.activeDocument.write but to the output window.
UltraEdit.outputWindow.clear()
Clears the output window.
UltraEdit.outputWindow.copy()
Copies the output window to the clipboard.
UltraEdit.activeDocument.cursorLineNum
UltraEdit.activeDocument.cursorColNum
Properties with the actual position of the cursor. Allthough you can do a lot
with ToogleBookmark "and family" and isColNum, it is more intuitive (for me) to work with line numbers and column numbers together with
gotoLine/gotoLineSelect.
UltraEdit.activeDocument.lines
Property with the actual number of lines in the document.
UltraEdit.activeDocument.size
Property with the actual number of bytes in the document (same as file size in the info-line).
UltraEdit.activeDocument.path
This property needs to be documented. It works ok though.
Regards
Jørgen Rasmussen
Denmark