I have discontinued development of this product and will no longer provide technical support or bug fixes for it. However, it is still available for sale at a reduced price of $25.00 if you do want the source code. To order, please disregard the order form information in the ZIP file and click on the Buy Now link below. I can accept payments, including by credit card, via PayPal. Thank you!
This library provides a set of classes that can be used for text editing. Anyone familiar with TVMEditor should see several similarities between it and CVMEditor. For those who are not familiar with it, TVMEditor was my text editor class library for Borland's now defunct Turbo Vision user interface library. It made its debut in the 16-bit DOS world and evolved to support 16-bit and 32-bit protected mode. Most of the underlying code for the editor class and the virtual memory system became the basis for CVMEditor, which is currently implemented for the 32-bit Windows platform only. However, it still uses the same class to provide its virtual memory and text storage. As such, it allows the ability to limit how much physical memory it will use and can swap to disk if necessary. The one major difference between the two is that I have made a definite split between the editor code and the user interface code.
The CVMEditor class now serves as a text-editing engine providing all of the text storage and manipulation code along with optional hooks to be used by any type of user interface library. The base class can be used for loading and manipulating text files programmatically in any type of application from small console mode applications to full-blown GUI applications. By deriving a class from CVMEditor and implementing the user interface hooks, it should be possible to plug it into just about any user interface library. Currently, I have only implemented a set of classes to provide support for MFC applications developed with Visual C++.
The basic CVMEditor and derived classes support the following features:
doneBuffer()
editorDialog()
CVM_RESYNCHxxxx
efSetROonLoad
The derived classes for MFC include the following features: