
HelpPath	Java,

#-------------------------------------------

#Search
#	include1	[_spct] "#include" _spct "<" [_spct] @0 * (@9 ".H" [_spct] ">")
#	include2	[_spct] "#include" _spct '"' [_spct] @0 * (@9 ".H" [_spct] '"')
#
#End

#ClickList
#	include1	LoadOne ("C:H.<tmp$word>")
#	include2	LoadOne ("<tmp$path>.^.H.<tmp$word>")
#End

#-------------------------------------------
ID_FirstChar	A-Za-z_
ID_Middle	A-Za-z_0-9

SyntaxOptions
	SingleQuote	Yes
	DoubleQuote	Yes
	QuoteChar	\
	QuoteQuote	No
	SplitString	Yes
	HexPrefix	0x
End

SyntaxComment 1
	Type		Multiline
	StartWith	/*
	EndWith		*/
End

SyntaxComment 2
	Type		OneLine
	StartWith	//
End

#--- Group 1: Control

SyntaxWords Group1 case
	abstract break case catch class continue default do else
	extends final finally for if implements import instanceof
	interface native new null package private protected public
	return static super switch synchronized this throw throws
	transient try void volatile while
End

#--- Group 2: Type definitions

SyntaxWords Group2 case
	boolean byte char double float int long short
End

#--- Group 3: Constants

SyntaxWords Group3 case
	false true
End

#--- Group 7: Reserved, but not used

SyntaxWords Group7 case
	byvalue cast const future generic goto inner operator
	outer rest var
End

#----------------------------------------------------------

KeyList
	^[		InsertStr("/*")
	^]		InsertStr("*/")
End

#----------------------------------------------------------

Functions

	Key	F2
	Menu	List of functions F2
	Icon	LoF
	Select	ListOfC (All,Sort)
	Help	HCM_lof

	Key 	PgUp
	Icon	up
	Select	GotoPrevC (Text)
	Help	HCM_up

	Key 	PgDown
	Icon	down
	Select	GotoNextC (Text)
	Help	HCM_dn

#	Key	^H
#	Menu	Load H.*
#	Icon	save
#	Help	HCM_ld
#	Select	SetTmp() LoadOne ("<tmp$path>.^.H.<tmp$word>","C:H.<tmp$word>")
#
#	Key	F10
#	Menu	Save & Compile      F10
#	Icon	Run
#	Select	SaveDrag ("cc")
#	Help	HCM_run
#
#	Key	^F10
#	Menu	Save & Make      ^F10
#	Icon	brick
#	Select	SetTmp() SaveDClick ("<tmp$path>.^.Makefile")
#	Help	HCM_mak

	Key	^G 1
	Menu	Goto function definition
	Icon	goto
	Select	Push GotoFoundC (all)
	Help	HCM_go

	Key	^G 2
	Select	Pop

End

Shortcuts
	w(	while (\@) {\n\i  \@\n\i}
	f(	for (\@;\@;\@) {\n\i  \@\n\i}
	s(	switch (\@) {\n\i  case\n\i}
	p(	printf("\@");
#	#<	#include <\@.h>\n\@
#	#"	#include "\@.h"\n\@
	``-     /*----------------------------------------------------------------------------*/
End
