ProgramEdit

Main Menu Help

PgmEdit - Main Menu

PgmEdit home

PgmEdit provides many source-code editing and navigation functions plus syntax highlighting, tabbed file selection, text highlighting, find & replace, Regular Expressions, bookmarks, multiple undo/redo and Hyperlinks.

F1 - This Help file is displayed whenever the F1 key is pressed during normal editing (no menu or dialog box opened).

A topic-specific Help file also opens with F1 or the Help button(?) for Bookmark Clear, Bookmark Set, Customize Shortcuts, Find, Replace, Highlight, Language Settings, Macros, Options, Sessions, Sort Lines, Spell Check, and Tidy-HTML/XML .

The following sections provide help for the PgmEdit main menus and Other features, including numerous usage tips:

Menu Contents
1. File File Open/Close/Lock/Tabs, Page Setup, Print, Sessions, Hex Viewer, File Comparison
1a. File format Windows, Unix, Mac, Mixed - Save/Convert
1b. Command Line File Open command-line syntax, PgmEdit-instance dependency
2. Edit Wordwrap, Insert Character, Tab Key options, Hyperlink syntax
2a. Edit Columns Cut, Copy, Paste, Insert, Delete, Edit column text
3. Search Match Brackets, Highlight, Find-Replace, Find Next, Regular Expressions(info)
4. View Title info, Icons, Line numbers, Zoom In/Out/100%, Word Wrap Auto, Hexadecimal
5. Tools Colors, Shortcuts, Options, Sort Lines, Spell Check, Tidy-HTML/XML, ASCII Tables
6. Macros Record/Play Keystrokes, Save Recording, Saved Macros
7. Other Features Line Change Indicators, Bookmarks, MessageBox Copy, Status Bar
8. Languages Programming Languages supported, Language Settings
9. Known Bugs Move empty line, Print Preview Limits, Spell Check Error, Stuck text selection,
Version Check security, Word Wrap Auto

1.  File menu

File Open - File/Open menu or Open file icon or Drag-Drop

Files can be opened using the File/Open menu or the "Open file" icon.  Files, folders and shortcuts can also be opened by drag-dropping the item(s) onto the PgmEdit editing window.

Hundreds of files can be opened at any one time, although if the files are very large (say 10MB+) the number of files may be limited by the computer memory size.

File Open - Link - Open file icon or Drag-Drop

Windows link files (shortcuts) point to specific files or folders.

Normally PgmEdit will open the shortcut's Target file/folder when a link file is opened or is drag-dropped onto PgmEdit.

To open the binary Link file itself: Press down the Alt key while drag-dropping the shortcut to PgmEdit, or press down the Alt key before clicking the Open file icon.

Since the link may be to either a file or a folder, there are (4) cases:

a. File link (open file) - If the link is to a FILE, an "Open" dialog will be shown and the file name will be shown in the "File name" box.  Click "Open" to open the file.

b. File link + Alt key (open link) - If the link is to a FILE, an "Open" dialog will be shown and the file name will be shown in the "File name" box.  Click "Open" to open the binary link file.

c. Folder link (open file(s)) - If the link is to a FOLDER, an "Open" dialog will be shown and the folder name will be shown in the "File name" box.  Select one or more files and then click "Open" to open the file(s).

d. Folder link + Alt key (open link) - If the link is to a FOLDER, an "Open" dialog will be shown and the folder name will be shown in the "File name" box.  Click "Open" to open the binary link file.

CAUTION - The File/Open menu cannot be used to to open a binary link file.

File Close - File/Close menu or "X" or Right-click Tab

The current File can be closed by clicking the 'X" (Close file) button, by clicking the File/Close menu, or by Right-clicking the file-name tab and then clicking "Close file".  All files can be closed using File/Close All.

File Tab order - Info only (not a menu item)

If many files are open, the tabs for some files may not be visible.  Clicking on the Green down-arrow (right-hand side of file-tab bar) will open a sorted list of all file names.  Then, clicking on a non-visible file name will move its file tab to the front (left-most) position.

Tip - To move a file tab, hold down the Alt key and drag-drop the tab to the right or left.

File Tab - Right-click menu - Info only (not a menu item)

Right-clicking a File tab will provide a drop-down menu of (6) choices:

Close file

Save file

Explorer (open Windows File Explorer to this file - Right-click for Open with, Properties, etc.)

