home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 June
/
PCWorld_2000-06_cd.bin
/
Software
/
TemaCD
/
DOSnav
/
DN.HGL
< prev
next >
Wrap
Text File
|
1997-04-07
|
5KB
|
213 lines
; Dos Navigator Editor Syntax Highlight configuration file
; See details at the end of this file
;HGL file
;1 FILES *.1/END
;2 Macro 1/Endmacro
FILES *.HGL;
CommentStart ;
Macro 1
Print #1'FILES'#32'*.'#6^M^M'END'^M#5
End
Print #1#5#9
EndMacro
Macro 2
Print #1'Macro'#32#6^M^M'EndMacro'^M#5
End
Print #1#5#9
EndMacro
END
;Dos Navigator configuration files
FILES DN.VWR; DN.EDT; DN.MNU; DN.XRN; DN.EXT
Comment ;
END
;Assembler files
FILES *.ASM;
Comment ;
END
;Configuration files
FILES *.CFG; *.EVT; *.INI
CommentStart ;#$%
Comments_Only
END
;Batch files
FILES CONFIG.SYS;*.BAT
CommentString REM ,::,
CommentStart ::
COMMENTS_ONLY
;Basic files
FILES *.BAS
CommentString REM ,
END
;C/C++ files
;1 {}
FILES *.CPP;*.C;*.H;*.HPP
AutoBrackets Off
CommentString //
C_Comments
Macro 1
Mark 9
Print '{'^M^M
Goto 9
MoveDown
MoveDown
Print '}'
MoveUp
EndMacro
END
;Pascal files
;1 - begin/end
FILES *.PAS
Pas_Comments
Macro 1
Print 'begin'^M^M
Print 'end;'
WordLeft
MoveUp
EndMacro
END
;
; Possible keywords:
; FILES <filter>
; <Highlight option>
; ................
; <Highlight option>
; ................
; <Macro>
; ................
; <Macro>
; END
;
; Options are:
; COMMENT <Ch1>[Ch2]...[Ch5] - comment symbols for comment from
; symbol position to the end of line.
; eg(for assebler): Comment ;
; It is possible to set max 5 symbols
; in one layout
;
; COMMENTSTART <Ch1>[Ch2]...[Ch5] - comment symbols for comment from
; symbol position (start of line only) to
; the end of line.
; It is possible to set max 5 symbols
; in one layout
; COMMENTSTRING <S1>,[S2],...,[S3] - comment strings for comment from
; string position to the end of line.
; It is possible to set max 5 strings
; in one layout
; C_COMMENTS - Enable C-style comments ( /*....*/ )
; PAS_COMMENTS - Enable Pascal-style comments ( (*....*)
; and {....} )
; NB: Dos Navigator supports last two types
; of comments in one line yet.
; COMMENTS_ONLY - Highlight comments only, do not highlight
; strings, symbols and numbers.
;
;
; Macro has following structure:
;
; MACRO <Name>
; commands
; ENDMACRO
;
; Macro Commands are:
;
; Print '<String>' [repetitions] - type string <String>
; GotoXY <X>, <Y> - place cursor at X,Y (absolute)
; GotoX <X> - place cursor at horisontal pos. X (absolute)
; GotoY <Y> - place cursor at vertical pos. X (absolute)
; Mark <N> - mark current position of cursor (1..9)
; Goto <N> - go to marked position (1..9)
;
; Each following command has format <COMMAND> [repetitions]:
; SaveText
; LoadText
; SaveTextAs
; SwitchBlock
; SwitchIndent
; SwitchFill
; SwitchBack
; SwitchSave
;
; WordLeft
; WordRight
; DelWordRight
; DelWordLeft
; ScrollUp
; ScrollDn
; Center
; StartSearch
; ContSearch
; DelBackChar
; DelChar
; SwitchIns
; PgUp
; PgDn
; MoveUp
; MoveLeft
; MoveRight
; MoveDown
; BlockStart
; BlockEnd
; MarkWord
; MarkLine
; BlockRead
; BlockWrite
; BlockPrint
; IndentBlock
; UnIndentBlock
; Tab
; SpecChar
; Replace
; End
; Enter
; InsLine
; FJustify
; FCenter
; FLeft
; FRight
; LJustify
; LCenter
; LLeft
; LRight
; DeltoEOLN
; SetMargins
; CtrlHome
; CtrlEnd
; SwitchHighLight
; GotoLineNumber
; SwitchWrap
; SwitchHiLine
; SwitchHiColumn
; UpString
; LowString
; CapString
; UpBlock
; LowBlock
; CapBlock
; InsertTime
; InsertDate
; SortBlock
; CalcBlock
; CopyBlock
; MoveBlock
; HideBlock
; MoveBlockStart
; MoveBlockEnd
; InsertOn
; InsertOff
; IndentOn
; IndentOff