Format of DN.HGL: Possible blocks: FILES Specify settings for a group of files ................ ................ Specify Menu-switches for a group of files ................ ................ ................ END DEFAULT Specify default settings for all groups BELOW this block ................ ................ ................ END Options are: COMMENT [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 [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 ,[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. Highlight On|Off Switch syntax highlight Autoindent On|Off Switch auto-indent Autobrackets On|Off Switch AutoBrackets function Backunindents On|Off Switch Backspace unindents H_Line On|Off Switch Current Line Highlight H_Column On|Off Switch Current Column Highlight AutoWrap On|Off Switch AutoWrap function WrapJustify On|Off Switch Justifying on Wrap LeftMargin n \ RightMargin n > Specify format margins Paragraph n / n - decimal number. Macro has following structure: MACRO - = 1..9 commands ENDMACRO Macro Commands are: Print '' [repetitions] - type string GotoXY , - place cursor at X,Y (absolute) GotoX - place cursor at horisontal pos. X (absolute) GotoY - place cursor at vertical pos. X (absolute) Mark - mark current position of cursor (1..9) Goto - go to marked position (1..9) Each following command has format [repetitions]: SaveText - Save text of file currenly edited LoadText - Replace file in current window (interactive) SaveTextAs - Save text of file currenly edited in file with alternate name (interactive) SwitchBlock - Switch Vertical blocks state beetwen On & Off SwitchIndent - Switch Auto Indent state beetwen On & Off SwitchFill - Switch Optimal fill state beetwen On & Off SwitchBack - Switch Backspace Unindents state beetwen On & Off WordLeft - Move cursor word to the Left from the current position WordRight - Move cursor word to the Right from the current position DelWordRight - Delete next word from the current position DelWordLeft - Delete previous word from the current position ScrollUp - Scroll screen up (probably without changing cursor position) ScrollDn - Scroll screen down (probably without changing cursor position) Center - Center cursor in the editor window StartSearch - Start text search (interactive) ContSearch - Continue the search previously started DelBackChar - Delete char left DelChar - Delete char right SwitchIns - Switch insert state PgUp - Move cursor page up PgDn - Move cursor page down MoveUp - Move cursor to the up MoveLeft - Move cursor to the left MoveRight - Move cursor to the right MoveDown - Move cursor to the down BlockStart - Mark the start position of the block BlockEnd - Mark the start position of the block MarkWord - Mark word MarkLine - Mark current line BlockRead - Read block from a file (interactive) BlockWrite - Write block to a file (interactive) BlockPrint - Print block (interactive) IndentBlock - Indent block (move block one position to the right) UnIndentBlock - Indent block (move block one position to the left) Tab - Make tabulation SpecChar - Input of the special character (interactive) Replace - Start replace command (interactive) End - Move to the end of the current line Enter - Same as pressing the ENTER key InsLine - Insert line FJustify - Justify block currently marked FCenter - Center block currently marked FLeft - Format Left block currently marked FRight - Format Right block currently marked LJustify - Justify current line LCenter - Center current line LLeft - Format Left current line LRight - Format Right current line DeltoEOLN - Delete to the end of line SetMargins - Set format margins (interactive) CtrlHome - Move cursor to the top of window CtrlEnd - Move cursor to the bottom of window SwitchHighLight - Switch highlight state between On or Off GotoLineNumber - Go to line number (interactive) SwitchWrap - Switch AutoWrap state between On or Off SwitchHiLine - Switch Current Line Highlight state between On or Off SwitchHiColumn - Switch Current Column Highlight state between On or Off UpString - Convert current line to the upper case LowString - Convert current line to the lower case CapString - Captialize the current line InsertTime - Insert current time InsertDate - Insert current date SortBlock - Sort the block currently marked (for Vert. blocks only) CalcBlock - Calculate the sum of the block currently marked (for Vert. blocks only) and put it into the Clipboard. CopyBlock - Copy block currently marked MoveBlock - Move block currently marked HideBlock - Hide/Display block MoveBlockStart - Move to the start of the block currently marked MoveBlockEnd - Move to the end of the block currently marked InsertOn - Switch insert mode On InsertOff - Switch insert mode Off IndentOn - Switch indent mode On IndentOff - Switch indent mode Off