Wed Help File

This is a shortened version of Wed's help file.

Wed Menu system is designed to allow you to learn Wed's shortcut keys.

Basic Editing functions

Wed editing keys confirm to Windows standards. Navigation keys, mouse operations, copy, cut and paste functions work as expected. Additionally, Wed responds to BRIEF compatible keystrokes.

Whenever there is a conflict, Wed attempts to allow the action with the most productivity.

For a quick view of key assignments refer to Wed's menu system, or thekeys section below.

Selecting text

Wed provides several ways to select text. The standard selection keys work as expected, and advanced selection methods are available.

    Holding shift and navigating up and/or down will start row selection.
    Holding shift and navigating left and/or right  will start column (block) selection.
    Dragging the mouse up and/or down will start row selection.
    Dragging the mouse left and/or right  will start column (block) selection.

Wed's principal selection method is Alt-L for row select, Alt-C for column (block) select. Navigation keys will extend selection.

Selection shortcuts:

    Use Alt-V to select the current word
        Mouse double click will also select the current word
    Use Alt-M to select (mark) the current block, as understood by 'C'
    Use Alt-P to select the current paragraph as in text file paragraph (empty line)
    Use Ctrl-A to select the whole buffer (file)

Selection can be canceled by pressing Esc or Control Break.

Copy/Cut/Paste

    Wed has two clipboard systems. The

  • Standard windows clipboard
  • Set of ten holding buffers

    The standard windows clipboard works as expected.

  • Ctrl-C for copy
  • Ctrl-X for cut
  • Ctrl-V for paste

    The holding buffer system has ten buffers, and two major modes:

  • Row mode
  • Column mode (or block mode)

    Row mode copies/cuts whole lines.
    Column mode copies/cuts block of text delimited by column (block) highlight.

To copy highlighted text, use the Plus (+) key on the number keypad. (Gray Plus)
To cut highlighted text, use the Minus  (-) key on the number keypad. (Gray Minus)
To paste holding buffer text, use the Ins  key on the number keypad.

    If shift is held while copying/cutting, the holding buffer appends the new data to the old. This is useful for accumulating text in the holdings.

To switch holding buffers, use Alt-0 Alt-1  ..... Alt-9

Holding buffers are automatically saved and re-loaded into Wed.

Searching text

    To search for a text use Alt-S. This displays a pop-up window, where the text to search for can be entered. Previous searches can be recalled with the up and down arrow keys.
The search will display a list of matches in a pop-up window. Navigating in the pop-up window will move the cursor in the main window. Pressing Enter or Esc will close the pop-up and put you onto the match.

    Entering Hit Mode. Alt-H enters hit mode, which displays only the lines with matches.

    Use Alt-S to start Search
    Use Alt-T to start Search/Replace
    Use F5 to jump to previous match  (updated live)
    Use F6 to jump to next match  (updated live)

The action of F5 and F6 are updated live, so matches will hit correctly even if the buffer changes. This is most useful on macro playback.

While in Search pop-up

    Use Navigation keys to jump onto search hits
    Use Alt-C To change all occurrences in one buffer
    Use Alt-O To change one occurrence
    Use Alt-G To change al occurrences in every selected file (Power User Be Aware)
    Use Alt-E To close all search pop-ups

Search has three modes:

  • Normal Search                    Case Insensitive
  • Function Search                   Find functions as in "C, C++, Java"
  • Regular expression Search    POSIX compatible Regex

Function Search:

The function search depends on the following algorithm:
    Non empty column(0)  before the line with "{" in colomn(0)  [the first position]

