EditPro - the Professional Editor for Windows

EPINI.TXT
---------
EPINI.TXT is the first of three text files that contain 
information about the EditPro .INI files.

These files include:

	EPINI.TXT 	describes the EP.INI file, which
			contains general settings for EditPro.

	MENUSINI.TXT	describes the MENUS.INI file, 
			which controls the EditPro menu bar.

	TOOLSINI.TXT	describes the TOOLS.INI file, 
			which controls the assignment of
			images and commands to the buttons
			in the Icon ToolBar, Icon ToolBox,
			and Icon ToolCube.

EP.INI
------
The EP.INI file contains global parameters that EditPro
uses during startup and while EditPro is running. You can
manually edit the parameters to customize the way EditPro
operates, or use the various dialog boxes to automatically
change the values of the parameters.


Format
------
As a general rule, all of the .INI files follow the same
format:

	[Section Name]
	keyname=value

Hint: use the Show Sections command in the File menu to 
move around in large .INI files.  This will show a list
of all [Section Name] sections for that .INI file.


Default EP.INI
--------------
The following sections appear in the default EP.INI file:

	[EditPro]		contains general parameters
				for EditPro, such as text 
				color, which icon tools are
				turned on, and the location 
				of the tools.

	[Search]		contains the history log for 
				the Search command.

	[ReplaceSrch]		contains the history log for 
				the Search portion of the 
				Replace command.

	[ReplaceWith]		contains the history log for 
				the Replace With portion of 
				the Replace command.
	
	[cl]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for cl.

	[bcc]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for bcc.

	[bccx]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for bccx.

	[mc]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for mc.

	[masm]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for masm.

	[ztc]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for ztc.

	[qcl]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for qcl.

	[tpc]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for tpc.

	[ccxx]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for ccxx.

	[tpcw]			specifies the Error, Warning,
				Filename, and Line Srch
				variables entered in the 
				Compiler Setup dialog box
				for tpcw.

	[Compilers]		contains a list of the compilers
				supported.  Use the Compiler command
				in the Utility menu to setup a custom
				compiler.
	

[EditPro]
----------
Setting Font Colors - these parameters are changed in the Font
Colors dialog box.

	TxtColor=0				[defines Normal text color]		
	KeywordColor=255		[defines Keyword color]
	CommentColor=32768		[defines Comment color]
	StringColor=16711935	[defines String color]
	BackColor=16777215		[defines Background color]
	IsColorON=1				[indicates whether color 
							coding is turned on or off]


