
                    SPF/SE Standard Edition
                     Changes 4.5 to 5.0

----------------------------------------------------------------------
Category FILE LIST
----------------------------------------------------------------------

* In File List, Copy/Move Files Dialog options for overwrite are
  expanded.

* New File List primary command SETEOR lets you to set the EndOfRecord
  type for all files in the File List.

  See HELP, item QUICK REF, item FILE LIST PRIMARY COMMANDS,
  command SETEOR.

* New File List primary command FOREACH lets you apply a User Command
  to all files in the list.

     FOREACH  user-command-name

----------------------------------------------------------------------
Category EDIT
----------------------------------------------------------------------

* New Edit primary command INSERTLINE can be used in edit macros to
  insert a new data line into the current edit file.

      INSERTLINE  line-number  line-data

* New Edit primary command SETEOR lets you set the EndOfRecord type
  for the current Edit file.

  See HELP, item QUICK REF, item EDIT PRIMARY COMMANDS,
  command SETEOR.

* When Edit (or Browse) loads a file, it is loaded under control of a
  File Profile. The File Profile is derived from the file extension
  (characters after the dot) of the file name.

  If no matching File Profile is present, the system must use a
  default File Profile.

  Under OPTIONS, item EDITOR, field "NoMatchOnFileProf" has been added
  to offer more flexibility in controlling File Profile assignment for
  non-matching files.

  Invoke OPTIONS, item EDITOR, press F1 for in context HELP.

----------------------------------------------------------------------
Category OPTIONS
----------------------------------------------------------------------

* Under OPTIONS, item GENERAL, new field "Suppress message IDs" allows
  you to selectively suppress particular messages.

* Under OPTIONS, item FILE PROFILES, for RECFM=V only, fields
  "AutoIncreaseRecLen", "AutoIncreaseNotify", and "TruncateLongLines"
  are replaced with a single new field "LongRecordOption" with choices
  of "AutoIncrease", "Fold", "Notify", and "Truncate".

* Under OPTIONS, item FILE PROFILES, for RECFM=V only, fields
  "PadShortRecsWithBlank" and "StripTrailingBlanks" are replaced with
  a single new field "TrailingBlanksOption" with choices of
  "PadBlanksOnWrite" and "StripBlanksOnWrite".

* Under OPTIONS, item FILE PROFILES, new field "NumberStepdownIncrement"
  allows you to manually specify the line number increment for
  automatic line numbering of new lines inserted between existing
  numbered lines.

* Under OPTIONS, item COLOR, item PROGRAM SOURCE COLORS, mode
  "ColorByWord", we now support the ability to highlight integers that
  parse as "words".

  Default = Integer "words" are not highlighted.

* The following OPTIONS settings are now preserved across Versions and
  Builds:

     Alias Commands
     Alias Profiles
     Backup Paths
     Editor
     File List
     Filters
     General
     PF Keys
     Ctrl Keys
     Alt Keys

  The following OPTIONS were already preserved across versions and can
  be copied to 5.0:

     Color Schemes
     File Profiles
     Source Colorization Definitions
     Print Styles
     User Command Definitions

     Copy from:  c:\...old-SPF-install-directory...\user\*.*
     Copy to:    c:\...new-SPF-install-directory...\user\*.*

  NOTE: When comming from an earlier version than 5.0 you will have to
  manually set your 5.0 OPTIONS to match the earlier version. From
  version 5.0 Build 1003 forward your OPTIONS settings will be
  preserved as described above.

  *** WARNING ***
  Do not copy your old global profile (SPFSE.PRF) to version 5.0.

----------------------------------------------------------------------
Category DIALOG MANAGER
----------------------------------------------------------------------

* In Dialog Manager, in dialog definitions, under object, the
  following keywords can now specify a varname: Thus, many of a dialog
  object's attributes can be set at runtime from within the macro
  which launches the dialog.

     CHOICES
     COL
     COLOR
     LABEL
     NAME
     POPUP
     RANGE
     ROW
     VAR
     WIDTH

  All varnames specified must be prefixed with "&"(ampersand).
  Example,

      choices=&varname

  Varnames that start with the letter "Z" are assumed to be system
  vars and will be stored and retrieved by name "as is". For example,

       Var ZMYVAR will be stored and retrived using name ZMYVAR

  Varnames that start with any letter other than "Z" are assumed to be
  dialog vars and will be automatically prefixed with the current
  dialog name before storage or retrieval. For example in dialog TEST,

       Var MYVAR will be stored and retrived using name TEST.MYVAR

