;-----------------------------------------------------------------------;
;									;
;	LOGIMENU File definition for TURBO-Pascal Editor		;
;	Copyright (C) 1987 LOGITECH, Inc.				;
;									;
;-----------------------------------------------------------------------;
begin leftb, middleb, rightb, mousel, mouser, mouseu, moused, 5, 10
;
;NOTE: with 2-button mouse, "middleb" means both buttons
;
leftb:		type 13		; CARRIAGE RETURN

middleb:	match 1,7,normal,"Line",editmenu,mainmenu

editmenu:	menu "TURBO EDITOR COMMANDS",4,10
		option "TOP OF FILE           ", tof
		option "END OF FILE           ", eof
		option "MARK BLOCK BEGIN      ", markbb
		option "MARK BLOCK END        ", markbe
		option "MOVE BLOCK            ", moveb
		option "HIDE/DISPLAY BLOCK    ", hidedispb
		option "DELETE BLOCK          ", delb
		option "DELETE LINE           ", delline
		option "DELETE TO END OF LINE ", deleol
		option "FIND                  ", find
		option "FIND & REPLACE        ", replace
		option "READ FROM DISC        ", read
		option "WRITE TO DISC         ", write
		option "INSERT ON/OFF         ", insert
		option "QUIT EDITOR           ", exit
		option "CANCEL                "
		mend


tof:		type 17,"r"	; CTRL Q R
eof:		type 17,"c"	; CTRL Q C

markbb:		type 11,"b"	; CTRL K B
markbe:		type 11,"k"	; CTRL K K
moveb:		type 11,"v"	; CTRL K V
hidedispb:	type 11,"h"	; CTRL K H
delb:		type 11,"y"	; CTRL K Y
delline:	type 25		; CTRL Y
deleol:		type 17,"y"	; CTRL Q Y
find:		type 17,"f"	; CTRL F
replace:	type 17,"a"	; CTRL Q A
read:		type 11,"r"	; CTRL K R
write:		type 11,"w"	; CTRL K W
insert:		type  0,82	; INS
exit:		type 11,"d"	; CTRL K D

mainmenu:	menu "      TURBO MAIN MENU       ",1,1
		option "EDIT                ",edi
		option "SAVE                ",save
		option "COMPILE             ",com
		option "RUN                 ",run
		option "WORKFILE            ",work
		option "MAINFILE            ",main
		option "CHANGE DRIVE        ",change
		option "CHANGE DIRECTORY    ",cd
		option "DIR                 ",dir
		option "COMPILER OPTIONS    ",opt
		option "QUIT TURBO          ",quit
		option "CANCEL MENU         "
          mend

edi:		type "e"
save:		type "s"
com:		type "c"
run:		type "r"
work:		type "w"
main:		type "m"
change:		type "l"
cd:		type "a"
dir:		type "d"
opt:		type "o"
quit:		type "q"

rightb:		type 11,"c"	; COPY BLOCK = CTRL K C

mousel:		type 0, 75
mouser:		type 0, 77
mouseu:		type 0, 72
moused:		type 0, 80

; end of definition file
