#-------------------------------------------------------------------------------
# 17-07-01 FG Changed shortcuts from '' to `` to bring them in line with other modes
#             Added shortcuts for various sections
#             Clicking Select on LoF-icon now searches Text instead of All
#             Clicking Adjust on LoF-icon now searches All
#-------------------------------------------------------------------------------

HelpPath	StrongED

Search
	section	~("end"|"#") {isalpha}+
End

# Shortcuts for the various sections inside a modefile

Shortcuts
	``fu	Functions\n	\@\nEnd
	``fe	\tKey	\@\n	Menu	\@\n	Icon	\@\n	Select	\n	Help\t
	``se	Search\n	\@\nEnd
	``sc	SyntaxComment\n	\@\nEnd
	``so	SyntaxOptions\n	\@\nEnd
	``sw	SyntaxWords\n	\@\nEnd
	``sh	Shortcuts\n	\@\nEnd
	``re	Replace\n	\@\nEnd
	``cl	ClickList\n	\@\nEnd
	``kl	KeyList\n	\@\nEnd
	``wp	WriteProtect\n	\@\nEnd
End


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

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

SyntaxOptions
	SingleQuote	No
	DoubleQuote	Yes
	QuoteQuote	No
	QuoteChar	\
	SplitString	No
End

# The sections

SyntaxWords Group1 nocase StartSpace
	ClickList Functions KeyList Replace Search Shortcuts
	ID_FirstChar ID_Middle ID_LastChar
	SyntaxWords SyntaxOptions SyntaxComment
	PrintHead PrintFoot HelpPath Bitmap End
	WriteProtect
End

# Section elements

SyntaxWords Group2 nocase StartSpace
	Key Menu Icon Help Select Adjust
	SingleQuote DoubleQuote QuoteQuote SplitString QuoteChar HexPrefix BinPrefix
	Type StartWith EndWith
End

# Options for the SyntaxWords section

SyntaxWords Group4 nocase

	EndAlways EndNonID EndOfID EndOfLine EndAsm EndSTM EndBL
	StartOfLine StartSpace
	case nocase

End

# defines the comment here for the time being,
# since real comments can't be tied to start of line only

SyntaxWords Group3 nocase StartOfLine EndOfLine
	#
End

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

Functions
	Icon	lof
	Select	ListOfFound (section,Text,Whole,Line,NoCase)
	Menu	List of sections
	Help	HSt_lof

	Adjust	ListOfFound (section,All,Whole,Line,NoCase)
End
