Organized List of My Macros

Last Updated:   4/17/26  19:38                 Jeffrey Knauth

My KEDIT macros are collected in ALLMACROS.zip. This document provides a one-line summary for each of those macros. Much more information can be found in the macros themselves, typically in comments at the top of the macro or in a Help section at the end. If it exists, a macro's Help can be invoked by invoking the macro with just a single "?" parameter. Two macro packages (PCCON.pkg and ENHSRCH.pkg) have some very detailed documentation about those tools; see PCCON doc and ENHSRCH doc.

Basic File Editing

WINPROF This is my KEDIT profile.
FILEJGK If the file was changed, updates the timestamp line (if present) and does a SAVE or FILE; else QUITs.
TSL Adds a generic timestamp line as the top line, for later use by FILEJGK.
QAZ Erases an (accidentally created) file if it is less than four lines long.
KCLOSE Executes a file CLOSE (a la Windows A-F4), but optionally use FILEJGK to do a FILE.
BOXFILL Fills a marked block (box) with the text from the first line in the box.
CENTERITEM Centers text in a line with a gap on each side of that text and "rule" characters to fill the rest of the line.
FIXCMNT Adjusts the length of the lines in a centered-text comments block.
ULINE Underlines each blank-delimited word on the line.
SEPLINE Adds a line of "-"s or "="s below the cursor line.
JOINSPLT Either splits a line at the non-blank cursor position, or joins the next line at the blank cursor position.
SWAPCHAR Swaps a character with the one before it; i.e., reverses the order of the two characters.
SETUPPASTE Re-defines F6 to put "TEXT" 'DEF F6 "TEXT _"' on the command line.
EDITSHOW Selects a file "name" from the text area, then either KEDITs that "named" file or puts the "name" data
on the command line.  Data first can be prepended/appended to create the desired full fileid.
MVCURSLN Repeated invocations make the cursor line become the top line in the window, then the
bottom line, then back to the initial window position.
LPP Makes the last line of the file become the bottom line in the window.
COLLINE Puts a column marker at a position depending on the cursor location.
DRAFT Saves a user-named draft file to ...\NOTES\$$$_DRAFTS\draft_name.DRAFT.
APPENDTEXT Steps thru the file, line by line starting with the cursor line, optionally appending text to each line.
KK Edits the named file in the KMACROS directory.
SHOWQ Displays formatted EXTRACT output together with the associated section of KEDIT Help.
COUNTS Displays counts of file lines, characters, words, etc., and the length of the longest line.
SW Repeated invocations switch the prefix location in a right, left, off cycle.
DBLSPACE Double spaces the file lines.
NEWDIR Used in a toolbar to provide a menu for many directory options.
newdir.bmp Toolbar icon for NEWDIR invocation.
HELPTOPIC Displays a popup menu that allows the user to easily display a desired section of KEDIT Help.
helptopic.bmp Toolbar icon for HELPTOPIC invocation.
debug.bmp Toolbar icon for procedure to open the debugging window.
keys.txt Summary of all my KEDIT key settings.
VIEWURL Invokes Firefox to view the file referenced by the block-selected URL.

Text Flow Tools   (See PCCON package.)

PCCON Flows the text in the specifed area with settable values for indent, overhang, and right margin.
FLOWCMNT Edits and flows comment lines to start with "* " and fit within the file's margins, i.e.,
between 1 to 73 or 1 to 91.
PCCONALL Flows all file "paragraphs' with the current indent, overhang, and right margin.
PCCONZ Flows all file "paragraphs' with inset = 0, hanging indent = 0, and right margin.

Search Tools   (see ENHSRCH package)

LKJGK Searches for a specified (or default) string and highlights the string if found.
LK Searches for a string, using LKJGK (normally a forward search).
LB Does a backward search for the specified (or default) string, using LKJGK.
LF Does a forward search for the specified (or default) string, using LKJGK.
LW Does a wrap search for the specified (or default) string, using LKJGK.
LKLAST_FILE_SETUP Sets up a file to record a default search argument and search direction.
LKREVERS Reverses the direction of the previous search.
SHALL Does an enhanced ALL /string/, allowing easy flipflopping between ALL and ALL /string/.
SHALLCLIP Sets up a SHALL search for the string currently in the clipboard.
COLLECT Creates a report of all files in a directory containing a specified string.
EDDQFILE Edits the file whose double quoted fileid is found in the focus line.

