Dec 242017
Replacement for Turbo Vision Editor. Pascal Source INcluded.
File TEDIT.ZIP from The Programmer’s Corner in
Category Pascal Source Code
Replacement for Turbo Vision Editor. Pascal Source INcluded.
File Name File Size Zip Size Zip Type
ASCIITAB.PAS 2911 1099 deflated
CALC.PAS 5083 1663 deflated
CALUNIT.PAS 6081 1993 deflated
GADGETS.PAS 3045 1007 deflated
MSTDDLG.PAS 37377 8284 deflated
MYEDIT.PAS 6295 1826 deflated
MYPAL.PAS 3903 990 deflated
READ.ME 2119 1083 deflated
TEDIT.EXE 165036 71157 deflated
TEDIT.PAS 8953 2848 deflated

Download File TEDIT.ZIP Here

Contents of the READ.ME file

TEdit is similar to the demo program TVedit provided with
TP6 and BP7.0. This executable file was compiled with BP7.0
using the 286 directive (386, 486 directives are not IDE options) -
if you attempt to run the executable on an older machine you will
experience technical difficulties.

TEdit uses a modified filedialog unit which allows for traversing
the entire directory structure of the fixed disk WITHOUT HAVING TO
use TChDirDialog (although that remains an option). Edit windows may
be opened for files that reside in different directories.

TEdit also uses a modified (extended) palette that allows for high-
intensity backgrounds - see BlinkOff,BlinkOn inline asm procedures
in the MYPAL unit.

The gadgets unit is also extended for use with TEdit.

I use this program as replacement for the DOS 5.0 editor which
does not allow for a split screen. Technically speaking, TEdit
does not use a split screen either - but you can certainly open
multiple edit windows on the TVision desktop and even cut/paste
between the windows.

If you are seeking additional examples of how you might implement
TVision beyond the standard units, you might take a look at the
modified units provided in this archive.

To recompile the code you will absolutely need to have BP7.0 (targeted
for DOS real mode). TEdit was originally developed using TP6 but this
version WILL NOT COMPILE with TP6 without modification - the Editors
unit in BP7.0 does not require TP6's Buffers unit. While on the topic
of compilation note that many of the units used by this program ARE
NOT provided in this archive - I have included only those units that
were modified from the examples or demos initially provided with TP6.

If you have questions, comments, suggestions, etc, you may direct
mail to me via CompuServe ID 76476,1012.

---- Note that you can change the size of the edit buffer used by tedit
by modifying HEAPSIZE in the source code in TEDIT.PAS.

---- You might also wish to modify the code so that tedit will accept command
line parameters for start-up.

Wayne Van Gaasbeck

 December 24, 2017  Add comments

Leave a Reply