VEDIT Changelog

What's new in VEDIT 6.24.2

Jul 10, 2015
  • The update has improved support for Windows Vista and Win7 support
  • The primary changes are:
  • A new .CHM (HTML) help file replaces the older style .HLP file which is no longer supported.
  • The default installation now installs VEDIT's main files in the c:\Program Files (x86)\vedit directory and all configuration (and other changing) files into a User's directory. However, a [Traditional] installation allows placing everything in c:\vedit, as before.
  • Multiple users are supported on one computer where they can either share the same configuration or have separate configurations.
  • A few serious/annoying problems under Vista/Win7 have been fixed. For example, now accesses the menus correctly. A few problems related to recording keystroke macros have not yet been corrected, but will be in future versions.
  • New Directory Structure Partly to support Windows Vista/7 and partly to reduce the number of files in the VEDIT Home directory, a new directory structure with more subdirectories is now used. All files are now under either the VEDIT Home directory or the VEDIT User directory. The VEDIT Home directory can now be read-only as it only contains rarely changing files. The VEDIT User
  • directory is always read-write as it contains the configuration, project and other changing files. In order to support multiple users, the VEDIT User directory can be specified relative to an environment variable.
  • New vpw.ini The first file processed on startup is the new vpw.ini file in the VEDIT Home directory. It has only a few entries and specifies the location of the VEDIT User directory, either as an absolute location or relative to an environment variable. The VEDIT User directory contains the vedit.ini file which specifies the location of all directories and has many configuration and "history" parameters.
  • Spell checker A spelling checker is now available via {MISC, Scribe (Spell check)}. It has an expandable dictionary of 100,000 English words and has provisions to support other languages in the future. Due to the many files, they are placed in their own directory vedit\macros\scribe. (Thanks to Scott Lambert for the Scribe system.)
  • Wildfile macro The previous {MISC, Wildfile} function has been changed from a multi-step wizard to a dialog box with all options. It has also been moved from the {MISC} menu to the {SEARCH} menu. If the old method is preferred, rename the file wildfwiz.vdm to wildfilew.vdm. (Thanks to Pauli Lindgren for the wildfilew.vdm macro.)
  • Find File and Open New {FILE, More, Find file and open} permits searching any portion of the file system for files whose name matches a wildcard string. Matching files are displayed in a window; double-clicking any file opens it. The search result window stays open so that additional files can be opened.
  • Project support The new {FILE, Project, Quit project} allows closing a project without saving the current project "state" into the corresponding .prj and .dat files. However, any modified files will be saved with prompting.
  • The new {FILE, Project, Set project directory} sets the new string variable CURRENT_PROJECT_DIR to the selected directory, which is typically the "root" of the project files with subdirectories. The only purpose for this function is to make several VEDIT features (macros) "project aware"; currently this includes wildfile and ctags.
  • Box drawing mode {MISC, Box drawing mode} is now always available regardless of the font. Since the typical ANSI fonts don't have the graphic box-drawing characters of OEM fonts, the boxes are drawn with just: - | and +, or with = / and #. If a OEM font (such as VEDIT OEM or Terminal) is selected, the full set of box-drawing characters are available, but will probably not display properly in other programs, nor print properly.
  • Unicode translation The new {EDIT, Translate, Unicode} can translate to/from both UTF-8 and UTF-16. It uses the new utf-conv.vdm macro.
  • Match Paren The {GOTO, Matching ()} function (to match parentheses) has been improved so that parentheses within quoted strings no longer confuse it.
  • {HELP, Status} Enhanced to also display the last modified date/time for the current file. Also displays the estimated/actual number of lines in the file. Note that you can access this item by double-clicking on the filename on the status line, or with the default hot-key of .
  • Dashboard info The new {HELP, Dashboard} displays detailed information about VEDIT's installation, invocation, startup and configuration. This can be very useful for debugging related problems and this information may be requested if you contact Greenview
  • for technical support. The information is also saved into the file dashboard.txt in the VEDIT User directory.
  • Save config {CONFIG, Save config} no longer saves several word processing and programming parameters into the vedit.cfg file which can cause confusion when VEDIT is next run. These are "Display lines with word wrap", "Enable word wrap", "Right margin", "Left margin", "Auto-indent mode" and "Lower/upper case key conversion". These parameters can still be set via File-open configuration, which is preferred anyway. In the unlikely case these parameters are desired for all files, they can be enabled in the ustartup.vdm file (which overrides the vedit.cfg file). This also applies to the "Auto-save config" function and the Config_Save() command.
  • Macro Language help The {HELP, Command at cursor} function is replicated in the right-click context menu. This makes it easier to access help for any macro language command.
  • Execute buffer The new {MISC, Execute current buffer} executes the contents of the current buffer as a VEDIT macro. This is primarily useful when developing new macros. To reduce the likelyhood of accidentally trying to execute a text/data file as a macro, this function will only run if the current buffer has no file open or has a filename extension of ".vdm".
  • Runshell macro The {MISC, Save and run programs} functions, which are implemented with the runshell.vdm macro, now save the last
  • commands in the runshell.ini file in the USER_CFG directory. Useful default commands have been added, including opening Explorer in the directory of the current file and displaying the current directory in a new VEDIT buffer/window.
  • Cfunc macro {MISC, More macros, Cfunc} (to outline a C program) has been improved and now includes pop-up help. This function is also available in the default {TOOLS} menu as {TOOLS, C function show/select}.
  • Ctags support The "ctags" functions (to create and lookup a C program cross-reference) has been improved with both a nested "Lookup" function and a corresponding "Return" function. The ctags "Create" function now uses a much more flexible dialog box which has its own extensive built-in help. The functions are available in both the {MISC, More macros} sub-menu and the default {TOOLS} menu.
  • Calendar A simple Calendar can be accessed with {USER, Show Calendar}. Press and to view other months. Press to close the calendar.
  • FTP Support (Still considered beta-test in this version) New {FILE, Ftp} menu items allow opening an FTP site from which files can be edited, downloaded or uploaded. When an FTP file is opened for editing, it is first auto- downloaded into the vedit/ftp directory and edited there. When closed, it is auto-uploaded back to the FTP site. (Currently only works with some ftp servers.)
  • FTP and Email menu items can be enabled/disabled with {CONFIG, Emulation, Show FTP and email menu items}.
  • Email sending (Still considered best-test in this version) New {FILE, Send as email} sends the current buffer contents as a simple email message. First time (or when needed) the email must be configured by specifying the mail server and reply address; these are saved. Note: this function cannot send binary files; only text messages. (Since SMTP Authentication is not yet supported, this function will only work with locally connected mail servers that fully trust your workstation. We hope to improve this soon!)
  • Command Macro Changes:
  • Numeric Regs The number of numeric registers was increased to 256, range 0 - 255.
  • BB_Normal BE_Normal (Technical) Return the Block_Begin and Block_End values such that BB_Normal < = BE_Normal and if Block_Mode(LINE) is set, expanded to the beginning of the first line and end of the last line.
  • Buf_Last Returns the ID of the last user-selected buffer. It is used internally when a buffer/window is closed.
  • Buf_Switch() New Buf_Switch(r,VALUE,size) option sets the allocated memory size of a new buffer to 'size' instead of the default (which is currently 128 Kbytes). The allowable range of values is 16K - 4Meg. (16000 - 4000000)
  • Char_In_Quotes Returns TRUE (1) if the current char is within single or double quotes - i.e. within a quoted string. Note that it
  • assumes a quoted string cannot cross a line boundary, as is customary in most languages. Command_Check() Command_Check("command") checks if 'command' is recognized in the currently running VEDIT as a command (returns 1), string value (returns 2) or Config() parameter (returns 3). If none of those, it returns 0.
  • Date_Day Returns the current day of the month as a number. (1 - 31)
  • Date_Month Returns the current month as a number. (1 - 12)
  • Date_Year Returns the current year as a number, e.g. 2011. These new internal values simplify writing macros which use the current date.
  • File_Est_Lines Returns the number of lines in the file. If the end of the file is currently in memory, it is the actual number of
  • lines; else it is an estimated number of lines.
  • Is_Font_OEM Returns TRUE (1) if VEDIT's display font uses the OEM (DOS) character set; this is usually not the case as Windows
  • programs use the ANSI character set.
  • Is_Win_UAC Returns TRUE (1) if running in Windows with User Access Control. This is currently Windows Vista, 7 and 8.
  • Read_Ini(...) Reads a value from a standard format .ini file consisting of [Section] and Parameter=Value. If no filename is specified, it reads from the user-mac.ini file in the USER_CFG directory.
  • Reg_Char_Value() Returns the numeric value of any 1, 2, 3 or 4 characters in a text register.
  • Reg_Prep(r) Optimize (prepare) the VEDIT macro in T-Reg 'r' for faster execution by stripping extra whitespace and comments. 'r'
  • can be the currently executing macro.
  • System() The System() command has been updated to better support 32-bit and 64-bit Windows by no longer using 16-bit .pif
  • files.
  • Write_Ini(...) Writes a value into a standard format .ini file consisting of [Section] and Parameter=Value. If no filename is specified, it writes to the user-mac.ini file in the USER_CFG directory. If the specified file does not exist, it is created; if
  • necessary, the section and parameter are created.
  • USER_HOME New string has value of User's "Home" directory which stores the vedit.ini file and several subdirectories. The current user should have full read/write access to this directory. The value is set by the vpw.ini file, but could be changed by
  • the vedit.ini file. It is often refered to as the "VEDIT User Directory".
  • MACRO_DIR BACKUP_DIR The previous string variable "MACRO" has been renamed to "MACRO_DIR"; however the previous name will continue to work for the near future. Similarly for the previous PROJECT_DIR string variables "BACKUP" and "PROJECTS".
  • VEDIT_DRIVE HOME_DRIVE USER_DRIVE These string values return the first two characters of the VEDIT_EXE, HOME, and USER_HOME strings, which are typically the drive letter and ":" (colon). This can be useful when VEDIT is run from a USB drive.
  • SYNTAX_DIR New string has value of VEDIT's directory for .syn and .vtm files for syntax highlighting and template editing. The value is set by the vedit.ini file.
  • CONVERT_DIR New string has value of VEDIT's directory for .tbl tables and other conversion files. The value is set by the vedit.ini file.
  • FILE_CFG_DIR New string has value of VEDIT's directory for the .cft and .cfn files created by the file-open configuration process.
  • The value is set by the vedit.ini file.
  • CURRENT_PROJ_DIR New string value is normally empty but can be set with {FILE, Project, Set project directory} to a project's "root"
  • directory which might contain project files and subdirectories. When set, it makes some of VEDIT's features (such as wildfile and ctags) more project aware.
  • PROJ_NAME New string value returns the name of the current project, if any. It is similar to PROJ_CURRENT, but with the directory path and without the .prj extension.
  • DBL_CLICK_MACRO New buffer-dependent string intended to contain the name of the (mouse) double-click event macro in T-Reg 116, if any. This value must be set by another macro or by the file-type specific configuration. It is used by the new Wildfile macro.
  • INDENT_MACRO New buffer-dependent string intended to contain the name of
  • the smart-indenting macro, if any. It is not currently used or fully implemented.
  • BUFFER_GP1 New buffer-dependent strings that can be used for any purpose
  • BUFFER_GP2 by user macros. Since each buffer can have a different value, it is useful for storing something specific to a buffer, file or file-type. Max length is 256 characters.

