# EXIFinfo mode
# A StrongEd mode for displaying configuration files for EXIFinfo
# Author: Chris Terran
# Version: 1.20
# Date: 4 Oct 2002
#
# Thanks to Philip Ludlam for help with the syntax colouring

HelpPath	StrongHTML,

Search
	_endoftag	*"}"
	_ad	{AD}+"}"
End

# IDs are standard EXIF tags
# Done this way (rather than in SyntaxWord) to prevent spurious colouring
ID_FirstChar	{
ID_Middle	A-Za-z0-9
ID_LastChar	}

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

# Syntax colouring. Click adjust on StrongEd's tick icon, and
# set the colours for each group to your preference.


# Special tags
SyntaxWords Group1 nocase EndOfExpr _endoftag
	{!
End

# Main tags
SyntaxWords Group2 nocase EndOfExpr _endoftag
	{Main.
End

# Thumbnail tags
SyntaxWords Group3 nocase EndOfExpr _endoftag
	{Thumbnail.
End

# GPS tags
SyntaxWords Group4 nocase EndOfExpr _endoftag
	{GPS.
End

# Makernote tags
SyntaxWords Group5 nocase EndOfExpr _endoftag
	{Canon.
	{Casio.
	{Fuji.
	{Kodak.
	{Minolta.
	{Nikon.
	{NikonD.
	{Olympus.
	{Pentax.
	{Sanyo.
	{Sony.
End

# Section markers
SyntaxWords Group6 nocase StartOfLine EndOfLine
	#!section=header
	#!section=image
	#!section=footer
End

# Directives
SyntaxWords Group7 nocase StartOfLine EndOfLine
	#!exifinfotemplateversion=
	#!formatname=
	#!outputleafname=
	#!outputfiletype=
	#!outputmode=
	#!unknownstring=
	#!comment1=
	#!comment2=
	#!comment3=
	#!thumbnailfilename=
	#!thumpkeywords=
	#!user
End

# Comment
SyntaxWords Group8 nocase StartOfLine EndOfLine
	#
End

# Some shortcuts to make typing easier
Shortcuts
	``c	{Main.Model}
	``d	{DateTimeOriginal}
	``e	{ExposureTime}
	``F	{Flash}
	``f	{FNumber}
	``i	{ISOSpeedRatings}
	``w	{Main.Copyright}
	``x	{ExifImageWidth}
	``y	{ExifImageHeight}
End
