The Doszip Commander version 3.18 available (Announce)
> Btw, I've noticed something new. Syntax hilighting in the editor. It seems
> that's only for asm and c for now.
Here is the doszip.txt version:
    Syntax highlighting
    -------------------
    Style codes:
    1. Attrib           A - Set background and forground color
    2. Control          O - Set color of CONTROL characters
    3. Quote            Q - Set color of quoted text
    4. Digit            D - Set color of numbers
    5. Char             C - Set color of chars
    6. String           S - Set color of string
    7. Begin            B - Set color from start of string
    8. Word             W - Set color of words
    9. Nested           N - Set color of nested strings
    The code have the following syntax:
    [<name>]
    00 = <attrib>[ <string>][ <string2>]...
    01 = ...
    Attrib: Color and character, or color (default is space (20h))
    00=A 07 FA
    Control: Color
    00=O 4X
    Quote: Color
    00=Q XB
    Digit: Color
    00=D XB
    Char: Color and char(s)
    00=C XF $%()
    String: Color and string
    00=S 4X Error
    Begin: Color and string(s)
    00=B X6 # include
    Word: Color and word(s)
    00=W X4 ax bx cx dx al bl cl dl
    01=ds es cs ss
    Nested: Color, string1 and string2
    00=N X8 /* */
    File type definition
    --------------------
    Code for syntax is located in [.\doc\style] directory, and file types
    must be defined under the section [Style] in the DZ.INI file:
    [Style]
    asm = asm.ini
    inc = asm.ini
    .ASM and .INC files will now use the file .\doc\style\asm.ini
    The editor reads the section [.] in the code file which have the
    following syntax:
    [.]
    <Id>=<section>
    [<section>]
    <code>
 
> I'm not aware how the other nc clones did it, but for me hilighter syntax
> seems a bit confusing. :)
> 
> But I think I got it. In the first part you define the hilighting
> "sections". In the second part you define the rules for those sections.
Correct, and:
The 00=default will read the section [default] in *this file
The 00=[default] will read the section [.] in the file .\default
> Well the rules are still a bit unclear. What do "B, X8, X2, XF, W, etc"
> stand for? :)
The actual code is [<type>] [<attrib>] [<text>]
attrib:
X8 = set foreground to 0x08 (keep background)
BX = set background to 0xB0 (keep foreground)
AB = set foreground to B, and background to A
Complete thread:
- The Doszip Commander version 3.18 available - nidud, 06.01.2014, 17:22 (Announce) ![Open in board view [Board]](img/board_d.gif) ![Open in mix view [Mix]](img/mix_d.gif) - The Doszip Commander version 3.18 available - Japheth, 08.01.2014, 20:12- The Doszip Commander version 3.18 available - nidud, 08.01.2014, 22:10- The Doszip Commander version 3.18 available - Japheth, 10.01.2014, 03:43- The Doszip Commander version 3.18 available - nidud, 10.01.2014, 14:25- The Doszip Commander version 3.18 available - swf, 12.01.2014, 00:02- The Doszip Commander version 3.18 available - nidud, 12.01.2014, 18:18
 
 
- The Doszip Commander version 3.18 available - swf, 12.01.2014, 00:02
 
- The Doszip Commander version 3.18 available - nidud, 10.01.2014, 14:25
 
- The Doszip Commander version 3.18 available - Japheth, 10.01.2014, 03:43
 
- The Doszip Commander version 3.18 available - nidud, 08.01.2014, 22:10
- The Doszip Commander version 3.18 available - Laaca, 12.01.2014, 16:29- The Doszip Commander version 3.18 available - nidud, 12.01.2014, 18:37
- The Doszip Commander version 3.18 available - nidud, 12.01.2014, 19:56
 
- The Doszip Commander version 3.20 available - nidud, 13.01.2014, 19:02
- The Doszip Commander version 3.21 available - nidud, 16.01.2014, 17:33
- The Doszip Commander version 3.18 available - bocke, 20.01.2014, 15:12- The Doszip Commander version 3.18 available - bocke, 31.01.2014, 01:35- The Doszip Commander version 3.18 available - nidud, 31.01.2014, 14:43- The Doszip Commander version 3.18 available - bocke, 12.02.2014, 20:35
 
 
- The Doszip Commander version 3.18 available - nidud, 31.01.2014, 14:43
 
- The Doszip Commander version 3.18 available - bocke, 31.01.2014, 01:35
 
- The Doszip Commander version 3.18 available - Japheth, 08.01.2014, 20:12
 Board view
Board view Mix view
Mix view
