#define VariableWindowsSize TRUE
#define FloatWindow TRUE
#define Ctrl_Shift_I_IndentLess TRUE
#define DefaultAutoIndent TRUE
#define ChineseSupport TRUE
#define VariableChineseMode TRUE
#define FastRepeatRate TRUE
#define MoreDosShellMemory TRUE
#define BigFileProtection TRUE
#define LongLineLock TRUE
#define EnableReadOnly TRUE

#define MaxRecordKey 100
#define horizontalScroll 32

#define ColorScheme1 TRUE

enum {
  BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LIGHTGRAY,
  DARKGRAY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA,
  YELLOW, WHITE, TRANSPARENT = 255
};

#ifdef ColorScheme1
#define normalCharForegroundColor			WHITE
#define selectedCharForegroundColor			WHITE
#define markedLineForegroundColor			WHITE
#define markedSelectedCharForegroundColor	WHITE
#define messageLineForegroundColor			WHITE
#define unsaveFileForegroundColor			YELLOW
#define readOnlyFileForegroundColor			DARKGRAY
#define unusableSelectionForegroundColor	LIGHTGRAY

#define normalCharBackgroundColor			BLUE
#define selectedCharBackgroundColor			RED
#define markedLineBackgroundColor			CYAN
#define markedSelectedCharBackgroundColor	LIGHTRED
#define messageLineBackgroundColor			GREEN
#define inputLineBackgroundColor			CYAN
#endif

#ifdef ColorScheme2
#define normalCharForegroundColor			CYAN
#define selectedCharForegroundColor			WHITE
#define markedLineForegroundColor			WHITE
#define markedSelectedCharForegroundColor	WHITE
#define messageLineForegroundColor			WHITE
#define unsaveFileForegroundColor			YELLOW
#define readOnlyFileForegroundColor			DARKGRAY
#define unusableSelectionForegroundColor	LIGHTGRAY

#define normalCharBackgroundColor			BLACK
#define selectedCharBackgroundColor			BROWN
#define markedLineBackgroundColor			CYAN
#define markedSelectedCharBackgroundColor	LIGHTRED
#define messageLineBackgroundColor			GREEN
#define inputLineBackgroundColor			CYAN
#endif

#include "keys.h--"

#define FileFunction		TRUE
#define 	FileOpen		C_O
#define 	FileName		C_N	
#define 	FileSave		C_S
#define 	Quit			A_F4
#define		QuickQuit		ESC

#define CursorFunction		TRUE
#define 	LineUp			UP
#define 	LineDown		DOWN	
#define 	CharLeft		LEFT	
#define 	CharRight		RIGHT
#define		TenCharLeft		C_LEFT
#define		TenCharRight	C_RIGHT
#define 	LineHome		HOME	
#define 	LineEnd			END		
#define 	PageUp			PAGEUP	
#define 	PageDown		PAGEDOWN
#define 	FileHome		C_HOME	
#define 	FileEnd			C_END	
#define 	GotoLine		C_G

#define EditFunction		TRUE
#define 	CharDelete		DEL			
#define 	CharDeleteBack	BACKSPACE
#define 	LineDelete		C_Y			

#define SelectionFunction	TRUE
#define 	SelectAll		C_A
#define 	SelectionCopy	C_C
#define 	SelectionPaste	C_V
#define 	SelectionCut	C_X

#define FormatFunction		TRUE
#define 	UpperCase		C_U		
#define 	LowerCase		C_L		
#define 	TrimSpace		C_T		
#define 	IndentMore		C_I		
#define 	IndentLess		S_TAB

#define SearchFunction				TRUE
#define 	SearchFind				C_F	
#define 	SearchFindNext			F3	
#define 	SearchReplace			C_H
#define		CasesensitiveToggle		F5

/* function in find and replace dialog */
#define 	SwitchCasesensitive		A_C	
#define 	SwitchWrap				A_W	
#define 	ChoiceOneByOne			F1	
#define 	ChoiceAllInFile			F2	
#define 	ChoiceAllInSelection	F3

#define MarkerFunction		TRUE
#define 	MarkerToggle	F9
#define 	MarkerNext		F4

#define OptionFunction			TRUE
#define 	SwitchInsertMode	INSERT
#define 	SetTabSize			F6		
#define 	SwitchAutoIndent	F7		
#define 	SetFileSystem		F8		
#define		SwitchChineseMode	F10
#define		DosShellSet			F2

#define MarcoFunction TRUE
#define 	KeyRecord		C_R
#define 	KeyPlayback		C_P

#define MouseFunction TRUE
#define         MouseMoveCursor TRUE

#define OtherFunction		TRUE
#define 	DosShell		C_D
#define 	Undo			C_Z
#define 	Help			F1