Printing Line Numbers and Headers - print headers and line 
numbers by turning on the following parameters
 
	header=1	[0=don't print headers; 1=print]
	lineno=1	[0=don't print line nos.; 1=print]


Showing the icon tools - the icon tools are built in the Icon 
Palette	Designer. The tools are turned on or off in the menu 
bar.  These parameters determine which tools are displayed.

	toolbox=0	[0=don't display toolbox; 1=display]
	toolcube=0	[0=don't display toolcube; 1=display]
	toolbar=1	[0=don't display toolbar; 1=display]


These parameters determine the X-Y coordinates where the Icon 
ToolBox and ToolCube are displayed when they are enabled.

	toolbox_x=543	[range: 0-screen]
	toolbox_y=90	[range: 0-screen]
	toolcube_x=486	[range: 0-screen]
	toolcube_y=339	[range: 0-screen]


Setting the background for dialog boxes - use the Background 
Bitmaps dialog box to change the background of dialog boxes:

	DlgBmp=default	[default bitmap=default]


Compiling files - specifies which files to use in compiling.
These are specified in the Langauage Mapping dialog box.

	Make=nmake	[run NMAKE.EXE for a build, i.e., make]
	MakeCmp=cl	[use the error/warning rules for CL.EXE]
	MakeSave=1	[if 1, save all files before running make]


Setting tab size for custom extensions - specifies the tab
size to use for files with the extension .CXX.  In this
case the tab size is set to four.

	T.CXX=4


Choosing a compiler for custom extensions - specifies the
compiler command to use for extensions not listed in the
Languages dialog box.

	C.CXX=glk %s.cxx


Specifying a user defined help file that appears in the
SDK/Quick Help dialog box.

	UsrHlp=win31wh


Filters - this parameter specifies the filters to use when 
opening a file.  The format is 'Description|extension'.

	OpenFilter=All Files (*.*)|*.*|Text Files (*.TXT)
		|*.txt|C Files (*.C)|*.c|C++ Files (*.CPP)
		|*.cpp|Pascal Files (*.PAS)|*.pas
		|Header Files (*.H)|*.h|Fortran Files (*.FOR)
		|*.for|Macro Files (*.M)
		|*.m|Assembly Files (*.ASM)
		|*.asm|Include Files (*.INC)|*.inc
		|Aldus TIFF (*.TIF)
		|*.tif|Windows/OS2 Bitmap (*.BMP)
		|*.bmp|Targa (*.TGA)|*.tga
		|ZSoft/Paintbrush (*.PCX)|*.pcx
		|CompuServe (*.GIF)|*.gif|Wordperfect (*.WPG)
		|*.wpg|Windows Metafile (*.WMF)|*.wmf
		|Multipage PCX (*.DCX)|*.dcx
		|Postscript (*.EPS)
		|*.eps|Jpeg (*.JPG)|*.jpg
		|MacIntosh Pict (*.PCT)|*.pct

Enabling Word Wrap - Word Wrap is enabled/disabled in the
Word Wrap dialog box displayed from the Edit menu.

	WordWrap=0	[0=no word wrap; 1=word wrap]


Setting the right margin - thr right margin is set in the
Word Wrap dialog box displayed from the Edit menu.
	
	Margin=70	


Using long and short names - EditPro can display full path
names or short filenames by setting the Long Names switch
in the Startup dialog box.

	LongNames=1	[0=short names; 1=long names]


Hiding EditPro - EditPro can be hidden when a Screen Capture 
command is executed by selecting the Hide on Capture command
in the Window menu.

	HideWindowOnCapture=0 	[0=don't hide EditPro; 1=hide]


Enabling the printer to wrap lines - this command allows you 
to toggle line wrapping when you print.

	prtwrap=1	[0=no line wrap; 1=line wrap]


VCS Setup - these parameters are setup in the VCS Setup dialog 
box in the Utility menu. They specify the commands executed
when you checkout, lock, and checkin files using version control
software.

	CheckOut=		[get....]
	CheckOutLock=	[get -l....]
	CheckIn=		[put...]


Save Unix style LineFeed - Unix files do not contain a CR/LF pair
for end of line but just a LF.  This setting allows you to select
whether you want to retain the LF on a save or convert it to a
CR/LF pair.

	UnixLFOnSave=	[0=convert to CR/LF]
					[1=retain only LF (default)]
					[2=prompt on save]


Maximum Line Length - This sets the max line length allowed by EditPro.  By
default it is 4K.

	MaxLineLen=		[4096 by default]
	


File Open Dialog Type Index - This sets the index into the file type
drop-down listbox starting at one.

	FOpenIdx=		[1 by default]
	

File Open Dialog Directory - This set the file open dialog box current
directory.

	FOpenDir=		[Current directory]


[Search]
--------
This section contains the last twenty search patterns in the
format:

	n='item'

For example:

	1='different'
	2='goto'
	3='stop'


[ReplaceSrch]
-------------
This section contains the last twenty search patterns used
with the replace command.  The format is:

	n='item'

For example:

	1='differnt'
	2='goo'
	3='sop'


[ReplaceWith]
-------------
This section contains the last twenty replacement patterns
in the format:

	n='item'

For example:

	1='different'
	2='goto'
	3='stop'


[cl],[bcc],[bccx],[mc],[masm],[ztc],[qcl],[tpc],
[ccxx],[tpcw],[wcc386],[wcc386p],[wcl386],[wmake]
-------------------------------------------------
The Compiler Setup dialog box allows you to autodetect
errors and warnings.

The following entries can be made for each 
compiler:

	Error		defines the search pattern to 
				detect if an error occurred.

	Warning		pattern to search for to
				determine if a waring was
				generated.

	Filename	the pattern to search for to 
				extract the file which
				contains the error or 
				warning message.

	LineNumber	the pattern EditPro uses to 
				determine the line number 
				where the error or warning
				message occurred.


For example, the default cl entry is:

	[cl]
	Error='\) : ((fatal error)|(error)) C'
	Warning='\) : warning C'
	FileName='[^\(]+'
	LineSrch='\([0-9]+\)'


[Compilers]
-----------
Listing the currently supported compilers - use
the Compiler command in the Utility menu to 
add and remove compilers from this list.

The default compilers supported are:

	1=cl
	2=bcc
	3=mc
	4=masm
	5=ztc
	6=qcl
	7=tpc
	8=ccxx
	9=tpcw
	10=bccx
	11=wcc386
	12=wcc386p
	13=wcl386
	14=wmake
	

[Macros]
----------
Preload the specified Macros on Startup - this section contains macros that
are preloaded on startup.  Enter any macros you wish preloaded in this
section.
