Enhancement suggestions for UEdit active scripting

Enhancement suggestions for UEdit active scripting

262
MasterMaster
262

    Mar 20, 2007#1

    Hi all. Just wanted to let you know, that I have sent the suggestions for enhancements that you see below to IDM.
    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

    112
    Power UserPower User
    112

      Mar 21, 2007#2

      Good ideas Jorgen,

      You might want to add:

      UltraEdit.activeDocument.characters
      Property with the actual number of characters in the document (for those formats with multi-byte characters).

      Paolo
      There is no such thing as an inconsistently correct system...
      Therefore, aim for consistency; in the expectation of reaching correctness!

      4
      NewbieNewbie
      4

        Mar 27, 2007#3

        thanks for the js scripting stuff!
        but what i really miss is the ability to include other js files (libraries etc.).

        tulpe

        germany

        [edit] whoops.. i thought this was an official suggestion thread.. sorry for hijacking[/edit]