Open with (open file with its default application such as HTML web browser)

Copy file name

Copy full path

____________

Open BackupFiles folder

Backup files are saved in the BackupFiles folder if file backups are enabled and the BackupFiles folder is selected as the Location of backup files.
This menu item provides a shortcut to the BackupFiles folder for easy access to these backup files.

Refer to Tools/Options and the Options Help file for file backup options.

Open Keywords folder

Keyword files are provided with a PgmEdit installation for all Built-in Programming languages.   The keyword files are in the ProgramEditor\bin\KeyWords directory and can be opened by the "File/Open Keywords folder" menu.

Each Keyword file must be named "KeyWords.x" where "x" is an extension of the Language's source-code files.  For example, KeyWords.vb contains the list of VB keywords.  KeyWords.vb is also used for VB extensions .bas and .frm if there is no .bas/.frm Keywords file.

Tip - A keyword file may be created for any extension such as .txt.  The words in *.txt files will be colored even if there is no supported language.

____________

Explorer

Properties of any file can be viewed or edited with Windows File Explorer.  Explorer can be opened either by clicking the File/"Explorer" menu for the selected file, or by Right-clicking the file-name tab and then clicking "Explorer".

Open With

Any file can be opened with its default application by using the "Open with" function.  For example, HTML files being edited can be opened with your default web browser.  "Open with" can be selected either by clicking the File/"Open with" menu for the selected file, or by Right-clicking the file-name tab and then clicking "Open with".

Tip - Other (non-default) "Open with" applications may be found by using the Explorer menu item to select the file, right-clicking the file name and selecting Explorer's "Open with".

Lock

Any file can be "Locked" by using the File/"Lock" function for the selected file.  This inhibits editing of the file, thus ensuring that accidental edit changes cannot happen to that file.

Tip - If a Locked file is reloaded, it is "UnLocked".

____________

Page Setup

The File/Page Setup menu or the Page Setup icon can be used to select Paper Size, Portrait/Landscape orientation, & Print Margins for Print Preview and Print.

Print Preview

The File/Print Preview menu or Print Preview icon can be used to show the text that will be printed.   Print Preview is limited to 500-600 lines, 11-12 pages.  If text is selected, only the selected text will be shown.

Exception: If all selected text is non-visible whitespace, all text will be shown.

Print

The currently selected file can be printed using the File/Print menu or the Print icon. If text is selected and Print/Page Range/Selection is checked, only the selected text will be printed.

Exception: If all selected text is non-visible whitespace, all text will be printed.

____________

Sessions - File/Sessions menu or Home icon

Sessions can be created to save and restore PgmEdit settings for any number of different projects, such as   Program source code, web page HTML, email text, data tables, notes, etc.

For example:

1) Session "Edit C code" could point to a directory of 25 C files, have Tab spacing of 4 characters, Courier New 10pt font, and have a Red/Blue/Green color scheme.

2) Session "Web HTML" could point to a directory of 42 HTML files, have a Tab spacing of 3 characters, Lucida Console 9pt font, and have an Orange, Purple and Brown color scheme.

To switch between editing sessions, open the Sessions dialog, select an alternate session, and click the "Open" button.

See Sessions Help for detailed documentation.

Restore Settings

PgmEdit Settings (Color Settings, Option Settings:font/margins/tabs, shortcuts, file names) are automatically saved each time that PgmEdit is closed.

These settings are saved in the bin\BackupSettings folder or in a Sessions\(session name)\BackupSettings folder (if a session is open).  The settings are saved in files named PgmEdit_Config01.txt, PgmEdit_Config02.txt, etc.  Up to 'n' of the most-recent backup files are saved, where 'n' is the number (1-9) in the Options/Settings backups "files (maximum)" box.
Note that PgmEdit_Config01.txt is the most-recent Settings file, while PgmEdit_Config0'n'.txt is the oldest.

The File/Restore Settings menu item can be used to restore PgmEdit settings to a previous configuration by selecting a PgmEdit_Config0n.txt file, clicking "Open" and then "OK".

Note - this restores PgmEdit settings only - File changes are not restored by "Restore Settings".

Recent file list

Following the File/Restore Settings menu is a list of up to (9) files that have been recently opened.  Any of these files can be loaded or reloaded by clicking on its path-file name.

File Hex viewer - Info only: see View menu/Hexadecimal

