#-------------------------------------------------------------------------------
#
#	Name    : MBBSource
#	Purpose : StrongED mode file for MBBack source files
#	Author  :  Martin Bazley
#	Licence : GNU General Public License version 3
#	Version : 1.00, 2011-05-12
#
#	Distributed with MBBack; see
#	http://www.starfighter.acornarcade.com/mysite/utilities.htm#mbback
#
#-------------------------------------------------------------------------------

Search
	BackMode	{'\-+#'}
End

SyntaxOptions
	SingleQuote	No
	DoubleQuote	No
	QuoteQuote	No
	SplitString	No
	Numbers		Off
	Functions	None
End

SyntaxComment 1
	CommentType	OneLine
	StartWhere	StartLine
	StartWith	"# "
End

# Top level
SyntaxWords Group1 StartOfLine EndOfLine nocase
	s c t u b a x y f
End

# Nested list
SyntaxWords Group2 StartOfLine EndOfExpr BackMode nocase
	+
	-
	#
End

# Configuration option
SyntaxWords Group3 EndAlways nocase
	loadall loadnone
	changefsi nochangefsi
	clipscaled fullimage
	plotmask whiteback
	pinbackdrop don'tpin
	runmbbctrl mbbackonly
	preservedata don'trepeat
	alwaysfirst randomline
	autorecurseon autorecurseoff
	showprogress silentbuild
	singletask multitask
	spriterecurseon spriterecurseoff
	wildcardson wildcardsoff
End

# Exception setting
SyntaxWords Group4 EndAlways nocase
	"s " "c " "t " "u " "b " "a " "x " "y " "f "
End

Functions
	Key	F10
	Menu	Save and run MBBack
	Icon	brick
	Select	SaveRun("/<MBBack$Dir>")
	Help	Hmsg_mbb
End

Shortcuts
	``-	# ------------------------------------------------------------------------------
End