# Define SciTE settings for ASN.1 MIB definition files.

filter.asn1=ASN.1 (asn1)|*.mib|

file.patterns.asn1=*.mib

lexer.$(file.patterns.asn1)=asn1

# ASN.1 styles
# Default
style.asn1.0=fore:#000000
# Comment
style.asn1.1=fore:#007F00,$(font.comment)
# Identifiers
style.asn1.2=fore:#000000,bold
# Double quoted string
style.asn1.3=fore:#7F007F
# Numeric OID definition
style.asn1.4=fore:#007F7F,bold
# Non OID numbers
style.asn1.5=fore:#7F0000
# Keywords
style.asn1.6=fore:#00007F
# Attributes
style.asn1.7=fore:#F07800
# Descriptors
style.asn1.8=fore:#00007F
# Types
style.asn1.9=fore:#00007F
# Operators
style.asn1.10=fore:#222222

# Keywords
keywords.$(file.patterns.asn1)=\
ACCESS AGENT AUGMENTS \
BEGIN BITS \
CAPABILITIES CHOICE COMPLIANCE CONTACT CONVENTION \
DEFINITIONS DEFVAL DESCRIPTION DISPLAY \
END ENTERPRISE EXPORTS \
FALSE FROM \
GROUP GROUPS \
HINT \
IDENTITY IMPLIED IMPORTS INCLUDES INDEX INFO \
LAST \
MANDATORY MAX MIN MODULE \
NOTATION NOTIFICATION NULL \
OBJECTS OBJECT-TYPE OF ORGANIZATION \
PRODUCT \
RELEASE REFERENCE REQUIRES REVISION \
SEQUENCE SIZE STATUS SUPPORTS SYNTAX \
TEXTUAL TRAP TYPE TRAP-TYPE \
UPDATED \
VALUE VARIABLES VARIATION \
WRITE

# Attributes
keywords2.$(file.patterns.asn1)=\
accessible \
create current \
deprecated \
for \
mandatory \
not notify not-accessible \
obsolete only optional \
read read-only read-write \
write

# Descriptors
keywords3.$(file.patterns.asn1)=\
ABSENT ANY APPLICATION \
BIT BOOLEAN BY \
COMPONENT COMPONENTS \
DEFAULT DEFINED \
ENUMERATED EXPLICIT EXTERNAL \
IMPLICIT INIFINITY \
MAX MIN MINUS \
OPTIONAL \
PRESENT PRIVATE \
REAL \
SET \
TAGS TRUE

# Types
keywords4.$(file.patterns.asn1)=\
Counter Counter32 Counter64 \
DisplayString \
Gauge Gauge32 \
IDENTIFIER INTEGER Integer32 IpAddress \
NetworkAddress NsapAddress \
OBJECT OCTET Opaque \
PhysAddress \
STRING \
TimeTicks \
UInteger32 UNITS Unsigned32