Files can be viewed as a Read-Only list of hexadecimal codes(00-FF) by checking Hexadecimal in the View menu.

Each list line shows the hex codes for 32 bytes in the file.
The right-most column shows the corresponding 32 ASCII characters of the Hex codes for viewable characters.  However if the character is a control character(0-31 decimal) or the Del character(127 decimal) a period(.) is displayed.  If the character is a non-viewable Extended ASCII character (codes 128-255 decimal) a space or question mark(?) is displayed.

Note - Binary files are automatically displayed as a hexadecimal list.

Tip - Hexadecimal displays of large files(1MB or larger) may take a long time to load and may be slow to navigate.
By checking the Tools/Options/Preview Mode box, only the first 10,000 hex-code lines are displayed.

File Comparison - Info only (not a menu item)

PgmEdit does not currently include a file comparison function.

It is recommended - especially for large projects - to acquire a multi-function file-folder comparison tool.

For example, the SimpleSolverLogic development team has found that file comparison tools (such as Beyond Compare) are invaluable for reviewing source-code changes, managing backup files on USB/disk/cloud drives, and maintaining project web sites.

Beyond Compare can be downloaded for a free 30-day trial, and can be purchased as a Standard or Pro Edition.

Free file-comparison programs are also available.  The web page Best Free File Comparison Utility recommends two file-comparison tools:  WinMerge and KDiff3.

1a.  File format

PgmEdit supports Windows, Unix, Macintosh (Mac), and "Mixed" file formats.  The difference in these formats is the line-ending character(s) used - Carriage Return(CR), Line Feed(LF) or CR+LF.
Windows files use CR+LF, Unix files use LF, Mac files use CR, and "Mixed" files have a mix of two or more of these line endings (CR+LF, LF, CR).

Info - For Macintosh text files prior to Mac OS X, line endings consist of a single CR character.
Mac OS X is Unix-based and has the same line endings as Unix.

Note - The PgmEdit New? window and File editing windows use a LF line ending.

File format - Save

If a Windows, Unix or Mac file is loaded and edited, PgmEdit will save it in its initial format.  However if a "Mixed" format is loaded, PgmEdit will save it in Windows format.

File format - Convert - File/Convert file format

Any file can be converted to Windows, Unix or Mac format.  For Example:
To convert a Unix file to Windows, click on the File menu, Convert file format, Save as Windows (CR LF)

Tip - The format (Windows, Unix, Mac, Mixed) of the selected file is displayed in the Status Bar.

1b.  Command Line interface

Files can be loaded into PgmEdit from Windows Explorer/Open With, from a Windows Command Prompt, or from another application via a Shell function.

Using the following Command Prompt syntax, PgmEdit will be launched (if not Open), open the file, and (optionally) go to a specified line number, or a specified line and column number:
       PgmEditPath  filePath  [lineNumber [columnNumber]]

Example: To open file C:\TP\tpbiz.ini at line 123 column 10, send the following command:
"C:\Program Files (x86)\SimpleSolverLogic\ProgramEditor\SSLPgmEdit.exe" "C:\TP\tpbiz.ini" 123  10

Operation of the File-load commands depends on how many instances of PgmEdit are running:

No instances - If PgmEdit is not running when the first file command is issued, a special instance of PgmEdit is launched and the specified file is opened.  This instance is "special" because it will start with the same Option Settings of the most recent PgmEdit editing session, and will load the one file specified.

The left-most part of the PgmEdit title will have a unique identifier: "< * Command Line Instance >".

Additional file commands can be issued to open additional files and/or to change the line/column selections.

CAUTION - When this PgmEdit instance is closed, its settings/options and its list of files are not saved.

One instance - If exactly one instance of PgmEdit is already running when the first file command is issued, the file will be added (if not already loaded) to any other files already loaded.

Additional file commands can be issued to open additional files or and/to change the line/column selections.

Tip:  This Command Line mode is recommended for most applications.

Two or more instances - If two or more instances of PgmEdit are running when a file command is issued, the file will be added (if not already loaded) to any other files already loaded.
However, the command may be received by any one of the PgmEdit instances, which is generally not desirable.

In addition a Warning MessageBox will say "More than one SSLPgmEdit instances are running".

Note:  This Command Line mode is NOT recommended.

2.  Edit menu