New in VEDIT 6.20 (Jul 10, 2015)

  • The primary enhancements in VEDIT 6.20 include:
  • Improved support for Windows Vista and Win7, including single and multi-user installation options, a new directory structure and various bug fixes. While not recommended by Vista/7, VEDIT still has a "Traditional" option for installing all files in c:\vedit.
  • New .CHM built-in help system. The older .hlp type help system is no longer supported in Vista/7. The previous content is still all there, updated of course, and we think it is better organized.
  • A new Wildfile macro uses an all-in-one dialog box instead of the previous wizard. It now has "history" an useful options.
  • Vastly improved Ctags support including nested lookups.
  • Convenient new {FILE, Open (More), Find file and open} builds a file search function into VEDIT.
  • The interesting new {MISC, More macros, Scribe} spelling checker is written entirely in the VEDIT macro language and includes a 100,000 work English dictionary. (Special thanks to Scott Lambert for working on this over many years.

New in VEDIT 6.13 (Jul 10, 2015)

  • While VEDIT 6.13 is numerically a "minor" release, it includes several significant enhancements:
  • "Flat to CSV" conversion of data files, which adds separators between fields for easier import into spreadsheets and databases. The conversion can be automated. Also "CSV" to Flat" conversion.
  • By default, "Open with VEDIT" is added to the Explorer context (right-click) menu, making it easier to open any file with VEDIT. (This was a frequently requested feature.)
  • "Sort lines & remove dupes" function can remove duplicates from a list of email addresses, data records, etc.
  • Improved Unicode conversion of UTF-16 characters to/from the 8-bit OEM or ANSI character sets.
  • Improved regular expression searching.

New in VEDIT 6.10 (Jul 10, 2015)

  • The flexible new "Project" support in VEDIT 6.10 is perhaps our most useful enhancement ever. With the long list of new features, we are confident you will be very pleased with this new version.
  • This is a brief description of some of the recent enhancements in version 6.10 from 6.03.
  • Projects - Groups of files that you regularly edit can now be organized into Projects. Projects can be created, opened and closed from the {FILE, Project} submenu and the new "Proj" tab in the File Selector.
  • File Locking - As much as possible, VEDIT now edits with "unlocked" files. You can have the same files open in VEDIT and e.g. Visual Studio. When a file changes outside of VEDIT, you are prompted to Reload or Ignore it.
  • Wysiwyg Conversion - The new {FILE, Wysiwyg conversion} saves the current file under a new name and converts it to the format as currently displayed on the screen. In other words, it performs a "Save as" with conversion.
  • Copy blocks between files - The improved {BLOCK, Copy to cursor} and {BLOCK, Move to cursor} can now directly copy/move a highlighted block from another file (buffer) to the current cursor position. In other words, if the current file does not have a highlighted block, these functions scan the other currently open files for a block. The block can be of any (huge) size.
  • Extracting Lines - The improved {MISC, Wildfile wizard} makes it easy to extract all lines that match a search string, from an entire group of files. The extracted lines can then be viewed, printed, or saved to a file.
  • Filtering Lines - The new {MISC, More macros, Linefilter} deletes all lines in the current file which either match or don't match a search string. For example, you could delete all lines that contain "www.domain.com", or leave only those lines that contain "ERROR:".
  • Status Line - (Windows only) The status line font can be changed by right-clicking the mouse on the status line and selecting "Change font".
  • Format Paragraph - Multiple paragraphs, or even an entire file, can now be re-formatted by highlighting the paragraphs and selecting {EDIT, Formatting, Format paragraph}.

New in VEDIT 6.03 (Jul 10, 2015)

  • VEDIT+ 6.03 has great new features, new manuals and is exceptionally polished and stable. The new VEDIT 6.0 User's and Macro Language Reference manuals include about 100 additional pages, improved explanations and are completely up-to-date for version 6.03. The new manuals are available as .PDF files; the 750 page printed manuals can be ordered for only $20.
  • Format paragraph options - "Format paragraph" now starts on the current line and maintains the current indentation. Optionally, it can re-format from the beginning of the paragraph, or change the indentation to the current left margin.
  • Enable word wrap - The function {CONFIG, Word processing, Enable word wrap} can now also be accessed from the new {EDIT, Formatting} sub-menu and the toolbar.
  • Pad lines to same length - The new {EDIT, Convert, All lines same length} easily makes all lines any desired length. It pads shorter lines with spaces; it optionally truncates longer lines. It can [Scan] the file to determine the length of the longest line. New {USER, Check lines same length} can be used to check that all text lines have the same length.
  • Convert Unicode to/from ASCII - The new {EDIT, Translate, Unicode to ASCII} to/from ASCII converts from 2-byte Unicode characters to 1-byte ASCII characters. This allows some Unicode files to be edited in VEDIT. Similarly, the "ASCII to Unicode" function converts from ASCII into 2-byte Unicode characters.
  • VEDIT Instance control - You can now control whether files opened from Explorer or the DOS/NT prompt start a new instance of VEDIT or are opened in any existing instance of VEDIT.
  • Block Search - It is now much easier to perform a search or search and replace within a highlighted block.
  • Block Indent - The block indenting has been improved and completely follows Windows conventions.
  • Expanded on-line help - The on-line help has many new topics, including "Opening Files", "ANSI and OEM Characters", "Description of Files", "Converting Files", "Files with Fixed-length Records". The topic "Search and Replace" has been greatly expanded. (Approximately 60 printed pages worth have been added.)
  • Language Support - The new VB-BAS.SYN, FORTRAN.SYN, MODULA2.SYN, Support TEALINFO.SYN and TEX.SYN files provide color syntax highlighting for these languages. M2-LT34.SYN, M2-SB22.SYN and M2-SB30 support specific Modula-2 compilers. New LATEX.VCS file provides compiler support for the Miktex compiler.

New in VEDIT 6.00 (Jul 10, 2015)

  • This major update has a completely up-to-date Windows interface, much simpler configuration, more flexible startup options and powerful new features including fast, flexible, multi-key sorting of files up to 2 Gigabytes. (Originally planned for August, it took an extra month just to document all the new features in the on-line help.)
  • As always, it is very compact and has an improved installation. Updates can be installed in less than a minute with just a few clicks.
  • Convenient new features:
  • An optional multi-function "Explorer"-like window that can display the names of all open files, switch to any open file, open any file on your computer, and re-open any recently edited file or file added to your "favorites". See it.
  • A tabbed view of all open files for easier file switching. Microsoft calls this a "Tabbed Document Interface" as found in FrontPage 2002 (tm). See it.
  • Innovative auto-configuration as each file is opened, by file type (filename extension) or specific filename. Easily set the config options for any desired file type, e.g. for each .C, .HTML, .TXT file opened.
  • Support for multiple syntax highlighting and template editing files; this is part of the new auto-configuration.
  • Support for Ctrl-1 thru Ctrl-0, Ctrl+Shift-A thru Ctrl+Shift-Z, Ctrl-Shift-F1 thru Ctrl-Shift-F12, Alt-Shift-F1 thru Alt-Shift-F12 and other keys.
  • {FILE, Open (more), Quick open} and {FILE, Reload} functions.
  • {MISC, Wildfile wizard} makes the powerful "Wildfile" macro easier to use.
  • Instantly record and play back keystrokes.
  • More Powerful:
  • Simultaneously edit up to 100 files (it was previously 32).
  • Exceptionally fast and flexible sorting. Specify the key columns and up to 9 sub-keys, sort ascending/descending, flexible collate table specifies the sort order for special characters. Sort 100+ meg files in just a few minutes.
  • Improved comparison of all files in two directories with COMPDIR macro; optionally compares all files in the sub-directories.
  • New macro language commands for the power user.