home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 May
/
cica_0595_4.zip
/
cica_0595_4
/
UTIL
/
NOTEBK1J
/
NOTEINFO
< prev
Wrap
Text File
|
1993-11-06
|
11KB
|
219 lines
NOTEBOOK
A Windows Text Editor for Huge Files
Version 1.J* 6-Nov-93 by Mark Berlinger
Dear Future Customer:
When you decide to register as a user contact Mark Berlinger by
the U. S. Postal Service. Messages may be sent to the author by way of
CompuServe to number 70134,3016.
Here's the deal. You send a sawbuck (ten dollars American) and
a proper name to the address at the end of this file. Please indicate
that the registration is for Notebook for Windows. Upon receiving the
consideration you will be contacted through CompuServe or mail if
desired. Credit card purchase is $16 US. See the credit card ordering
information below. The return message will contain an identification
number. Standard site license fees are $50 for 10 PCs to $300 for an
unlimited number of PCs. See the help file for details.
To order by credit card (only) contact:
Public (software) Library with your MC, Visa, AmEx or Discover card by
calling 800-2424-PsL or 713-524-6394 or by FAX to 713-524-6398 or by
CompuServe to 71355,470 or by mail to PsL, P. O. Box 35705, Houston, TX
77235-5705. Please include your address with all orders. These numbers
are for ordering only. For information about dealer pricing, volume
discounts, site licensing or technical information contact the author.
The optional diskette service is an additional $6 or $8 overseas
cash or check to the author for shipping and handling. By credit card
from PsL the diskette service is $4 S&H or $6 S&H overseas.
A distributor in England would not cooperate; therefore the ID
number algorithm is changed with version 1.D. There is no charge to
registered users to get an updated number through CompuServe. Use CIS
70134,3016. However by mail the postage and handling charge for a new
ID number will be one dollar. I apologize for the inconvenience.
The name and ID number are entered into the nagware dialog box.
The name and ID number are added to the NOTEBOOK.INI information which
is in the WINDOWS sub-tree. Notebook will run without the nagware
display when the "ini" file contains a proper name and ID number match.
The proper name will appear in the title bar at program start.
The matching name and ID number will work in minor version
number upgrades containing fixes and improvements to Notebook. As
always, constructive criticism is appreciated.
Notebook for the Windows New Technology operating system is
available in the CompuServe WINSHARE forum. Notebook 1.N for Windows NT
has the functionality of Notebook 1.J for Windows. The Notebook for
Windows NT registration fee is ten dollars US or $16 by credit card.
* The first "beta" version was incomplete and should be discarded.
Beta2 was correct but contained a non-fatal unsaved document
print bug that was fixed in the beta3 version.
Beta3 added word wrap and a page margin setup facility.
Beta4 added case sense selective searches and command line
parameter associative file opening.
Beta5 added title and page number output to the print spooler,
searches that scan the entire document in one operation to go to a line
number and/or find text, and a direct go to end of document feature.
Beta6 added a replace feature to be used with search. Also an
intermittently fatal bug in backward searches through huge documents was
fixed. And a non-fatal word wrap mode bug in go to end of a huge
document was fixed.
Version 1.0 added a file run with association menu item, a
modifiable title output to the print spooler, and proper size and
initial position of the position box on an 800x600 display.
V1.1 added default filespec enhancement to the Open and Run
dialog boxes. Also if the display driver sets a larger height for the
menu bar to accommodate 8514 fonts, then larger (26 pixels high) push
button menu items are shown. A non-fatal bug of line count after a huge
forward search was fixed. Finally, a powerful automatic find and
replace function was added.
V1.2 fixed a non-fatal bug in the automatic replace all command.
An icon file was included for better contrast on monochrome displays.
V1.3 fixed a fatal memory allocation bug that showed up when
operating in stressed disk swapping situations. Also the maximum number
of characters on a line is limited to 1024.
V1.4 added a file merge function to allow the insertion of a
text file anywhere into the current document. File open and file merge
can insert carriage return line feed pairs as necessary to format the
document.
V1.5 fixed a fatal local memory allocation bug that showed up if
Notebook was minimized when in word wrap mode with a file larger than 20
kilobytes loaded. Also a non-fatal global allocation bug on associative
file open in word wrap mode was fixed to allow a file of any size to be
completely read in word wrap mode.
V1.6 added word wrapped output to the print spooler, tab-stop
spacing became user selectable, and a bookmark function. Also a
non-fatal backward scroll display bug was fixed.
V1.7 added the editing of control codes, the copying of text
from the main edit window to the search or replace buffers, and the
scrolling through text fields by keystroke.
V1.8 added an extended file delete function with confirmation,
an edit select all function with the capability of huge copy, cut,
paste, delete and undo operations, and a file merge that can be undone.
Changes in the edit control code function eliminated an unshared tight
loop during the translations and allowed a keyboard escape. Also a
fatal defect in canceling printer output to a file was fixed.
V1.9 added an initial size and position feature to allow the
beginning Notebook window size and position to be user defined. A
replace all function defect that showed up with documents larger than
64K if the replace string was bigger than the find string was repaired.
A repeated find function defect of truncating the find and replace
strings to fifteen characters was also fixed.
V1.A added a File Print Selection command to allow selected text
of the document to be sent to the print spooler. The File Print All
command sends the entire document to the print spooler. The possibility
of sending two consecutive NEWFRAME type Escapes to the printer driver
which caused the printer to abort task was eliminated. A defect of
printing the page number of the last page one line too low was fixed.
V1.B added a two-sided print function to halve paper demand.
The Go To dialog box was changed from modal type to modeless which means
the dialog box stays open during main window operations. Find and
replace history was added to the Go To dialog box with new combo box
controls. A Replace push button was added to the modeless Go To dialog
box to allow continuous find and replace action by push button. A file
extension list box was added to the Open, Delete, Merge and Run dialog
boxes.
V1.C added the capability to open binary files. The memory
image is converted to text format, and file saving is disabled to
protect the binary file format. Text can be edited, sent to the
clipboard and pasted into a destination text file. Set Find, Set
Replace and Line # push buttons are added to the Go To dialog box. Set
Find and Set Replace buttons allow selected text to be copied to their
respective buffers. If no text is selected, then the buttons clear the
buffers. The Line # button clears the line number entry. The find and
replace buffers are extended to hold 63 characters each. An endless
loop defect upon go to end of file in an unlikely circumstance is fixed.
When Notebook is shown as an icon at Windows initialization, the Line
Size dialog box will not show. To avoid defects in Win30 and Win31 when
in word wrap mode, the document is unwrapped when minimized then wrapped
when restored.
V1.D added a Printer Setup dialog to allow default printer
selection from the list of installed printers. This allowed
modification of printer driver settings, too. New Line Size dialog
dimensions were added for the non-standard menu height of the Diamond
Stealth Win31 driver 1.00. The edit control is not moved when
minimized. The Win31 edit control can hold the same maximum character
count in word wrap mode as when not word wrapped. A line count defect
on page up after deleting an entire page (up to 40K) of text is fixed.
V1.E added client drag functions to allow up to ten files to be
dropped at a time. Margin dialog box header and footer check box
control status are saved in the notebook.ini file. The following
changes happened as a consequence of porting Notebook to WinNT. A
cosmetic defect that showed on restore action if Notebook was loaded at
Windows initialization in word wrap mode, is fixed. The print device
mode data structure is locked before and unlocked after printing.
V1.F added a file open history list of the last four files
opened. Page breaks can be enabled from the Margin dialog box to allow
printer form feed. The case of selected text can be set four ways.
Previously unmonitored competitive heap allocation between the edit
control and the Go To dialog box that could very infrequently lead to a
system crash is now anticipated and tolerated.
V1.G added date, time and page break insertion into the document
text. Formfeed status is saved. There is control over creating and
destroying the Go To dialog box. The window width can be set to match
the printer page width or set to a desired number of characters per
line. The edit control window is created word wrapped on request at
program init to enable immediate reception of input and eliminate
distractive scroll bar repainting. A truncate the document defect on a
huge print job is eliminated.
V1.H added accurate window width settings to match the printer
page width when the screen font is ANSI font as well as OEM font.
Contents of the replace buffer can be inserted into the document whether
or not text is selected. The Position dialog sans title bar neatly fits
on the menu bar. Opening a file upon initialization became faster.
V1.I added a small display margin next to the first column to
make reading and text selection easier. Also Overtype mode was added to
replace or "overtype" existing characters one at a time.
Notebook 1.J subclasses the main edit control for the new
Autoindent mode, the modified Overtype mode, and future expansion.
Several accelerator keys are added and others are changed. Drives are
listed separately from directories in dialog boxes. The Printer Setup
dialog is changed to Common Dialog Box with extensive changes to the
supporting code. Find and replace operations can use characters from
the extended character set.
NOTEBOOK.EXE is bundled with a help file called NOTEBOOK.HLP,
several useful icon files in a file called ICONS.ZIP, and this file
called NOTEINFO. Also included is a variable delay batch file utility
called Exit Code.
Thanks for the constructive feedback. More of your suggestions
are likely to be implemented in future versions.
Windows and Windows NT are trademarks of Microsoft Corporation.
Mark Berlinger
1317 N. San Fernando Blvd. #133
Burbank, Ca 91504