The Edit menu can be opened by clicking the Main Menu Edit item or by Right-clicking the text window.  Most menu items are self-explanatory and/or have ToolTips.  Additional information is provided below for WordWrap, Insert Character/Symbol, Tab Key, and Hyperlinks.

Word Wrap

PgmEdit "word wrap" provides an easy way to make imported text with long lines more readable.

If you apply the Word wrap shortcut (Ctrl+W) to each long line, then multiple long lines can be quickly shortened to the Word wrap Left/Right margins.

The Left and Right margins can be set using the Tools/Option Settings/Word wrap margins menu.

Also see View/Word Wrap Auto for temporary word wrapping.

Insert Character/Symbol

This menu item opens a dialog to insert all ASCII characters (except NUL).  Select the character to be inserted and then click the Insert button or press the Enter key.

Note - The NUL character cannot be inserted into an ASCII file. 

Tip -  Selecting a CR character will insert an LF (line feed) character to the text being edited.  The LF line ending may be changed when the file is saved (see Main Menu Help/File format).

Tab Key - Info only (not a menu item)

The Tab key can either (1) insert a Tab character or it can (2) insert spaces instead of the Tab character.  Option (2) is recommended since it is more transportable (spaces are independent of Tab-stop settings in other applications).

Tab Size and Insert Spaces can be set in the Tools/Options/Editing menu.

Tip - The Tab key can be used to tab words or a group of selected lines to the Right, while Shift+Tab can be used to tab words or a group of selected lines to the Left.

Hyperlinks - Info only (not a menu item)

Hyperlinks can be typed or copy-and-pasted into the text.  They will be colored blue and underlined, and can be opened with a single-click.

The following table illustrates the syntax for different hyperlink targets:


Target Hyperlink Example

File <file:C:\Doc\Actuarial Life tables.npd>

Folder <file:C:\Doc>

Shortcut (to Help_PE) <file:C:\Users\Dave\Desktop\Help_PE.lnk>

NETWORK File \\DAVE-PC\Doc\AREACODE.TXT

NETWORK  Folder \\DAVE-PC\Doc

Internet https://www.simplesolverlogic.com/

2a.  Edit Columns

NOTE:  Column Edit is only available for Fixed-width fonts

Column Edit, also referred to as Box mode or Block mode, can be used to select one or more columns of text (generally across two or more lines).  Once the column is selected, the text in the column can be edited.

Column text can be Cut, Copied, Pasted or Deleted.  Text can also be added to the column by typing.

Tip:  Use Tools/Options "Insert spaces instead of Tab" for best Edit Columns results

Select Column - Mouse

A column/box can be created by holding down the Alt key and then dragging the mouse in any direction.  This will build a purple-shaded box or line selecting the desired columns to be edited.

Note: This selection method is identical to Microsoft Visual Studio

CAUTION - If the Column selection is wider than a thin vertical line, any selected column text will be over-written (deleted) by the first edit operation: Backspace, Cut, Delete, Paste, Tab, or character typed.

Select Column - Arrow keys

A column/box can also be created by holding down the Shift and Alt keys, and then using the Up, Down, Left and Right Arrow keys to build a box.  This will build a purple-shaded box or line selecting the desired columns to be edited.
Once the column/box has been created, release the Shift+Alt+Arrow keys before editing.

Tip: The Shift-Alt-Arrow-keys can also be used to modify an existing mouse or arrow-key Column selection.

Note: This selection method is identical to Microsoft Visual Studio

De-Select Column

The column/box is de-selected when the mouse is clicked (the second click if the mouse was used to select the column), or when the Up, Down, Left, Right Arrow keys or the Home, End, PageUp, PageDown keys are pressed.

CAUTION - Do not press any of the (4) diagonal Arrow keys to de-select the column

Cut/Copy Column

Text in the selected column can be Cut or Copied by clicking the Cut/Copy icon, or by using the Edit/Cut or Edit/Copy menu, or by selecting Cut/Copy in the right-click pop-up menu.

Paste Column lines

Text on the Clipboard can be pasted to the lines of the selected column.

If the text is copied normally (not a column copy), all of the text will be pasted to each line of the selected column.

If the text is copied as a column (Select column using Alt+Mouse or Shift+Alt+Arrow key selection, then Copy), line 1 of the copied text will be pasted to line 1 of the selected column, line 2 to line 2, etc.

Insert Text

In addition to Paste Column lines, text can be inserted at the selected column using the Date, Date Time, Insert Character, and Macros("Text Only") menu items.

Delete Column

Text in the selected column can be deleted by pressing the Delete or Del key.

Edit Column Text

Column Text can be edited by drawing a purple vertical line (or a box to select the column to be over-written) and then entering text (letters, numbers, symbols).

Tip:  If the Column selection is beyond the line end, spaces will be added in front of the added text.

Special Edit Keys:
     Tab will move column text to the next right-hand Tab stop
     Shift+Tab will move column text to the next left-hand Tab stop
     BackSpace will delete column text to the Left
     Delete/Del will delete column text to the Right

Match Brackets - Search/Match Brackets menu or Match Brackets icon

If the Caret is placed in front of the open bracket or the close bracket, the bracket "block" is selected.

The following brackets are currently supported:  ()  {}  []  <>   /* */   <!-- -->

Tip - Bracket matching can also be done by double-clicking the open bracket or the close bracket.

Highlight - Search/Highlight menu or Highlight Text icon

Any word or group of words in a line can be highlighted (Red background).  Open the Highlight dialog, enter the "Text to find" and click OK.  This will highlight all occurrences of the word(s) in the file and report the number of Highlight occurrences in the Status bar (bottom bar).

Tip - If the Up Arrow is pressed when the Dialog window is first opened, the word at the Caret or the selected word(s) in the editor will be loaded into the "Text to find" box.

Find-Replace - Search menu or Find/Replace icons

In addition to Highlight and Match Brackets, there are five text Search functions: Find, Replace, Find Next, File Find, and File Replace.

Find, Replace and Find Next apply to the file currently selected, while File Find and File Replace apply to the files specified by the File Filter and Folder dialog boxes.

Tip - As for Highlighting, if the Up Arrow is pressed when the Dialog window is first opened, the selected word(s) in the editor will be loaded into the "Text to find" box.

Find All

For Find and File Find, the Find All button opens a Search_Results child window which lists all file lines that contain the specified "Text to find".  Clicking the View menu or Double-clicking on a listed line will go to that file line and select the "Text to find".

Note - Clicking on the Search_Results Export menu will copy the Search Results to a "New?" window.

Replace All

For Replace, the Replace All button replaces all occurrences of "Text to find" in the file, or in the Selected text block of the file if "Selected text" is checked.

Note - Replace All is extremely fast, even for files as large as 50 MB.

Find Next

Find Next does not have a Dialog box.  It simply searches for the next occurrence of the most-recent "Text to find" using the most-recent Match Case, All Words, and Regular Expression settings.

GoTo Line

The Search/GoTo Line menu item opens a dialog box to select the line number (and optional column number) to GoTo.

Regular Expressions - Info only (not a menu item)

Regular Expressions can be specified for Highlight, Find, Replace, File Find, and File Replace.
For these Search functions, the Search dialog Help key(F1) or the Help(?) button will open a Help file that includes both Regular Expression Help and Regular Expression examples.

See Search Help for detailed documentation.

4.  View menu

The View menu provides options to select PgmEdit Title information, to enable/disable display of File, Edit, Search, Print, and Bookmark A-F icons, the left-hand Line Numbers column, Zoom In/Out/100%, Word Wrap Auto, and Hexadecimal.

Option "Zoom 100%" clears any Zoom In/Out (View/Zoom or Ctrl+Mouse-wheel).

Note - Tools/Option Settings can be adjusted to increase/decrease the Session's default Font Size (no Zoom).

Option "Word Wrap Auto" displays the selected Window's text with all long lines temporarily Word-Wrapped at the right-hand margin.  Auto Word wrapping is dynamic and will be adjusted as the Window's width is decreased or increased.

Note - Auto Word Wrapping is temporary - Use Edit/Word Wrap for permanent word wrapping.

CAUTION - "Word Wrap Auto" adds extra temporary lines when words are temporarily wrapped.  These extra lines increase the line numbers of lines below, which will result in minor bugs of some PgmEdit functions.
Refer to Section 9. Known Bugs / Word Wrap Auto

Option "Hexadecimal" displays the selected file as a Read-Only list of hexadecimal codes(00-FF).

Note - Binary files are automatically displayed as a hexadecimal list.

Refer to File menu/File Hex viewer for additional hex-view details.

5.  Tools menu

Color Settings