Regular expression syntax:

  • ^         Beginning of the string. The expression "^A" will match an ‘A' only at the beginning of the string.
  • ^         The caret (^) immediately following the left bracket ([) has a different meaning. It is used to exclude the remaining characters within brackets from matching the target string. The expression "[^0-9]" indicates that the target character should not be a digit.
  • []         Brackets ([ and ]) enclosing a set of characters indicates that any of the enclosed characters may match the target character.
  • $         The dollar sign ($) will match the end of the string. The expression "xyz$" will match the sub-string "xyz" only if it is at the end of the string.
  • |         The OR character (|) allows either expression on its side to match the target string. The expression "x|y" will match ‘x' as well as ‘y'.
  • .         The dot (.) will match any single character.
  • *         The asterisk (*) indicates that the character to the immidiate left of the asterisk in the expression should match 0 or more times.
  • +         The plus (+) is similar to asterisk but there should be at least one match of the character to the left of the + sign in the expression.
  • ?         The question mark (?) matches the character to its immidiate left 0 or 1 times.
  • ()         The parenthesis affects the order of pattern evaluation. Also serves as a tagged expression that can be used when
  • replacing the matched substring with another expression.

Searching can be interrupted with Esc or Ctrl Break at any time.

Macros

    Wed has a powerful macro facility. Recording a complex action, and playing it back with a single keystroke makes for a very powerful tool.
    To start recording press F7. Keystrokes are recorded in order they are pressed. Hitting F7 again will stop recording. F8 will play the recorded macro. Shift-F8 will animate the macro, ss the working of the macro can be observed. (debugged)
A recorded macro can be saved to a file for later use. Named macros can be reloaded into the currently selected macro buffer.

Wed has ten macro buffers. They can be selected with the keys Ctrl-0, Ctrl-1 ... Ctrl-9
Macro buffers are automatically saved and re-loaded into Wed. (persistent macros)

Undo/redo

When Wed changes a buffer, it saves undo information. When an undo is applied, Wed saves Redo information.

    To undo a change use Alt-U
    To redo a change use Alt-R

  Undo/Redo information is  automatically saved and re-loaded into Wed. (persistent undo)
This means Wed saves all the information to reconstruct every modification to your file. Undo/Redo can be applied at any point, Wed will safely walk you back and forth on the changes you made.

  For data safety, undo is limited to 10.000 saves. If that is exceeded, undo discards the oldest undo information. Wed saves undo information to the undo file. This means one can undo changes beyond file save boundaries. Undo will clearly prompt you if it detects an undo/redo beyond file save boundary.

CoCo code collection

Programmers accumulate a wealth of code over time. CoCo will help you organize that code into a hierarchical tree. The principal means of transferring data between buffers and CoCo is the Holding buffer/Clipboard.

Tech Notes

Wed will remember most everything about the current session. It will reload the edited files, position the cursor to the last edited point. Wed will also reload the undo/redo information of these files.

Wed will remember all ten Holding buffers, and all ten Macro buffers, and automatically reload them on startup.

Resetting Wed Configuration:

Deleting the registry key

    \\HKEY_CURRENT_USER\Software\PeterGlen\Wed

will reset Wed to its original configuration.

Copyright Banner:

  The Banner is intelligent to assist one in productivity. If the editor is started in short succession, the copyright banner will not be displayed.

Interactive:

  Wed's interactivity features let you cancel any lengthy operation, including load/save/find/copy/paste. Canceling any action is atomic, the canceled action will have the correct undo/redo, and will preserve data integrity. Canceled Read/Load will mark the buffer read only, so partial files will not overwrite originals.

    These set of features are great when editing remote files.

Status Bar:

The status bar consist of the following items:

  • Status line
  • Row Column position
  • Number of lines in file
  • Current Time
  • Current Date
  • Current Holding Buffer
  • Current Macro Buffer
  • Current Mode (Hit Mode Hex Mode, Recording, Playing)
  • Caps Lock Indicator
  • Num. Lock Indicator
  • Scroll Lock Indicator

Wed will provide good visual feedback about the current action on the status line.

Wed Features:

  • Unlimited macro size
  • Unlimited file size
  • Undo beyond last save
  • Brief compatible keystrokes
  • Ten clipboards, ten macro buffers
  • Auto file save and file backup
  • Synchronized search
  • Color diff function
  • Selectable colors
  • Selectable fonts
  •  Templates for "C' and java
  • Interrupt able operation
  • Full screen operation
  • Unix format auto recognition
  • Hit Mode

Wed Copyright © by Peter Glen, Page Copyright © by Peter Glen