Files
Gen4_R-Car_Trace32/2_Trunk/demo/practice/syntaxhighlighting/textpad/peripherals.syn
2025-10-14 09:52:32 +09:00

209 lines
2.9 KiB
Plaintext

; TextPad syntax highlighting files for Lauterbach peripheral file description
;
; Lauterbach GmbH
;
; peripheral.syn version 1 + 11-09-14 10.23.40
;
; For installing the .syn file you should do the following:
; 1. Copy the .syn files to the Samples folder of your TextPad installation. (e.g. C \Program Files (x86)\TextPad 7\Samples)
; 2. Start TextPad
; 3. Select Menu Configure -> New Document Class...
; 4. Set Document class name to T32PER, Next
; 5. Set Class members to *.per, Next
; 6. Activate Enable syntax highlighting
; 7. Choose peripheral.syn from the Syntax definition file drop down list, Next and Finish.
;
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = Yes
KeyWordLength = 0
BracketChars = {[()]}
OperatorChars = +-/*&|!^<>
InitKeyWordChars = A-Za-z.
KeyWordChars = A-Za-z0-9._
PreprocStart =
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = ;
SingleCommentCol =
SingleCommentAlt = //
SingleCommentColAlt =
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
; memory access groups
[Keywords 1]
group
group.byte
group.long
group.quad
group.tbyte
group.word
hgroup
hgroup.byte
hgroup.long
hgroup.quad
hgroup.tbyte
hgroup.word
rgroup
rgroup.byte
rgroup.long
rgroup.quad
rgroup.tbyte
rgroup.word
sgroup
wgroup
wgroup.byte
wgroup.long
wgroup.quad
wgroup.tbyte
wgroup.word
; other top level commands
[Keywords 2]
autoindent
autoindent.on
autoindent.off
assert
base
button
config
elif
else
endian.be
endian.def
endian.le
endif
help
if
in
sif
tree
tree.end
tree.close
tree.open
wait
width
; commonds within groups
[Keywords 3]
ascii
bit
bitfld
bitfld.byte
bitfld.long
bitfld.word
bitlfd.quad
bitlfd.tbyte
copy
decmask
decmask.byte
decmask.byte.byte
decmask.long
decmask.long.byte
decmask.long.long
decmask.long.word
decmask.quad
decmask.quad.byte
decmask.quad.quad
decmask.quad.tbyte
decmask.quad.word
decmask.tbyte
decmask.tbyte.byte
decmask.tbyte.tbyte
decmask.tbyte.word
decmask.word
decmask.word.byte
decmask.word.word
eventfld
eventfld.byte
eventfld.long
eventfld.quad
eventfld.tbyte
eventfld.word
hexfld
hexfld.byte
hexfld.long
hexfld.quad
hexfld.tbyte
hexfld.word
hexmask
hexmask.byte
hexmask.byte.byte
hexmask.long
hexmask.long.byte
hexmask.long.long
hexmask.long.word
hexmask.quad
hexmask.quad.byte
hexmask.quad.quad
hexmask.quad.tbyte
hexmask.quad.word
hexmask.tbyte
hexmask.tbyte.byte
hexmask.tbyte.tbyte
hexmask.tbyte.word
hexmask.word
hexmask.word.byte
hexmask.word.word
hide
hide.byte
hide.long
hide.tbyte
hide.word
line
line.byte
line.long
line.quad
line.word
newline
out
rbitfld
rbitfld.byte
rbitfld.long
rbitfld.word
rbitlfd.quad
rbitlfd.tbyte
saveout
setclrfld
setclrfld.byte
setclrfld.long
setclrfld.tbyte
setclrfld.word
syscon
textfld
textline
; SGROUP sequence commands
[Keywords 5]
constx
getx
set
setx
varx
writeback
; parameters
[Keywords 6]
center
grid
left
line
proximity
right
tree
; end