Colors can be selected for the Menu bar(the top bar), Line Rectangle, Caret Line Marker, Line Change Indicators, Keywords, Strings, Comments and text Highlighting.

Clicking the right-hand box of each item will open a Color dialog that can be used to select a new color.

Colors are very useful for navigating large blocks of code by identifying Keywords, and showing String and Comment blocks.  The "Default" colors are the colors set at a new PgmEdit installation.  The choice of colors is a matter of the user's taste and/or past experience.

For example - The default Keyword, String, Comment text colors of Microsoft Visual Studio are (RGB): Keyword (0,0,255), String (163,21,21), Comment (0,128,0), all with a White (255,255,255) background.

Keyword, String and Comment colors depend on having a Keyword file or having a PgmEdit language (Built-in or added):

KeyWord files must be in the ProgramEditor\bin\KeyWords folder and must be named "KeyWords.ext where ext is the extension of the selected file.  For example document.txt would need a KeyWords.txt KeyWord file.

- If there is Keyword file, keywords (eg 'bool') will be colored

- If there is Keyword file, or if the File Extension is supported by a PgmEdit Language, strings (eg "string") will be colored

- If the File Extension is supported by a PgmEdit Language, comments (eg '//comment') will be colored

Customize Shortcuts

Most items in the Main Menu can be assigned a shortcut.   As an example, the Edit/Date shortcut could be changed from the F3 key to a combination of the Ctrl key and the D key (Ctrl+D).

See Shortcut Keys Help for detailed documentation.

Language Settings

The Language Settings dialog provides a view of the Keywords, file extensions, and comment parameters for all Programming languages.  It also enables adding new languages and replacing one or more of the Built-in languages.

See Language Settings for detailed documentation.

Option Settings

The Option Settings dialog provides choices for Font style and size, Date-Time Formats, Wordwrap margins, Editing, Hexadecimal file preview, Line Change Indicators, File and Settings Backups, Help file source, and Version check.

Note: The Font can be set to any installed font, and the font size can be adjusted from 1-32 points.  The default font size is 9 points.

See Options Help for detailed documentation.

Sort Lines

This tool can sort lines Alphabetically or Numerically with numerous options

See Sort Lines Help for detailed documentation.

Spell Check

See Spell Check Help for detailed documentation.

Spell Dictionary Installer

This tool can install up to nine different dictionaries for the Spell Check tool including English, French, German, Italian and Spanish languages.

See Spell Check Help for detailed documentation.

Tidy-HTML/XML

The PgmEdit Tidy tool provides an error checking interface to the latest version of the HTACG/W3C HTML Tidy console application.

See Tidy-HTML/XML Help for detailed documentation.

Trim Trailing Whitespace

Clicking this tool will delete all space and tab characters at end of each line of the file

Tip - Trailing Whitespace in a file can also be deleted using Replace/Replace All:
Select Regular Expression, set Text to Find = "[ \t]+$" , set Replace with = "" (blank),
Click on Find, then Replace All.

____________

ASCII Tables

This tool displays tables of ASCII Character Codes and Extended ASCII Codes

Calculator

This opens the Windows multi-mode Calculator

Notepad

This opens the Windows Notepad text-editor

W3schools

This opens W3schools.com, a Web Developer site which provides HTML, CSS, Javascript and XML tutorials, references and examples.

6.  Macros menu

Record Keystrokes

This menu item begins recording of every keystroke.  The menu item name then changes to "Stop recording".  Recording stops when Stop Recording is selected, and the Save Recording menu is enabled.

Play Keystrokes

This menu item plays the recorded keystrokes (or the last Macro loaded (Saved Macros/Load Macro), or the last Recent Macro which was run).

Tip - Play Keystrokes can be used to repeat any macro with a single key press if it is assigned a Function key shortcut such as F8.

Save Recording

This menu item opens a dialog to name the new macro and save the recorded keystrokes.

Saved Macros - Load / Edit

This menu item opens a dialog to load, edit, save/copy/rename, or delete a macro.

Recent Macros - 1 xxx...9 xxx

Each time that a macro is loaded from the Saved Macros list, the macro is added to the top of the Recent Macros list.  As explained in Section 6 of the Macros Help file,  the Recent Macro list can contain up to (9) menu items which can also be assigned shortcuts using the Customize Shortcuts tool.

See Macros Help for detailed documentation.

7.  Other Features

Line Change Indicators