Language Support

KEDIT
PREFXAST Inserts "* " before the cursor line, then moves down to the next line.
SHFTCMNT Shifts a "/* ... */" text segment to end at the boundary column of a line (column 90 for a .kex file).
FLOWCMNT (See above under Text Flow Tools.)
HTML
HTMLJK.kld Control file for providing a color-formatted display of .htm and .html files.
CHKTAGSLINE Does HTML format checks for a single line.  (In the PCCON package.)
CHKTAGS Does HTML format checks for a blank-line-delimited block of lines.  (In the PCCON package.)
CHKTAGS_test.txt Text to test CHKTAGS.  (In the PCCON package.)
MAKELIST Makes a skeleton HTML list.
CMNTOUT Allows commenting out (for testing) a block of lines that contains HTML comments.
CMNTOUT_flow.txt Overviw of CMNTOUT logic.
CMNTOUT_tests.txt  Text to test CMNTOUT.
PYTHON
PYTHON.kld Control file for providing a color-formatted display of .py and .pyw files.
PYFMTPRT In a Python file, helps format print(...) lines.

Print Tools

MARKPRT For printing, highlights the block of lines that would fit on a page and be within margins.
DBLPRINT Prints a temporary, double-spaced copy of the file.
DIRPRNFMT Formats the output from Karenware's DIRPRN tool to make it more readable.

Tools To Manage My BOE Website   (Board of Elections work)

DATESORT Checks for consistency of my many BOE work files and then produces status reports.
DATESORT_DELTA Supports DATESORT.kex.
DATESORT_MATCH  Supports DATESORT.kex.

Odds and Ends   (now seldomly used; unreviewed recently; some now retired)

CHARKEY Defines S-F6 to output a placeholder character in hex mode.
COLSJGK Sets up reserved lines to display helpful information for Gary Vair's COLS macro.
CURSORBOOLEAN  Runs a series of KEDIT boolean tests involving cursor placement.
DOLINES Contains macro templates for processing all the lines in a file.
ENDPERIOD Adds a period to the end of the focus line.  (Replaced by APPENDTEXT.)
FINDWORD Isolates the word pointed to by the cursor and then sets up for LK to find it.
      (SHALL SWORD now does this and much more.)
FLOWHELP Flows a macro's Help section text.  (Replaced by FLOWCMNT.)
FLOWRXCM Flows a macro's REX comments.  (Replaced by FLOWCMNT.)
LKSYMLAB Sets up LK to find a symbol.  (Replaced by SHALL.)
HEXCHARS Creates tables of characters from X'20' to X'FF'.
hexchars.txt Output from HEXCHARS.
MAKECURL Scrolls the file and/or moves the cursor, depending on cursor location.
MAKETEMP Does a DRAFT MAKE_TEMP for the current file being edited.
KF Records the fileid of the file being edited, or edits the last-recorded file.
NOTABS Expands tabs to a set of spaces.
SEPC Adds a subroutine separator line.
SORTCOLS Individually sorts eight columns of words.
UNUNI Sort of "de-Unicodes" a file by changing X'00's to nulls and deleting blank lines.
UPDOWNHF Scrolls up or down half a screen.

Games   (haven't used or reviewed in a long time)

CRYPTO Does 1-1 letter substitution to help solve a crypto puzzle.
Crypto_Base.htm To start solving a crypto puzzle, copy this file and edit it with the unencrypted data.
SUDOKU Solves a Sudoku puzzle.
sudoku_calls.txt List of SUDOKU internal calls.
sudoku_flow.txt SUDOKU flow diagram. 
sudoku_how_to_use.txt  Instructions for how to use the SUDOKU macro.
HOME