* In Dialog Manager, in dialog definitions, under object:

  - New type "input_bool" replaces "checkbox".

  - Parameter "text" is replaced by parameter "label" on type
    "input_bool"

* In Dialog Manager, in dialog definitions, under object:

  - New type "input_number"  (NEW)

  - New parameter "range=N,N", use with type=input_number

  - New parameter "required=yes|no", use with type=input_number

* In Dialog Manager, in dialog definitions, under object:

  - New type "input_text" replaces "input"

  - New parameter "required=yes|no", use with type=input_text

* In Dialog Manager, in dialog definitions, under object:

  - New parameter "name=...", name to put into runtime diagnostic
    messages about this object

* In Dialog Manager, in object type LIST, parameter POPUP now
  takes a literal list of popup menu items separated by commas
  or a variable name. For example,

     Edit,Browse,...    OR    &varname

  When a popup menu item is selected it is placed in var:

     dialogname.Popup.Reply

  NOTE: User dialogs that used the old method of initializing popup
  menus will have to be re-coded using the new (and easier) method.
  In most cases you can specify the popup menu items directly in the
  dialog definition:

     popup="Edit,Browse,..."

  When a varname is used simply set it to the desired literal list
  values.

     // init popup menu
     SpfService("vput","TestDlg.Popup","Edit,Browse,...");

* In Dialog Manager, in dialog definitions, under object:

  - New type "input_choice" replaces "combo"

  - New parameter "choices=C1,C2,..." use with type=input_choice
    may be "&varname"

  NOTE: User dialogs that used "type=combo" will have to be re-coded
  using the new (and easier) method. For example:

  obj { type=input_choice  row=5  col=1  label="Test choice field"
        width=8  var=TestChoice  choices="One,Two,Three" }

  1. In a dialog or edit macro, to initialize the choice field, set the
     current choice value directly into the dialog var:

     // Init dialog field to current choice
     SpfService("vput","TestDlg.TestChoice","Two");

  2. In a dialog or edit macro, on commit, retrieve choice value
     directly:

     char *choice;

     // Retrieve choice field value
     choice = SpfService("vget","TestDlg.TestChoice");

* In Dialog Manager input fields now support "Cut/Copy/Paste/Delete"
  commands:

  - CUT, copies the complete content of the current input field into
    the Windows clipboard. It then deletes all input field content and
    positions the cursor to the first column of the input field.

    NOTE: Mouse selection is not supported in input fields.

  - COPY, copies the complete content of the current input field into
    the Windows clipboard. Input field content is unchanged.

    NOTE: Mouse selection is not supported in input fields.

  - PASTE, pastes(types) the current Windows clipboard content into
    the current input field.

    If the current text entry mode is overtype, the pasted text
    overtypes starting at the current cursor position.

    If the current text entry mode is insert, the pasted text inserts
    starting at the current cursor position.

  - DELETE, deletes all input field content and positions the cursor
    to the first column of the input field.

    NOTE: Mouse selection is not supported in input fields.

  - Popup menu; press the right mouse button in an input field to
    access a popup menu with commands "Cut, Copy, Paste, and Delete".

  - Keyboard shortcuts for "Cut, Copy, and Paste":

    -- CTRL+X for the "Cut" command

    -- CTRL+C for the "Copy" command

    -- CTRL+V for the "Paste" command

    NOTE: There is no keyboard shortcut for the "Delete" command.

----------------------------------------------------------------------
Category OTHER
----------------------------------------------------------------------

* New system var ZEDITVIACMDLINE (TRUE/FALSE) allows you to check from
  within a macro whether the current edit was invoked via command
  line.

* New system var ZSPFEXE contains fully qulified path for SPF
  executable. This allows you to launch instances of SPF with specific
  command line options from within macros.

* In USERCMD definition the command string can now contain user
  variables. User variable names must be in form "&ZUSER..."

  Primary command SYSTEM may also contain user variables.

  You can use a macro or UTILITY, item EDIT VARIABLES, button NEW to
  set up user variables of this type.

* In "C" Interpreter added new library functions:

     FileRename()
     FileStatus()