Line Change Indicators show the most-recent lines that have been edited.  The maximum number of indicators that will be shown (0-99) can be set in the Options/Line Change Indicators section.

Bookmark Icons - Set, Clear, 1-9/A-F

Bookmarks provide an excellent means to navigate to different sections of code in the same file or in other files.  Bookmarks can also be used to mark one or more lines of code for reference.

Bookmarks can be set, cleared and accessed by clicking either the Set/Clear dialog box or by Right-clicking one of the 1-9/A-F icons.

If a Bookmark icon is White (not set), it can be set by clicking the icon.

If a Bookmark icon is Green (set), clicking it will GoTo the bookmark.

Bookmarks 1-9 are always available.  For an additional (6) bookmarks, View/Bookmarks A-F must be checked.

See Bookmark Help for detailed documentation.

MessageBox Copy

Although MessageBox(MsgBox) text cannot be selected, MsgBox information (such as Alerts or Errors) can be copied to the Clipboard using Ctrl+C (or Ctrl+Insert)

Status Bar

The Status bar (bottom of PgmEdit window) shows the following information:
Line and Column number of the Caret, Number of Lines and Characters selected (if any), Decimal and Hexadecimal code of the current Character, Highlight/Find/Replace/Trim Whitespace counts, File format (Windows, Unix, Mac, Mixed, Binary file), File encoding (ANSI, UTF-8, UTF-16 LE, UTF-16 BE), and Typing mode (Insert/Overwrite)

8.  Programming Languages

The Programming languages currently supplied with PgmEdit are: Ada, Batch, C, C++, C#, CSS, HTML, Java, JavaScript, Perl, PHP, Python, Ruby, SQL, VB, VBScript, Verilog, VHDL, XML

Other Programming languages can be easily added using the Language Settings tool.
See Language Settings Help for detailed documentation.

The following table lists the file extensions supported for the Built-in languages:

Language File Name Extensions
Ada .a .ada .adb .ads
Batch .bat .cmd
C / C++ .c .cc .cpp .c++ .h .hpp
C# .cs
CSS .css
HTML .html .htm .shtml
Java .java .jav
JavaScript .js .jse
Perl .pl .pm
PHP .php .phtml .php3 .php4 .php5 .phps
Python .py .pyw
Ruby .rb .rbw .rbx .erb
SQL (see below Note) .sql
VB .vb .bas .frm
VBScript .vbs
Verilog .v .vmd
VHDL .vhd .vho
XML .xml

Note - SQL includes Keywords for ANSI SQL, MS ODBC, MS SQL Server, MySQL, Oracle, PostGreSQL

Tip - Also see File/Open Keywords folder

9.  Known Bugs

Move empty line

If a block of text is selected and then mouse-clicked to move(drag-drop) it, the text will be deselected if the mouse is clicked on an empty line(has only zero or more spaces).

Workaround - Click the mouse on a non-empty line to move the text block.
Note - this is a Windows TextBox bug that also affects Notepad.

Print Preview Page Limits

Print Preview is limited to approximately 11-12 pages.  If this is exceeded, the first pages displayed will be blank and only the last 11-12 pages will be shown.

Note - This a .NET bug in the PrintPreviewDialog control.  Page images are cached in the control, which limits the size of the documents that can be previewed.

Spell Check Error

A ÿ character (Extended ASCII Code 255) will cause the Spell Check Message
"Spell Check Error: Index was outside the bounds of the array".

Stuck text selection

Once in a great while, text selection may become stuck, and only change or grow when mouse clicks attempt to clear the selection.

Workaround - Press and release the Left Shift key and then the Right Shift key.
Note - this is a Windows bug that may affect any editor.

Version Check security

The SimpleSolverLogic web site requires the client PC to have Transport Level Security (TLS) 1.2 or higher to read the PgmEdit Version number.  TLS 1.2 may not be available on older PCs (such as XP or Vista) which will cause an error message of "Version_check Error: The requested security protocol is not supported."

To eliminate these error messages, uncheck the Options/PgmEdit Version check "Enable" check-box.

Word Wrap Auto

When long lines are temporarily "wrapped" in the Word Wrap Auto mode, each long line is shown as two or more lines and the following line numbers are temporarily increased by the number of wrapped lines.

The line-number increase will also incorrectly change the positions of Bookmarks, Line-Change indicators and Search Results that existed BEFORE Auto word wrap.